Open RAR Archives in Ubuntu
[update] Added more detail about different RAR packages and Ubuntu 8.04.
Downloaded a file compressed in the RAR format and found that Archive Manager couldn’t open it? RAR support can’t be included in Ubuntu by default because it’s proprietary, but installing it is simple.
There are two options for opening RAR files in Ubuntu:
The package
unrar-free
is an open source project for opening RAR files. However, this package may not be able to handle all types of RAR archives. You need to have the Ubuntu universe repository enabled to install this package.Install unrar-free from the package unrar-free (click the link to install), or by running the command below in your terminal:
sudo apt-get install unrar-free
The package unrar is not open source, but should be able to open any RAR files you can find. This is likely the option you want. You need to have the Ubuntu multiverse repository enabled to install this package.
Install
unrar
from the package unrar (click the link to install), or by running the command below in your terminal:sudo apt-get install unrar
After either of these package are installed, RAR archives will open seamlessly in Ubuntu’s archive manager.
You may also be interested in installing support for the open source 7z archive format.
Archived Comments
dino
hi,
i recently installed the package but why is unrar in comparision to wine+winrar so slow? it takes the double time to extract a file…
any idea?
mWm
I use sudo apt-get install rar
dino
mmhh. i already installed the nonfree version… is there maybe a switch or setting for dual core support?
xnlotoc
wine+winrar will run slow because wine is running the windows apis inside of linux, that is the processor is processing both the apis and the winrar and linux
Rheboot
Someone please can help me ? i have a problem i dont know what to do for rar archive …… i type in termina sudo apt-get install rar but nothis in termina after i type(up) tell me that
\==============================LOOK=====================
newuser@newuser-desktop:~$ sudo apt-get install rar
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package rar is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package rar has no installation candidate
HELP ME PLEase
Tom
Rheboot,
The package you need is called unrar:
sudo apt-get install unrar
Kervin
Thanks!! Works!
prasad
I am also facing the same problem in installing unrar. The problem same as Rheboot, I tried to used the command sudo apt-get install unrar it is not installing unrar and give the following message….
-———–
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package unrar is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package unrar has no installation candidate
-——–
Could some one help me how to install unrar
thanks in advance
prasad
Tom
prasad:
Try enabling the multiverse repository in System->Administration->Software
Sources.
Shrinath K
You all can use 7-zip i guess… its free, open source and handles rar files among many others…
Dan
Hi. Thanks. Simple instructions - worked a treat.
irhm
thanks a lot man..
esolano
If you already enabled the multiverse repository, try updating your apt fist:
sudo apt-get update
Then install unrar:
sudo apt-get install unrar
Verma
wowww…….
i got solution to my problem only here…
thanxxxxxxxxxx a lotttt……..
Dan Jæger
Yup! “sudo apt-get install unrar” works just fine - and thanks so much
harish kumar
ya i also try this and its working fine
Thanks for this………….
Anonymous
THANKS :)
Anonymous
yes-thanks for the info. worked perfectly!
Ransford Tetteh
Thanks so much. I am new but with your steps I was able to read a .rar document
Fritz
Thank you. I downloaded a rar file/package today then installed: sudo apt-get install unrar-free. Typed in unrar to get the command/switches needed (all I needed was the e command) and the files I wanted were there. No problems. Thanks again.
Kurt Liu
thanks for the guide.
MoeJoe
When I attempt to unrar my old school work I am asked for a password (there was no password set for these files). I had no problem installing multiple rar format packages, but I am unable to access the contents of my multi-file item. anyone have any ideas?
catfish
I had the same trouble MoeJoe, and it appears that it prompts for a password when the zip or rar archive is damaged or incomplete. I found that it happened often. When I re-downloaded rars it worked fine. Perhaps try it in windows, unfortunate as that is; that’s my only advice, esp. for you own rars that you can’t just re-download. good luck!
yudo
does ubuntu 7.04 still supported ? because I can’t update my ubuntu from repositories sites
Nicholas
Thank you so much, the unrar-free worked even on Jaunty Jackalope.
nick
Thanks much for the info. haven’t installed it yet but im sure it will work. How about using wine to install winrar?
Nay
Thank you sooo much.
I was looking for a way to extract multiple files and assumed .r00 (.rXX) was a 7zip file. Decided to check for RAR support, stumbled here (after 20-30 minutes of fannying with the terminal :?) and had it installed and extracted in about a minute or two.
Thank you very much :D
Mr T
Being a real old NOOB I installed unrar free from the link and when I try extract I get just the folder created from the archive but no files. So if this is one of the files free won’t extract how do I remove free so I can install the other one?
Anonymous
thx
Leroy
Thanks!!! It worked for me. I was extracting Rar files in a couple of minutes.
Offtopic:
I recently started using Ubuntu Netbook Remix (on my new netbook) because I was
so pissed with windows 7 starter edition (not allowed to even change
wallpaper!). Been Googling for help and your website has helped me transition
quite painlessly. Thanks again!
jjp
ya it worked
shuvo
Thank u very much……………
Chris
You can also try http://www.openrarfile.com it’s an online tool for opening zip and rar files.
No software to download…works good for psp and mobile devices.
morshed
How can i open .rar file in ubuntu 9.10?
gum
but,,, this one if only we got internet connection
how about if we don’t have internet connection?
could we get the unrar-free offline?
Mbrr
Yes gum, you actually can. Just install an IDE or programming tool like Netbeans and build your own rar extractor assuming you have excellent programming skills because you MUST have internet connection to download source files anyway.
chris
Hello, I already installer unrar,the freeware and nonfree version, so then i put Desktop/ (the directory is recognize because i have my rar file there). After that I type unrar x(name of my file)…and nothing happens. I tried using thename of my file.rar (with the extention and nothing)/ Please I need some help I have the two versions and none worked.
serene
Hello I installed unrar, and it is asking me to follow this, so i went to
desktop where i have my file (Desktop/), then unrar filename (with .rar and
without it, just to try), And this message appears:
Usage: unrar - -
Please i need some help
Mexia
Really thanks for the help it worked 100% for me.
Sunny
thanks a lot. this helped. I wonder why Ubuntu has not included a rar archive handler in the OS. people at Ubuntu can easily write a code for this i guess. but none the less, the second command given here in the post has solved my prob.. :)
teslaconsulting
Thanks.
Todd
Thanks!
MaRo
thanks!!! new to ubuntu so i thought i had just lost approx. 4 hours of my time downloading something to have it sitting inert in among my files. gods bless!
ansar
installed on maverick.
sudo apt-get install unrar
Works 100%
xzin
thanks..
Mbrr
Thanks. Tried winrar in wine. too slow. This did it!
Shayari
I was always facing problem to open a .rar file .Now my problem hasbeen solved .Thank’s for this tip
Scarlett
Thanks DJ it will b of gud help 2 me…God bless u…..
Surjit
It worked smooth as a breeze.Thanx :)
Deogratius
I have tried and it worked but i cant see my extracted files!!….
HD
Thank you. :)
Tejas
Follow this..it’s good
http://www.cyberciti.biz/faq/open-rar-file-or-extract-rar-files-under-linux-or-unix/
chathu
download a program called unrar… open terminal and type sudo apt-get install
unrar…
it really works…….
saravanan
Thanks. Archive Manager is now able to “UNRAR”.
willa
thanks buddy this has been very helpful. The second option is the best I guess. Btw I am amused at how some guy replied that even without internet connection you can build your own rar extract. That was a sense of humour.
Kudos.
ahmed
Thanks dude… was useful
John
lol it works tnx man
stefan
Many thanks, you are the best
emilia
quiero descomprimir archivos rar
lluc
I can suggest PeaZip to open RAR files on Ubuntu/Debian distributions, a DEB
installer is featured on http://peazip.sourceforge.net/peazip-linux.html
(they also have RPM and TGZ installers)
deepak
I’ve tried it installing this (unrar) software from ununtu software centre but at the end it tell that “Package operation failed” this problem started occuring after installation of crossplatformui tool what should i do to handle it
Lin Rongxiang
I will see whether copying the RAR file I have downloaded over to Windows might work. I think I have got 7-zip installed in my Windows XP machine and that one probably can handle RAR files, for all I know should it work fine on Windows I will just do my work in Windows instead..
Atike
very good, worked well! thanks :D
Rahul
Or Linux version of Winrar can be used, download link:
http://www.rarlab.com/rar/rarlinux-5.0.1.tar.gz
allad
The unrar package installs the free and open source library for extracting rar files. There’s also a binary-only version (but free for use) from RAR-Labs (who created the RAR format). It has a more complete support for all features of the RAR format. It is located in Ubuntu Repositories under the package “unrar-nonfree”. To install it, just type : sudo install unrar-nonfree.