Unzip the rar compressed package with a password in linux

Source: Internet
Author: User
Unzip the rar compressed package with a password in linux-general Linux technology-Linux technology and application information. For details, see the following. A rarfile is packed on another machine. To keep it confidential, a password is added during compression. What I cannot think of is that when I want to decompress this package on my machine, there is always an error.

After searching online, we found that we can decompress the package using the following methods:
System: Kubuntu 7.10 Gusty
Install unrar in advance:
Yuanjin @ Liang :~ /Desktop $ sudo apt-get install unrar
After installation, switch konsole to the directory where the rarfile is located, and then run the unzip command.
For example, I want to decompress the password-based compressed package named lanlan.rar under the topic.
Run the following command:
Yuanjin @ Liang :~ /Desktop $ unrar e-p lanlan.rar
The following content is displayed:
Enter password (will not be echoed ):
Enter the password and press Enter:
Reenter password:
Enter the password again and press Enter:

UNRAR 3.70 beta 3 freeware Copyright (c) 1993-2007 Alexander Roshal

Extracting from lanlan.rar

Extracting rotating IMGP3230.JPG OK
Extracting pic00260.jpg OK
Extracting pic00262.jpg OK
Extracting pic00261.jpg OK
Extracting pic00263.jpg OK
Extracting Thumbs. db OK
All OK

At this point, the file is decompressed smoothly.

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.