How to install RAR in Linux

Source: Internet
Author: User
Tags rar rar extension

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.