Description: Linux default comes with zip compression, the maximum support 4GB compression, RAR compression ratio is greater than 4GB.
Process: Download "Install" use
--------------------------------------------------Download
| 1234567891011 |
# 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 (814K) [application/x-gzip] Saving to: `rarlinux-3.9.3.tar.gz‘ 100%[=======================================>] 833,828 34.5K/sin 29s 16:02:22 (28.2 KB/s) - `rarlinux-3.9.3.tar.gz‘ saved [833828/833828] |
--------------------------------------------------Decompression tar.gz
| 12345678910111213141516 |
# ls rarlinux-3.9.3.tar.gz # tar -xzvf rarlinux-3.9.3.tar.gz rar/ rar/readme.txt rar/default.sfx rar/whatsnew.txt rar/license.txt rar/order.htm rar/rarrar/unrarrar/rar_staticrar/technote.txt rar/rarfiles.lst rar/makefilerar/rar.txt |
--------------------------------------------------Compiling files
| 12345678910 |
# ls rar rarlinux-3.9.3. tar .gz # cd 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 |
--------------------------------------------------Install the compiled files
| 123456 |
# make install mkdir-p /usr/local/binmkdir -p /usr/local/libcp rar unrar /usr/local/bincp rarfiles.lst /etccpdefault.sfx /usr/local/lib |
--------------------------------------------------Execute RAR help command
| 12 |
# rar --help rar: /lib/libc.so.6: version `GLIBC_2.7‘ not found (required by rar) |
--------------------------------------------------Add global commands
| 12 |
# cp -f rar_static /usr/local/bin/rar cp: overwrite `/usr/local/bin/rar‘? y |
The RAR command can be accessed--------------------------------------------------
| 123456789 |
# 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 |
--------------------------------------------------unzip all files including path
From for notes (Wiz)
Linux RAR Installation and use