search
top

Opening rar Files in Fedora and Ubuntu

There are many different file compression tools out there, one of them is RAR which is being used more frequently as of late. To open a rar compressed file you will need to install unrar. This is not installed by default and for Fedora but is available via RPMFusion. For Ubuntu nothing extra is needed.

Fedora 17/18/19 Installation

First let’s add the rpmfusion repository to our installation. Open a terminal session and add the free and non-free rpmfusion repositories.

$ su -c ‘yum localinstall –nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm’

$ sudo yum update

Now we can install unrar.

$ sudo yum install unrar
$ sudo yum install unrar
Loaded plugins: langpacks, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package unrar.x86_64 0:4.2.4-4.fc19 will be installed
--> Finished Dependency Resolution

Dependencies Resolved
=============================================================================================================================
 Package               Arch                   Version                 Repository                  Size
=============================================================================================================================
Installing:
 unrar                 x86_64                 4.2.4-4.fc19         rpmfusion-nonfree-updates      115 k
Transaction Summary
=============================================================================================================================
Install  1 Package

That’s all you need for Fedora.

Ubuntu 13.04 / 13.10 Installation

The unrar package is part of the multiverse repository for Ubuntu which should be enabled. Installation is simple.

$ sudo apt-get install unrar

That’s all there is to it. You should now be able to open rar files!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

top