Wednesday, January 26, 2011

Minimal RAR in Ubuntu

RAR is a common file format used for files distributed through the Net. Here's how to install it in Ubuntu.

$ sudo apt-get install rar

Creating an archive:

$ rar a archivename.rar files...

Add as many files & directories as you want.

Creating an archive with password:

$ rar a -ppassword archivename.rar files...

There is no space between -p and the password itself.

To extract, click on the right-mouse-button and use Archive Manager to extract.

Of course, for more advanced uses, refer to the RAR in Ubuntu Manual.

No comments:

Post a Comment