Linux does not have rar decompression command

Source: Internet
Author: User
Tags rar

The students who use Microsoft System know the RAR decompression software, it is a commercial fee software, that in free open source Linux system How to extract the file suffix rar, I believe many students are to download RAR files to the computer locally, and then use 7-zip or winrar And so on decompression software decompression and then compressed into a zip file, and then uploaded to the server directly using unzip command to extract, hehe, I have been doing this, today to teach you, install RAR on Linux command, and then no longer so troublesome.

First, download

wget http://www.rarlab.com/rar/rarlinux-5.1.1.tar.gz//32-bit for Linux

wget http://www.rarlab.com/rar/rarlinux-x64-5.1.1.tar.gz//64-bit for Linux

Second, installation

CD/USR/LOCAL/SRC//I am accustomed to the download of the tar.gz installation package is placed in this directory;

Tar xzvf rarlinux-5.1.1.tar.gz

CD rar

Make

Third, check

Download a rar suffix on the Internet package to test it;

Parameter description:

. rar
Decompression: rar x Filename.rar//If you want to ignore the file directory within the package, just to solve the file inside the package, use the e parameter;
Compression: rar a Filename.rar DirName

This article is from the "Square Hill" blog, please be sure to keep this source http://63638790.blog.51cto.com/513514/1550573

Linux does not have rar decompression command

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.