Description: Linux default comes with zip compression, the maximum support 4GB compression, RAR compression ratio is greater than 4GB.
Process: Download "Install" use
--------------------------------------------------Download
# wget http://www.rarsoft.com/rar/rarlinux-x64-5.2.1b1.tar.gz
--16:01:50--http://www.rarsoft.com/rar/rarlinux-x64-5.2.1b1.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 ... OK
length:833828 (814K) [Application/x-gzip]
Saving to: ' rarlinux-x64-5.2.1b1.tar.gz '
100%[=======================================>] 833,828 34.5k/s in 29s
16:02:22 (28.2 kb/s)-' rarlinux-x64-5.2.1b1.tar.gz ' saved [833828/833828]
--------------------------------------------------View a list of directories
# ls
Rarlinux-3.9.3.tar.gz
--------------------------------------------------Decompression tar.gz
# TAR-XZVF Rarlinux-x64-5.2.1b1.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/technote.txt
Rar/rarfiles.lst
Rar/makefile
Rar/rar.txt
--------------------------------------------------View a list of directories
# ls
rar
Rarlinux-x64-5.2.1b1.tar.gz
--------------------------------------------------Switch Directories
# CD RAR
--------------------------------------------------Compiling files
# 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
--------------------------------------------------Install the compiled files
# make Install
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
--------------------------------------------------Execute RAR help command
# rar--help
RAR:/lib/libc.so.6:version ' glibc_2.7 ' not found (required by RAR)
--------------------------------------------------Add global commands
# cp-f Rar_static/usr/local/bin/rar
Cp:overwrite '/usr/local/bin/rar '? Y
The RAR command can be accessed--------------------------------------------------
# rar--help
RAR 3.93 Copyright (c) 1993-2010 Alexander Roshal 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
--------------------------------------------------unzip all files including path
# rar x Filename.rar
Transfer from http://www.cnblogs.com/mfryf/archive/2012/05/22/2513679.html
Linux rar Installation