In Linux installation rar fou linux rar for linux software: http://www.rarsoft.com/download.htm so far the latest version is 4.10 beta 2, this is a shared version. The Linux operating system used in this article is Centos 5.6 and kernel version 2.6.18-238.12.1.el5.pony6. Select RAR 4.10 beta 1 for Linux: $ wget http://www.rarsoft.com/rar/rarlinux-4.1.b2.tar.gz for 64-bit systems, use RAR 4.10 beta 2 for Linux x64. Install with root Account: $ su-# tar-zxvf rarlinux-4.1.b2.tar.gz # cd rar # make install # exit installation process is complete. Run rar-help to view the help information. If the following information is displayed: # rar:/lib/tls/libc. so.6: version GLIBC_2.4 'not found (required by rar) # rar:/lib/tls/libc. so.6: version GLIBC_2.7 'not found (required by rar): # cp-f rar_static/usr/local/bin/rar to use the rar command. **************************************** * ***************************** Rar command usage: decompress the file: extract the package content to the current directory $ rar e File.rar and decompress the package content to the specified directory, for example, under $ rar e File.rar/tmp/Under/tmp/, compress the content of the compressed package to the specified directory, for example, under/tmp, path $ rar x File.rar/tmp/******************************** In the compressed package /***************************** **************************************** * compression: use the default compression rate to compress a specified document. For example, use SourceFile $ rar a File.rar SourceFile to compress a specified document with the maximum compression rate, for example, SourceFile $ rar a-m5 File.rar SourceFile compresses all the documents in a specified directory, for example, the $ rar a File.rar/Direcroty/# directory of all documents under the/Direcroty directory can be a relative directory or any document under the specified directory compressed by the absolute directory, for example, all documents in the/Direcroty directory and all subdirectories $ rar a-r File.rar/Direcroty/compress all documents in the specified directory, for example, all documents and all subdirectories under the/Direcroty directory, but do not contain an empty directory $ rar a-r-ed File.rar/Direcroty/to compress all documents under the specified directory, for example, the Direcroty directory under the current directory is compressed together, including the subdirectory $ rar a File.rar Direcroty /******************************** * ************************************ view the compressed package documentation in: $ rar l File.rar or $ rar v File.rar view the files in the compressed package (see only what documents are available) $ rar lb File.rar or $ rar vb File.rar view the files in the compressed package (details) $ rar lt File.rar or $ rar vt File.rar ******************************* ***************************************