How to open .rar file in fedora 23

13

2

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?

Black Swan

Posted 2016-05-02T23:46:17.530

Reputation: 561

1

Maybe this?...https://ask.fedoraproject.org/en/question/69533/unrar-dont-work-on-fedora-22/

– Moab – 2016-05-03T00:53:15.647

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 – 2016-05-03T13:01:58.783

@mattdm just simply no package found.... – Black Swan – 2016-05-04T00:44:09.463

Does that package exist in the repository you added? – mattdm – 2016-05-04T01:00:24.953

Sorry i dont know how to check....the existence of package – Black Swan – 2016-05-04T01:01:13.213

Answers

18

Install the unar package.

$ sudo 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.

nawfel bgh

Posted 2016-05-02T23:46:17.530

Reputation: 306

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

Simon

Posted 2016-05-02T23:46:17.530

Reputation: 31

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

majidroodi

Posted 2016-05-02T23:46:17.530

Reputation: 9

Can you explain more not just the instruction – yass – 2017-06-25T16:00:01.957