“I downloaded a file and it’s in RAR so I need to extract this. How do I open rar files in Ubuntu?”
Ubuntu doesn’t support rar files by default so you will need to install it manually. Before you start be sure you have added Universe and Multiverse repository check out this how to guide here.
Open up the Terminal which is in Applications > Accessories > Terminal.
Now type in or copy/paste each line at a time:
sudo apt-get install rar
sudo ln -fs /usr/bin/rar /usr/bin/unrar
or
sudo apt-get install unrar
or
sudo apt-get install unrar-free
After you have successfully installed RAR, you now use the Archive manager to open up RAR files. Right click on the rar file and select “Open with Archive Manager” or you can select “Extract Here”.