Use the following command to install both the creation (rar) and extraction (unrar) tools: sudo apt install rar unrar
While WinRAR is primarily a Windows application, Ubuntu users can still leverage its core technology to handle RAR files. You have three primary ways to achieve this: installing the official RAR command-line tools, running the Windows version via Wine, or using native Linux alternatives like PeaZip. 1. The Native Way: Official RAR/UNRAR Tools
There is a pre-packaged version in the Snap Store that bundles WinRAR with Wine. Install it with one command: sudo snap install winrar Manual Wine Installation: Install Wine: sudo apt install wine64 . Download the official WinRAR installer. winrar ubuntu download
For most users, the "native" way to get WinRAR functionality is to install the command-line tools provided by RARLAB. These allow Ubuntu’s default Archive Manager (File Roller) to handle .rar files seamlessly.
Many Linux users prefer native open-source tools that offer similar or better performance without the need for Wine. Use the following command to install both the
Right-click the .exe and select . 3. Best Native Alternatives for Ubuntu
Once installed, you can simply right-click any RAR file in your folder and select "Extract Here" . To extract via terminal: unrar x filename.rar To create a RAR archive: rar a archive_name.rar file1 file2 2. The GUI Way: Running WinRAR via Wine or Snap The Native Way: Official RAR/UNRAR Tools There is
Open your terminal and run: sudo apt update