Under Windows WinRAR almost unified compression software market share, winrar only rar in the Windows environment of the graphical interface only, the core function or RAR, then how to install RAR in Linux?
1. Download rar
: Http://www.rarsoft.com/download.htm, currently the latest version is 5.0.1.
Download using wget (32-bit system):
wget http://www.rarsoft.com/rar/rarlinux-5.0.1.tar.gz
If 64 is the system then:
wget http://www.rarsoft.com/rar/rarlinux-x64-5.0.1.tar.gz
2. Installation rar
32-bit system:
TAR-ZXF RARLINUX-5.0.1.TAR.GZCD Rarmake
64-bit system:
TAR-ZXF RARLINUX-X64-5.0.1.TAR.GZCD Rarmake
3. Simple usage
After the installation has been RAR and unrar the two programs, RAR is a compression program, Unrar is the decompression program. They have a number of options, for example, to illustrate their usage.
RAR a All *.jpg
The command is to compress all. jpg files into a RAR package named All.rar, which will automatically append the. rar extension to the package name.
Unrar e All.rar
The command is to extract all the files in the All.rar.
4. Install Unrar via rpm
RAR software under Linux is not open source, the above is installed in its trial version. In fact, the Unrar software can be easily installed in the CentOS system via RPM. Enables the system to support RAR file decompression.
: http://pkgs.repoforge.org/unrar/, currently the latest version is 4.2.3.
Installing Unrar under CentOS 5.x 32-bit
wget HTTP://PKGS.REPOFORGE.ORG/UNRAR/UNRAR-4.2.3-1.EL5.RF.I386.RPMRPM-IVH unrar-4.2.3-1.el5.rf.i386.rpm
Installing Unrar under CentOS 5.x 64-bit
wget HTTP://PKGS.REPOFORGE.ORG/UNRAR/UNRAR-4.2.3-1.EL5.RF.X86_64.RPMRPM-IVH unrar-4.2.3-1.el5.rf.x86_64.rpm
Installing Unrar under CentOS 6.x 32-bit
wget HTTP://PKGS.REPOFORGE.ORG/UNRAR/UNRAR-4.2.3-1.EL6.RF.I686.RPMRPM-IVH unrar-4.2.3-1.el6.rf.i686.rpm
Installing Unrar under CentOS 6.x 64-bit
wget HTTP://PKGS.REPOFORGE.ORG/UNRAR/UNRAR-4.2.3-1.EL6.RF.X86_64.RPMRPM-IVH unrar-4.2.3-1.el6.rf.x86_64.rpm
Reprint Please specify: How to install RAR in the ice»linux
How to install RAR in Linux