Support RAR decompression for Centos
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 _ 000000' 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