Open .rar files in Ubuntu

I hate .rar file but just can’t seem to get away with it. Rar in Windows never made me happy, and today I had to open a .rar file in Ubuntu. I was not a happy guy . The archive manager in Ubuntu had served me well to open any archive extension but it finally gave up on .rar. So, I installed Ark, hoping this would take care of the problem. After opening the file in Ark, it announced that I did not have unrar-free in my PATH – what ever it might be. So I searched a little bit on google and found the solution and compile it below.

I just added a section on how to open .rar files with Password in Ubuntu because there are so many searches concerning this. (what are you people doing that needs to have password everywhere?)

Just another update. Turns out, I can join different parts of .rar files together through using these packages. Pretty nice. Follow the instruction below.

I need to install the unrar package available in Synaptic packages.

Method 1: Terminal

This is the easiest and quickest for me.

  1. Open Terminal: Application -> Accessories -> Terminal
  2. Type in
  3. sudo apt-get install unrar

  4. Type in your password (nothing will appear when you enter your pass, only after you hit enter)
  5. Hit Enter
  6. Done. You now can open and extract .rar files by double clicking on the .rar file and then choose extract.

Method 2: Graphic

This is the longer way. Make sure you enable Multiverse repositories through synaptic.

  1. Open Synaptic by selecting System -> Administrator -> Synaptic Package Manager
  2. Enter your admin password when requested
  3. When Synaptic window is launched, hit Ctrl-F, or click on the binocular icon to search
  4. Search for unrar
  5. Mark installation on unrar or unrar-free or both.
  6. Wait for installations and then you can close synaptic and open any .rar files.

Enable Multiverse Repositories

  1. Open Synaptic by selecting System -> Administrator -> Synaptic Package Manager
  2. Enter your admin password when requested
  3. When Synaptic window is launched, on the menu bar, chose Settings -> Repositories
  4. Check Software restricted by copyright and legal issues (multiverse)
  5. Click Reload. You have to reload for the repositories to update.

And you have enabled Multivese Repositories. In my experience, it’s best to enable everything there is in the Repositories window just in case you need something latter and never have to enable anything again.

Happy Unrar.

Advertisements