Home » How to Install UNRAR on Fedora 35/34/33/32

How to Install UNRAR on Fedora 35/34/33/32

RAR files are very common on the internet, that’s why many novice users wonder how to handle them in a distribution like Fedora. That’s why we’ve prepared this post, so you can install UNRAR on Fedora. This post will work for Fedora 35 / 34 / 33 / 32

What is UNRAR?

The UniquE RAR archive library is a platform-independent, small and fast static library for decompressing RAR archives (RAR archives are created with WinRAR).

It should be noted that Unrar is free software and released under GPL. This application has been created due to the implementation of the RAR3 format by RARLAB in its WinRAR archives. The unrarlib library only supports RAR and RAR2.1.

Thanks to UNRAR, we can decompress RAR archives, which are compressed files that have a better compression rate than ZIP and are very popular on the internet.

So for the daily use of an average user, installing UNRAR is vital. And today we are going for it.

Install UNRAR on Fedora

Although Fedora’s repositories are among the most important in all of Linux, they do not include UNRAR. So for a new user to Fedora and stumble upon this situation, and it could be a problem.

So, we have to install it.

First open a terminal, and before you start, update the system:

sudo dnf update

The unrar package in Fedora can be installed via the RPM Fusion repositories. These repositories contain many packages that are not in Fedora by default.

So add the RPM fusion repository by running these commands

sudo dnf install https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-9.noarch.rpm
sudo dnf install https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-9.noarch.rpm

Thereafter, you can install UNRAR with the command

sudo dnf install unrar
Install unrar on Fedora
Install unrar on Fedora

Then, verify the installed version with the following command

unrar --version
unrar-free 0.1.1

Basic usage of the unrar command

Unrar is easy to use. If you want to extract an archive, just run this command.

unrar e [rar-file]

Remember that you can use relative paths or absolute paths to specify the rar file.

Another essential utility is to verify the integrity of the rar archive. In this sense, you have to use the following command.

unrar t [rar-file]

It’s as simple as this.

Uninstall UNRAR in Fedora

To uninstall UNRAR from Fedora we don’t have to do much, we just need to run the following command

sudo dnf remove unrar

That’s how quickly you can remove it from the system.

Conclusion

RAR files are the most popular of all compression formats. So, it is normal that many users need a tool to decompress them. In this sense, the UNRAR library is almost the standard on Linux, but in Fedora, the installation process as you have seen today is a bit different.

I hope you liked this post, and you can share it.

Leave a Comment

Your email address will not be published.