[root@flc soft]#
tar -xzvf rarlinux-x64-4.2.b2.tar.gz
rar/
rar/technote.txt
rar/order.htm
rar/acknow.txt
rar/readme.txt
rar/rar_static
rar/default.sfx
rar/license.txt
rar/rarfiles.lst
rar/whatsnew.txt
rar/makefile
rar/rar
rar/unrar
acknow.txt makefile rarfiles.lst readme.txt whatsnew.txt
default.sfx order.htm rar_static technote.txt
license.txt rar rar.txt unrar
rar/
rar/technote.txt
rar/order.htm
rar/acknow.txt
rar/readme.txt
rar/rar_static
rar/default.sfx
rar/license.txt
rar/rarfiles.lst
rar/whatsnew.txt
rar/makefile
rar/rar
rar/unrar
rar/rar.txt
[root@flc soft]# cd rar
[root@flc rar]# lsacknow.txt makefile rarfiles.lst readme.txt whatsnew.txt
default.sfx order.htm rar_static technote.txt
license.txt rar rar.txt unrar
[root@flc 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
[root@flc rar]# cp rar_static /usr/local/bin/rar
用法:
rar x contact.rar #用绝对路径来解压
rar x contact.rar ~/hehe/ #前提是hehe文件夹要存在,就是解压到当前路径的hehe目录下。
rar e contact.rar #解释是解压到当前目录下