How to decompress and compress RAR files on Mac

Source: Internet
Author: User

Many people like Mac know that this OS does not like win on WinRAR or hao123 decompression and other similar software, for the compression and decompression of files is not convenient, after downloading RAR file package will be helpless, it is extremely embarrassing, in order to avoid this situation, self-help, clothed. Go to http://www.rarlab.com/download.htm this site to download the unpacking Kit RAROSX for Mac environments.

The following shows how to use RAR command-line operations in Mac OS X systems:

1. First download the Rar/unrar tool from the Rarlab website;

2. Unzip the downloaded tar.gz compressed package (tar xvf rarosx-5.2.0.tar.gz), automatically create a rar directory under the download directory downloads, which has the Rar/unrar file;

3. Enter Terminal (Command Window control+ space)

4. Go to the newly unzipped RAR directory and use CD Downloads/rar to enter;

5. Install the Unrar and RAR commands separately using the following command:

Install unrar command: sudo install-c-o$user unrar/bin

Install rar command: sudo install-c-o$user rar/bin

6. Test unrar and RAR commands;

Decompression command: Unrar x compressed-package.rar

Unzip the Xxx.rar compressed package, if the file name has a space, you need to use single quotation marks wrapped up as: ' xxx Xx.rar '

How to decompress and compress RAR files on Mac

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.