Get a free quote now

How to unrar and combine multiple RAR files in Ubuntu

July 14, 2009 - 02:18
Rar used to be a favorite compression format when the compressed files were to be split into multiple pieces to fit into legacy external storage devices like Floppy, Zip disk, CD etc. WinRAR is a popular GUI application that can rar and unrar files in the rar format. If however you come across rar files that are split into multiple parts then you can extract and combine them as follows

unrar x -e file.part1.rar

The other parts have to be in the same folder. The unrar utility will find these other parts and then use them to extract the original file from the split archive.

If the rar and unrar utilities are not present in your system you can install them by running

sudo apt-get install rar unrar

Happy Unraring :-)

Post your comments / questions


Sometimes it's 'part01.rar' and not 'part1.rar'. Thanks for this guide!



Today when I tried to extract by "Right-Click --> Extract here", it did not work but fortunately I done it in the way you said!

Thank you very much!

GREAT!!! thanx a bunch

I followed the commands and the parts apparently combined and
a shorter file name formed without the part1, part2, part3.
But there is no result outside of the terminal?

like a charm.. even -e switch isn't listed in the man page.. For Ubuntu you need to have multiverse repository enabled to install this package.
Thank you!