The students who use Microsoft System know the RAR decompression software, it is a commercial fee software, that in free open source Linux system How to extract the file suffix rar, I believe many students are to download RAR files to the computer locally, and then use 7-zip or winrar And so on decompression software decompression and then compressed into a zip file, and then uploaded to the server directly using unzip command to extract, hehe, I have been doing this, today to teach you, install RAR on Linux command, and then no longer so troublesome.
First, download
wget http://www.rarlab.com/rar/rarlinux-5.1.1.tar.gz//32-bit for Linux
wget http://www.rarlab.com/rar/rarlinux-x64-5.1.1.tar.gz//64-bit for Linux
Second, installation
CD/USR/LOCAL/SRC//I am accustomed to the download of the tar.gz installation package is placed in this directory;
Tar xzvf rarlinux-5.1.1.tar.gz
CD rar
Make
Third, check
Download a rar suffix on the Internet package to test it;
Parameter description:
. rar
Decompression: rar x Filename.rar//If you want to ignore the file directory within the package, just to solve the file inside the package, use the e parameter;
Compression: rar a Filename.rar DirName
This article is from the "Square Hill" blog, please be sure to keep this source http://63638790.blog.51cto.com/513514/1550573
Linux does not have rar decompression command