Join .rar Files in Ubuntu

Ok, after reading several comments, I realize the problem is when you try to join .rar files, archive manager automatically requires a password even though there is no password when the file was separated. I found the solution for this, there are two ways, using terminal (rar command) or Wine (install winrar).

Using Terminal

Using terminal is more complicated but faster. I do not recommend this to inexperienced users or ones who do not feel comfortable with command lines.

Using Wine

Wine acts like a Windows emulator that allows you to install and run Windows applications. Using Winrar in Wine has the benefit of graphical interface and also the full functionality of Winrar. I strongly recommend this if you work with .rar files extensively.

Using Terminal

  1. Open terminal: Ctrl+Shift+T or Applications -> Accessories -> Terminal
  2. Install rar command

    sudo apt-get install rar

  3. Enter your password.
  4. To join parts of .rar files, use the command below.

    rar e filename.rar

    For example, if I wants to join zenwalk-5.0.part1.rar, I would enter

    rar e zenwalk-5.0.part1.rar

    The output looks like this

  5. To see more options associate with rar command

    rar -?

There you go, happy unrar.

Using Wine

Install Wine

  1. Open terminal: Ctrl+Alt+T or Applications -> Accessories -> Terminal
  2. Install Wine

    sudo apt-get install wine

  3. Enter your password. After that wine is installed.

Wine will now be the default application to execute .exe and other windows files.

Install Winrar

  1. Download Winrar here at cnet.com or just google it yourself.
  2. Double-click on the file you downloaded or Right-click and select Open with “Wine Windows Program Loader.”
  3. A window will pop up and guide you through the installation, just like in windows.
  4. In the future, you can now manipulate .rar files just like in windows.

I hope this help some of you guys out there. Leave a comment if this works for you. Please…

Advertisements

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.