wget http://www.rarsoft.com/rar/rarlinux-3.9.3.tar.gz
tar -xvf rarlinux-3.9.3.tar.gz
cd 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
運行命令rar時,出現(xiàn)下面這個問題
rar: /lib/i686/nosegneg/libc.so.6: version `GLIBC_2.7' not found (required by rar)
解決辦法:
cp rar_static /usr/local/bin/rar
rar x vpsyou.rar
rar vpsyou.rar ./vpsyou.com/
發(fā)表評論