About the unzip operation of the RAR file under Linux

Source: Internet
Author: User

Under the Linux system, there is no command to RAR file operation, if need file operation to RAR format, we need to install third party software RAR and Unrar.

1, linux rar management software Download the official address is:http://www.rarlab.com/

2, we can download and install according to the following command, here i download linux_x64 latest version of RAR software---rar 5.21 Beta 1 for Linux x64

[Email protected]5201351wget http://www.rarlab.com/rar/ rarlinux-x64-5.2.1b1.tar.gz         // download rarlinux software [[email protected]5201351tar XF rarlinux-x64-5.2. 1b1. tar. GZ                                 // decompression Rarlinux

3, after decompression we can find that there is a RAR directory, we can go into the RAR directory to the Rarlinux software into the compilation installation.

[[email protected]5201351 ~]# CD rar[[email protected]5201351   make //Compile and install the make file, you need to install the make package to

So the software is installed, in fact, this make is very interesting, we first look at the contents of the makefile file, as shown in:

From the makefile file content can be seen, actually useful only 4 files

The rar and Unrar Two executables are moved to the/usr/local/bin directory, the rarfiles.lst configuration files are moved, and the default.sfx File to the appropriate directory.

4, when we installed RAR, now to do is the RAR file compression and decompression. The common operations commands are as follows:

[[email protected]52013515201351. rar               // view action V[t[a],b] verbosely list Archive contents [Technical[all],bare] [Email protected]520135152013515201351/      // compress the 5201351 directory into 5201351.rar [[email protected]52013515201351. rar               // unzip the 5201351.rar to the current directory, or you can add the table of contents directly behind

5, for the RAR format file The most commonly used operations on the above three, as for other operations, can be in the Linux system, direct input RAR or Unrar directly after the return, there will be helpful hints.

About the unzip operation of the RAR file under 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.