After purchasing vps, some friends migrated from the original win host and backed up the packaged data in rar format. how can they decompress the package in centos? Goole, find the solution: 1234 wgethttp: // www.rarsoft.com/rar/rarlinux-3.9.3.tar.gz
After purchasing vps, some friends migrated from the original win host and backed up the packaged data in rar format. how can they decompress the package in centos?
Goole: find the solution:
1234 |
wget http://www.rarsoft.com/rar/rarlinux-3.9.3.tar.gz tar -xvf rarlinux-3.9.3.tar.gz cd rar make |
The following information indicates that the installation is successful.
12345 |
mkdir -p /usr/local/binmkdir -p /usr/local/libcp rar unrar /usr/local/bincp rarfiles.lst /etccp default.sfx /usr/local/lib |
However, when running the command rar, the following problem occurs,
rar: /lib/i686/nosegneg/libc.so.6: version `GLIBC_2.7' not found (required by rar)
Solution:
1 |
cp rar_static /usr/local/bin/rar |
Remember two common commands:
12 |
Rar x vpsyou.rar // decompress vpsyou.rar to the current directory. rar vpsyou.rar./vpsyou.com // package the vpsyou.com directory into vpsyou.rar |