sudo apt install unrar After unrar is successfully installed now it’s time to play with it. Execute the following command to install unrar in Ubuntu. Ubuntu hasn’t added unrar by default so you need to install it first.7-Zip is a file archiver with highest compression ratio. p7zip is a quick port of 7z.exe and 7za.exe (command line version of 7zip, see for Unix. Now install unrar package: sudo apt-get install unrar Update the package cache: sudo apt update.
Launch the terminal and type in the following command to make sure you have multiverse repository enabled in Ubuntu: sudo add-apt-repository multiverse.