Decompress RAR compressed files in Linux
Operating System: centos 5.4 final
Software: rarlinux-3.9.3.tar.gz
Installation steps:
Download RAR 3.93 for Linux from http://www.rarsoft.com/download.htm,
Is http://www.rarsoft.com/rar_CN/rarlinux-3.9.3.tar.gz
[Root @ centos opt] # tar zxvf rarlinux-3.9.1.tar.gz
RAR/
RAR/readme.txt
RAR/Default. SFX
RAR/whatsnew.txt
RAR/license.txt
RAR/order.htm
RAR/RAR
RAR/unrar
RAR/rar_static
RAR/tete.txt
RAR/rarfiles. lst
RAR/makefile
RAR/rar.txt
Go to the directory to install
[Root @ centos soft] # cd RAR
[Root @ centos 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
Installed successfully
The following error occurs when you run the RAR command:
[Root @ localhost RAR] # RAR
RAR:/lib/libc. so.6: Version 'glibc _ 100' not found (required by RAR)
Solution
[Root @ localhost RAR] # cp rar_static/usr/local/bin/RAR
CP: overwrite "/usr/local/bin/RAR "? Yes
The RAR command is successfully executed, and the RAR compressed file can be directly decompressed on the graphic interface.