Today encountered in the Linux server to extract a few RAR files problem, RAR seems to be win exclusive compression format, so the Linux native tool chain does not support RAR decompression tools. After a series of search to determine a foot linuxrar software, but this software is not free, need to purchase a certificate. But the surprise is downloaded from the official web Linuxrar compressed package with a free software unrar, it is a conscience!
wget http://www.rarsoft.com/rar/rarlinux-5.2.1.tar.gztar zxvf rarlinux-5.2. 1 . TAR.GZCD Rarmakemake Install
Both RAR and Unrar can be used later.
Note that when using Unrar decompression, if you want to extract to a directory, then this directory must be pre-existing
mkdir uncompressedunrar e t.rar. /uncompressed
Reference: http://nameyjj.blog.51cto.com/788669/477692
Linuxrar:http://www.rarsoft.com/download.htm
Extracting RAR files under Linux