首页 > 代码库 > Linux rar

Linux rar


http://www.vpsyou.com/2010/06/15/to-extract-rar-centos.html
wget http://www.rarsoft.com/rar/rarlinux-3.9.3.tar.gz tar -xvf rarlinux-3.9.3.tar.gz cd rar make

看见下面这些信息就是安装成功了

12345
mkdir -p /usr/local/binmkdir -p /usr/local/libcp rar unrar /usr/local/bincp rarfiles.lst /etccp default.sfx /usr/local/lib

但是在运行命令rar时,出现下面这个问题,
rar: /lib/i686/nosegneg/libc.so.6: version `GLIBC_2.7‘ not found (required by rar)
解决办法:

1
cp rar_static /usr/local/bin/rar

先记住两个常用命令吧:

12
rar x vpsyou.rar  //解压 vpsyou.rar 到当前目录rar vpsyou.rar ./vpsyou.com/   //将 vpsyou.com 目录打包为 vpsyou.rar

Linux rar