How to Install UNRAR on Debian 12, 11 or 10

Unrar is a pivotal tool for handling RAR archive files in archive management. For Debian users, the significance of this utility is undeniable. This guide will show how to install UNRAR on Debian 12 Bookworm, Debian 11 Bullseye, or Debian 10 Buster, ensuring seamless archive extraction and management.

Distinguishing Features of Unrar Versions:

  • Open Source Unrar (default on Debian):
    • Transparency: With its source code openly accessible, users can inspect, modify, and tailor the software to their specific needs.
    • Community-Driven: Thriving on active community involvement, this version benefits from continuous development and peer-to-peer support.
    • Broad Compatibility: Catering to a wide array of operating systems, it supports UNIX-based systems, macOS, and Windows via Cygwin or WSL.
  • RARLAB’s Free Unrar:
    • User-Centric Design: Designed with users in mind, RARLAB’s version offers a GUI on Windows, making archive management intuitive for those less acquainted with command-line operations.
    • Direct Updates & Support: Managed by RARLAB, this version receives prompt updates and bug fixes. Users also benefit from direct technical support.
    • Focused Availability: Primarily tailored for Windows, its availability is limited for other operating systems.

Making an Informed Choice for your Debian System:

The decision between the open-source Unrar and RARLAB’s free version hinges on individual needs. The open-source variant might resonate with you if you value transparency, adaptability, and compatibility. Conversely, if a user-friendly interface and direct support are paramount, RARLAB’s version could be the optimal choice.

Update the Debian System Before the UNRAR Installation

Before initiating the Unrar installation, it’s crucial to refresh your Debian operating system to guarantee all pre-existing packages are current. To execute this update, launch a terminal window and input the following command:

sudo apt update && sudo apt upgrade

By running this command, you direct your Debian system to fetch the latest updates for all installed packages.

Install UNRAR on Debian 12, 11, or 10 (Free RARLab Version)

The upcoming method will authorize the contrib and non-free repositories, enabling the installation of RARLab’s Unrar version. This version is frequently recommended due to its compatibility with the latest RAR archive-extracting formats.

Before proceeding, confirm the presence of the software-properties-common package by executing:

sudo apt install software-properties-common -y

The software-properties-common package facilitates the management of software repositories from the command line.

Subsequently, empower Debian’s contrib and non-free repositories with the command:

sudo apt-add-repository contrib non-free

Following the successful authorization of the repositories, initiate a quick update using:

sudo apt update

Upon completion of the system update, you are now set to install the RARLab’s Unrar version using the command:

sudo apt install unrar

The command above installs the RARLab’s version of Unrar, which is the main subject of this article.

Install UNRAR on Debian 12, 11 or 10 (Open Source Version)

Alternatively, if your preference leans towards open-source, non-proprietary software, you can opt to install the unrar-free package.

This can be achieved using the following command:

sudo apt install unrar-free

It is essential to note that unrar-free does not support RAR 4 or 5, rendering the Unrar package potentially a more suitable choice.

Additionally, bear in mind that the commands for unrar-free might deviate from the standard Unrar command examples shared in this guide.


In this guide, we navigated installing Unrar on a Debian system, a critical utility for managing RAR archives. We highlighted the RARLab’s free version and the open-source alternative, illuminating their distinct attributes and potential advantages depending on your specific needs. Ensuring your Debian system is up-to-date before the installation was emphasized as an integral preparatory step. Ultimately, the choice between the two versions of Unrar will depend on your preferences, whether for a more user-friendly interface, support for specific RAR formats, or dedication to open-source principles.

Leave a Comment