Under the Windows platform compressed into the RAR file, how to decompress under the Linux platform, Linux platform by default is not supported by RAR file decompression, need to install the Linux version of RAR compression software, for:/http Www.rarlab.com/download.htm Currently the latest version is 5.3. After the download, after the decompression, into the RAR directory,
One. Run the make command to install the installation process as follows:
Second, manual operation such as make installation.
[[email protected] rar]# make
Mkdir-p/usr/local/bin
Mkdir-p/usr/local/lib
CP rar Unrar/usr/local/bin
CP Rarfiles.lst/etc
CP Default.sfx/usr/local/lib
After the installation is complete, the following error occurs when running the RAR command:
[[email protected] rar]# rar
RAR:/lib/libc.so.6:version ' glibc_2.7 not found (required by RAR)
In fact, not the glibc version of the problem, do the following to solve the problem:
CP Rar_static/usr/local/bin/rar
At this point, the RAR command runs without errors.
RAR e Aa.rar The Aa.rar compressed files to the current directory, the AA file contains all the directories are not.
RAR x Aa.rar will extract the Aa.rar compressed files into the AA directory and keep the directory organization structure of the AA files before compressing them.
This article is from the "AAC" blog, so be sure to keep this source http://xcxxiao.blog.51cto.com/383349/1697306
How to extract RAR files under Linux