Rar files with Linux

How do I extract multiple-part Rar archives with Linux ? ( rar r00 r01 r02, etc )

With the unrar command line. Unrar is open source ( exotic licence). Notice that once unrar is installed, front-ends like File-roller, Ark, Xarchiver, or Gnome and Xfce right click’s “Extract here” can extract Rar archives automatically.

$ unrar e file.rar

Do not install the “GNU unrar” it will not work on Rar3 files, use the unrar-nonfree ( Debian/Ubuntu ) , unrar from plf ( Mandriva ) packages, or the files from the author’s website ( rarlab ).   (  is this still true ? )

How do I create Rar archives with Linux ? ( thanks to Ohmster for this part )

The Rar command-line is the only way to do it. It costs about 30$ at rarlab.com. Like you probably already know, it is at the moment the de-facto standard for posting binaries.

example of use :

rar a -s -v15m ppv-erica_campbell-672 *.* ( LOL!!! )

This will create 15Mb volumes from the content of the current directory.
The file mask “*.*” will include all files ( including par2, nzb, nfo, screenshot, video sample, etc ) in the

To create a rar archive file that is broken into specified size parts, use this syntax:

rar a -v15000k hotstuff *

What this does:

  • rar to run the rar program.
  • “a” to command “Add to archive”. If the archive does not exist, it will be created.
  • -v15000k is the switch to tell rar to create archive parts no larger than 15,000Kb or 15Mb.
  • hotstuff is the name of the archive you wish to create.
  • * will tell the rar program to include all files in the current directory.

If you’re not willing to pay 30$, consider splitting the file in chunks instead since it’s the second most common way to post usenet binaries these days and it a totally accepted usage.

Please drop a comment if you have a question or new software to plug !


3 thoughts on “Rar files with Linux

Leave a Reply to Johnny Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>