Last updated November 1, 2022 at 11:14 AM
In this mini tutorial we will remind you how to decompress a RAR file under ubuntu. The method applies to other types of extensions.
Sometimes we want to process compressed files using third-party software that we had used in other OS than Linux (windows or MAC OS). If you are new to linux, the files .rar are not recognized by default. As well as most of the compressed file extensions that were used in other systems like windows.
Today to compress and decompress any type of file under linux as well as under windows without cost, I recommend the 7-zip software. You may already know it but under ubuntu 20.04 it is no longer enough to install the application by proceeding with a sudo apt install 7-zip or sudo snap install 7zip.
The name of the package does not allow it to be installed intuitively. In this tutorial we will see how to decompress a RAR file on ubuntu. the method can be applied to other types of extension.
[bctt tweet=”How to unzip a RAR file on ubuntu – The method can be used on other extensions.” username=”tedidevblog”]
How to unzip a RAR file on ubuntu
We mentioned above that the best way to unzip a rar file in linux is to install 7-zip software which does the same job properly. This software takes into account several other types of compression algorithm including its own which is 7zip. To install 7-zip you must type the following commands:
sudo apt update sudo apt install p7zip-full p7zip-rar
Then follow the instructions. Note that all commands offered in this article must be written in a terminal. It is opened with a Ctrl + Alt + T in most linux systems like Ubuntu. If that doesn't work, look for Port in your distribution's application manager.
The 7-zip software is also available on windows if you have similar problems compressing or decompressing in a special extension.
Last updated November 1, 2022 at 11:14 AM
Conclusion
It is not intuitive to install this valuable compression software intuitively just knowing its name. This solution closes the article on how to unzip a rar file on ubuntu. See you soon.
