If you ever see a warning like ‘archive type not supported’ while trying to extract a RAR file in Ubuntu then there is an easy solution to do that.
Many of us thought at first that, the problem can’t be fixed and maybe RAR is not supported by Ubuntu. But that’s not true. You have to go through a process to use the RAR file in Linux.
Extract the RAR file into Linux
To extract the RAR file into Ubuntu, you just have to install a package called unrar. After installing unrar you can extract the RAR file into Linux. Let me show you how to do that.
Step 1: Install Unrar
First, you have to install the unrar package in your Ubuntu or any other Debian-based Linux distro. To install unrar, just use this command:
sudo apt install unrar and unrar will install in your system.
Step 2: Extract the RAR file
After installing Unrar, now you have to know how to use it. You can normally use this package. I mean you can now extract the RAR file in a graphical way. However, you can also use the CLI way.
The command will be
unrar e [filename]. Like, suppose my rar file name is sample-1.rar. Then my command will be
unrar e sample-1.rar.
So, this is the whole process to extract the RAR file in Ubuntu. If any of your Debian-based systems show that kind of problem you can use this process. It works for Ubuntu as well as for Linux Mint, Kali Linux, Parrot OS, Zorin OS, or any of them.