Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just realized I can't unrar .rar files on my Ubuntu machine! :)

What's the easiest way to accomplish this fundamental task? If possible I'd love something like 7Zip that I can just right Click, and extract and have the program worry about how to do it regardless if it's a .zip, a .rar or a .foo compressed file.

Thanks!

share|improve this question
1  
This should be possible. What happens when you try? –  ændrük May 10 '11 at 14:37
1  
@Andre: I recieved an error message saying I had to install new software. So I searched and it automatically installed a plugin, now it works fine. –  Only Bolivian Here May 10 '11 at 14:52
1  
From the command line, i always 'cheat' and install the 'unp' package - its a command line script that can auto detect and properly extract most common archives, if you have the proper archive programs installed. Just wanted to mention something people often overlook. –  dr_willis May 10 '11 at 16:23
add comment

4 Answers

up vote 11 down vote accepted

Ubuntu by default uses File Roller, which supports following formats:

7-Zip Compressed File (.7z)
WinAce Compressed File (.ace)
ALZip Compressed File (.alz)
AIX Small Indexed Archive (.ar)
ARJ Compressed Archive (.arj)
Cabinet File (.cab)
UNIX CPIO Archive (.cpio)
Debian Linux Package (.deb) read-only
ISO-9660 CD Disc Image (.iso) read-only
Java Archive (.jar)
Java Enterprise archive (.ear)
Java Web Archive (.war)
LHA Archive (.lzh, .lha)
WinRAR Compressed Archive (.rar)
RAR Archived Comic Book (.cbr)
RPM Linux Package (.rpm) read-only
Stuffit Archives (.bin, .sit)
Tar Archives:
    uncompressed (.tar)
    compressed with:
        gzip (.tar.gz , .tgz)
        bzip (.tar.bz , .tbz)
        bzip2 (.tar.bz2 , .tbz2)
        compress (.tar.Z , .taz)
        lzip (.tar.lz , .tlz)
        lzop (.tar.lzo , .tzo)
        7zip (.tar.7z)
        xz (.tar.xz)
ZIP Archive (.zip)
ZIP Archived Comic Book (.cbz)
ZOO Compressed Archive File (.zoo)
Single files compressed with gzip, bzip, bzip2, compress, lzip, lzop, rzip, xz.

Keep in mind, that this is just graphical front-end, so you still need to install unrar for .rar support.

share|improve this answer
1  
Try installing the package rar or perhaps unrar, which should enable you to extract rar files. –  loevborg May 10 '11 at 16:09
    
Updated answer. –  vartec May 10 '11 at 16:34
add comment

Install unrar from the software center or by clicking here and then you can extract rar files by right-clicking on them .

share|improve this answer
add comment

From terminal you can use next command:

unrar e -r /home/work/software/myfile.rar
share|improve this answer
add comment

If you like then you can also use p7zip-full package . you can install it as

sudo apt-get install p7zip-full

The main purpose of this package is to provide 7z and 7za file archivers with high compression ratio

share|improve this answer
add comment

protected by Community Jun 4 '13 at 6:03

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.