Saturday, February 25, 2012

Minimal RAR in Fedora

Working with RAR files in Fedora is not as easy as in Ubuntu.

We can download RAR package from

# wget

Untar file and install RAR.

# tar zxvf rarlinux-4.1.1.tar.gz
# cd 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 all the above, you can use rar and unrar commands.

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