Linux RAR installation and usage Description: Linux default built-in ZIP compression, supports a maximum of 4 GB compression, RAR compression ratio is greater than 4 GB. process: Download, install, use -------------------------------------------------- download # wget http://www.rarsoft.com/rar_CN/rarlinux-3.9.3.tar.gz -- 16:01:50 -- http://www.rarsoft.com/rar_CN/rarlinux-3.9.3.tar.gz Resolving www.rarsoft.com... 217.70.129.242 Connecting to www.rarsoft.com | 217.70.129.242 |: 80... connected. HTTP request sent, awaiting response... 200 OK Length: 833828 (814 K) [application/x-gzip] Saving: 'arlinux-3.9.3.tar.gz '100% [====================================== ==>] 833,828 34.5 K/s in 29 s 16:02:22 (28.2 KB/s) -'arlinux-3.9.3.tar.gz 'saved [833828/833828] # ls rarlinux-3.9.3.tar.gz # ls rarlinux-3.9.3.tar ------------------------------------------------ unzip tar.gz # tar-xzvf. Gz rar/readme.txt rar/default. sfx rar/whatsnew.txt rar/license.txt rar/order.htm rar/unrar rar/rar_static rar/tete.txt rar/rarfiles. lst rar/makefile rar/rar.txt folder view directory list # ls rar rarlinux-3.9.3.tar.gz ---------------------------------------------------- switch directory # cd rar folder compile file # make mkdi R-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 ------------------------------------------------ install the compilation file # make install mkdir-p/usr/local/bin mkdir-p/usr/local/lib cp rar/usr/local/ bin cp rarfiles. lst/etc cp default. sfx/usr/local/lib ---------------------------------------------------- run the rar help command # rar -- help rar :/Lib/libc. so.6: version 'glibc _ 000000' not found (required by rar) -------------------------------------------------- add global command # cp-f rar_static/usr/local/bin/rar cp: overwrite '/usr/local/bin/rar '? Y ---------------------------------------------- you can access the rar command # rar -- help RAR 3.93 Copyright (c) 1993-2010 Alexander Roshal 15 Mar 2010 Shareware version Type RAR -? For help Usage: rar <command>-<switch 1>-<switch N> <archive> <files...> <@ listfiles...> <path_to_extract \> <Commands> x Extract files with full path ---------------------------------------------------- decompress all files including path # rar x filename.rar