How to Install WinRAR on Linux to Extract RAR Files

Posted on the 01 May 2023 by Top10

Archives have always been a convenient way to distribute software. This has led to the need for archive managers, which is why Linux distributions come with command-line utilities for working with archives, some of which are difficult for beginners.

How convenient would it be to install WinRAR on Linux, the archive manager that almost every computer user is familiar with?

But the only "natively supported" WinRAR client for Linux is a CLI application called rar. But that doesn't mean you can't use the good old graphical WinRAR on a Linux desktop. You just need to know how to do it.

Installing WinRAR CLI on Linux

Installing WinRAR CLI or RAR on Linux is quite easy. It is available in most of the official repositories of Linux distributions and you can install it using the default package manager.

On Ubuntu and other Debian-based distributions, run:

sudo apt install rar

To install RAR on Arch Linux:

sudo pacman -S rar

On Fedora, RHEL, and other RPM-based Linux distributions, enter the following command:

sudo dnf install rar

Enter "y" when prompted to confirm the installation.

Once installed, you can extract and create RAR archives by typing rar in the terminal. To get command line help related to a program, run:

man rar

Contrary to what you might think, a RAR file extractor is unrar, not rar. The unrar command is installed with rar, which is used to create archives.

The basic command to create a RAR file is:

rar a archive.rar file1 file2 file3

To extract the RAR archive, run:

unrar e /path/to/destination archive.rar

...where e stands for extract.

How to Install WinRAR GUI on Linux

WinRAR developers have not developed a GUI version of the software for Linux. As a result, there is no official WinRAR GUI package or similar.

However, there is a way to graphically use WinRAR on Linux; you will need to install Wine, the compatibility layer software used to run Windows applications on Linux.

You must be wondering if Linux can run Windows EXE files. Short answer: "Yes."

To get started, first install Wine on your Linux machine. On Ubuntu and Debian, this can be done by running:

sudo apt install wine

On Arch Linux and derivatives:

sudo pacman -S wine

You can install Wine on RHEL and Fedora with the following command:

sudo dnf install wine

Once installed, the next step is to download the WinRAR setup EXE file from the official website.

Download: WinRAR (EXE)

Select Windows as the platform and download the 64-bit version. Save the file to your preferred location and then change to that directory using the cd command:

cd Downloads

Run the WinRAR installer using Wine as follows:

wine winrar-*.exe

In the installation wizard, click Install. In the next window, select the file types that WinRAR should support, then click OK and Finish.

If the installation window is too small, type "winecfg" in the terminal and go to the "Graphics" tab. Then change the Screen Resolution value to 250. Run the installation wizard again to check if the problem persists.

Once installed, you can launch WinRAR from the application menu. The WinRAR GUI works exactly like its native Windows counterpart and is easy to use for both novice and advanced users.

To open RAR files on Linux, launch WinRAR from the application menu and select the file.

Although Linux commands such as unzip and tar are effective, they are not the most intuitive for beginners. It's hard to wrap your head around dozens of command-line arguments mapped to symbols. It is quite difficult for advanced users as well.

In such a situation, WinRAR comes to the rescue as it offers an easy to use command line program and a graphical shell (using Wine).

2778400cookie-checkHow to install WinRAR on Linux to extract RAR files no

similar

Инструкции,Программы,linux,WinRar
#Install #WinRAR #Linux #Extract #RAR #Files