You can Install popular archive Manager WinRAR on Linux

Configurare noua (How To)

Situatie

Solutie

How to Install WinRAR on Linux

To install WinRAR on Linux, first install Wine using your default package manager. Once that’s done, download the Windows WinRAR installer and run it using Wine. After that, you’ll be all set to use the WinRAR GUI to extract RAR and compress files on your Linux system.

Let’s begin by installing Wine on your Linux system. To install Wine on Ubuntu or Debian-based systems, run:

sudo apt install wine

To get Wine on RHEL and Fedora, run this command:

sudo dnf install wine

To install Wine on Arch Linux and its derivatives, use pacman:

sudo pacman -S wine

After installing Wine, proceed to download the WinRAR executable file. Ensure that you select the Windows platform and the 64-bit version for optimal performance.

downloading WinRAR 64-bit version of windows from the official download page

Next, head over to the directory where you saved the file using the cd command:

cd Downloads

Finally, you can install WinRAR and start the Wine installation wizard using:

wine winrar-*.exe

If you found the installation wizard too small, change the Wine resolution to 100-200 DPI. This will make it bigger and clearer. To do this, simply type winecfg in the terminal and head over to the “Graphics” tab. Then, change the screen resolution value to your preferred resolution.

Now, click on the “Install” option and select the file types that you want WinRAR to handle. After selecting your preferred settings, click “OK” and then “Done” to finish the WinRAR installation.

WinRAR wine installation setup with different settings related to file formats, interface, and integration

Once WinRAR is installed, you can launch it from the application menu.

WinRAR on Ubuntu
Extracting a RAR File Using WinRAR on Linux

To extract a RAR file, simply right-click on the file and click on “Open With WinRAR.” This will launch WinRAR and give you the extracted file. Another way to open the RAR file is to launch WinRAR from the application menu and choose the file to extract it.

Let’s consider an “example.rar” file. To extract this file, first select the file and then click on the “Extract To” button. Moreover, you can drag and drop the RAR file directly into WinRAR to extract it.

extracting a sample.rar file in WinRAR (wine)

Next, select the path where you want to save the extracted file. After that, click on “OK” and wait for the extraction to be completed. You can then close WinRAR and access the extracted files.

specifying destination path and different mode for extracted rar file in setting context menu.

In your specified path, you see your extracted file with the same name as the RAR file.

viewing extracted rar file in Nautilus file manager

As mentioned earlier, WinRAR officially only provides rar for Linux, which is a command-line tool. If you prefer extracting RAR files using the command line, you can use the rar command.

WinRAR Alternatives for Linux

WinRAR is one of the best tools for managing RAR files on Windows. However, when it comes to Linux, WinRAR lacks a native graphical user interface (GUI) version. To install WinRAR GUI, you have to rely on Wine. Considering this, it’s worth exploring some great alternatives to WinRAR on Linux.

File Roller on Ubuntu

File Roller is the default tool for managing archives on the Linux system with a GNOME desktop. This tool has a simple and intuitive GUI that lets you create, extract, and modify various archive files, such as RAR, ZIP, TAR, and others.

To get File Roller on Ubuntu, you can use this command:

sudo apt install file-roller

For Fedora and RHEL, run this command:

sudo dnf -y install file-roller-nautilus

To install File Roller in Arch Linux, run:

sudo pacman -S file-roller

After installing File Roller, you can extract, add, or open any RAR file.

7-Zip

context menu showing different options of the 7zip tool in nautilus file manager

7-Zip is a free, open-source tool used for compressing large files. It’s got its own archive file format, 7z, and can handle other formats as well. It officially comes with three p7zip packages: p7zip (basic 7z support), p7zip-full (more 7z formats), and p7zip-rar (RAR + 7z support).

You can install 7-Zip on Ubuntu- or Debian-based distros using:

sudo apt install p7zip-full p7zip-rar

To install 7-Zip on Fedora and CentOS, run this command:

sudo yum install p7zip p7zip-plugins

To install 7-Zip on Arch Linux, use:

sudo pacman -S p7zip

Once 7-Zip is installed, you can right-click on your file to extract and compress your files.

Xarchiver

xarchiver on Ubuntu

Xarchiver is a GTK+ application that can handle various compression formats. You can use it to create archives and perform operations like adding, extracting, and deleting files. It lets you browse archives with MIME type icons, add comments to them, and export them as HTML or TXT.

You can install Xarchiver in Ubuntu or Debian using the following command:

sudo apt install xarchiver

On Fedora or CentOS, you can install Xarchiver using this command:

sudo yum -y install xarchiver

Use this command to install Xarchiver on Linux:

sudo pacman -S xarchiver

After installing Xarchiver on your Linux PC, you can easily create and extract RAR archives.

Tip solutie

Permanent

Voteaza

(7 din 12 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?