15

I am using fedora 23 64 bit. I have downloaded some .rar files.

After googling I have found solutions suggesting that using unrar they can be opened.

But I am unable to install unrar. I have tried the following steps after googling to install but failed.

Solution 1:

For free-release:

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

For nonfree-release:

su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree`/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'`

To install unrar:

Run the following command in terminal and type the password for the user, when prompted.

sudo yum install unrar

Solution 2:

# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
# rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

yum install unrar

But nothing is working. My system is up to date.

How can I open .rar files in fedora?

6
  • 1
    Maybe this?...ask.fedoraproject.org/en/question/69533/…
    – Moab
    May 3 '16 at 0:53
  • When you say it "failed" or "nothing is working", what exactly is happening? What do you expect to happen, and what is the actual result?
    – mattdm
    May 3 '16 at 13:01
  • @mattdm just simply no package found....
    – Black Swan
    May 4 '16 at 0:44
  • Does that package exist in the repository you added?
    – mattdm
    May 4 '16 at 1:00
  • Sorry i dont know how to check....the existence of package
    – Black Swan
    May 4 '16 at 1:01
20

Install the unar package.

$ dnf info unar
...
Name        : unar
Arch        : x86_64
Epoch       : 0
Version     : 1.10.1
Release     : 1.fc24
Size        : 4.6 M
Repo        : @System
From repo   : updates
Summary     : Multi-format extractor
URL         : http://unarchiver.c3.cx/commandline
License     : LGPLv2+
Description : The command-line utilities lsar and unar are capable of listing
            : and extracting files respectively in several formats including
            : RARv3. unar can serve as a free and open source replacement of
            : unrar.
$ sudo dnf install unar

The Archive Manager (gui application) will be able to open .rar files.

3

.rar is the extension used by Winrar to compress files and they are like Zip files but in a different format. Many other programs can decompress it and you should download the free 7-Zip which is amongst the best from here http://www.7-zip.org/download.html, choose your flavor of operating system in your case Fedora, install and use that to unrar your file

0

Fedora 25 Xfce:

sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install unrar
1
  • Can you explain more not just the instruction
    – yass
    Jun 25 '17 at 16:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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