Linux platform is not supported by default RAR file decompression, need to install the Linux version of RAR compression software, for: http://www.rarlab.com/download.htm
After the download, unzip, go to the RAR directory, run the make command to install:
[Plain]View PlainCopy
- [[email protected] rar]# ls
- Acknow.txt license.txt order.htm rarfiles.lst rar.txt Unrar
- DEFAULT.SFX makefile rar rar_static Readme.txt Whatsnew.txt
- [[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
Then perform RAR verification if the installation is successful.
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.
If the compressed file contains a password, you will be prompted to enter the password after the extract command is executed.
Original: http://blog.csdn.net/scorpio3k/article/details/49006603
Extracting RAR files from Linux