How to extract RAR files under Linux

Source: Internet
Author: User
Tags rar

Under the Windows platform compressed into the RAR file, how to decompress under the Linux platform, Linux platform by default is not supported by RAR file decompression, need to install the Linux version of RAR compression software, for:/http Www.rarlab.com/download.htm Currently the latest version is 5.3. After the download, after the decompression, into the RAR directory,

One. Run the make command to install the installation process as follows:

Second, manual operation such as make installation.

[[email protected] rar]# make

Mkdir-p/usr/local/bin
Mkdir-p/usr/local/lib
CP rar Unrar/usr/local/bin
CP Rarfiles.lst/etc
CP Default.sfx/usr/local/lib

After the installation is complete, the following error occurs when running the RAR command:

[[email protected] rar]# rar
RAR:/lib/libc.so.6:version ' glibc_2.7 not found (required by RAR)

In fact, not the glibc version of the problem, do the following to solve the problem:

CP Rar_static/usr/local/bin/rar

At this point, the RAR command runs without errors.

RAR e Aa.rar The Aa.rar compressed files to the current directory, the AA file contains all the directories are not.

RAR x Aa.rar will extract the Aa.rar compressed files into the AA directory and keep the directory organization structure of the AA files before compressing them.


This article is from the "AAC" blog, so be sure to keep this source http://xcxxiao.blog.51cto.com/383349/1697306

How to extract RAR files under Linux

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.