CentOS install Unrar and unzip the RAR compression pack

Source: Internet
Author: User
Tags pack rar centos server

Under Windows RAR is a common compressed file format, many friends will be packaged into a RAR file into the CentOS server but do not know how to extract.

There have been a lot of customers consulting how to extract the RAR under the CentOS compressed files, so I sorted out, GU has this article.

To extract the RAR file, you need to install a software named Unrar on the CentOS. All versions of the software download the address: http://pkgs.repoforge.org/unrar/.

Let's say how to install Unrar.

Centos 5 32-bit installation

wget http://pkgs.repoforge.org/unrar/unrar-4.2.3-1.el5.rf.i386.rpm
RPM-IVH unrar-4.2.3-1.el5.rf.i386.rpm

Centos 5 64-bit installation

wget http://pkgs.repoforge.org/unrar/unrar-4.2.3-1.el5.rf.x86_64.rpm
RPM-IVH unrar-4.2.3-1.el5.rf.x86_64.rpm

Centos 6 32-bit installation


wget http://pkgs.repoforge.org/unrar/unrar-4.2.3-1.el6.rf.i686.rpm
RPM-IVH unrar-4.2.3-1.el6.rf.i686.rpm

Centos 6 64-bit installation


wget http://pkgs.repoforge.org/unrar/unrar-4.2.3-1.el6.rf.x86_64.rpm
RPM-IVH unrar-4.2.3-1.el6.rf.x86_64.rpm

How to extract a rar file using Unrar


Use the-? parameter to view Help information, the x parameter is used to extract the file, the T parameter is used to test for damage, and the L parameter is used to list files.

Unrar-? <== Get Help

Unrar x <== Extract Files

Unrar T <== test file

Unrar L <== List files

These basic usages can already satisfy the daily application. Original reprint of this site annotated source http://www.111cn.net

Related Article

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.