根据系统的情况下载rarlinux
x64版本
wget http://www.rarlab.com/rar/rarlinux-x64-4.2.0.tar.gz
x86版本
wget http://www.rarlab.com/rar/rarlinux-4.2.0.tar.gz
解压:
tar zxvf rarlinux-x64-4.2.0.tar.gz
移动rar到/usr/local/rar目录
mv rar /usr/local/rar
进入/usr/local/rar目录
cd /usr/local/rar
make
查看相关的命令
rar -help
unrar -help