http://will0690.blog.163.com/blog/static/45668020112297565680/
到http://www.rarlab.com/download.htm下载RAR 4.00 beta 2 for Linux
解压缩,运行终端,进入解压缩的目录命令行运行:sudo make install
建立软链接:sudo ln -s /usr/local/bin/rar /usr/bin
http://www.docin.com/p-210500348.html
将file压缩到file.rar的压缩命令:rar a file.rar file
文件会被压缩到终端所在目录。