This is very simple and easy way to UnZip  rar file in Ubuntu. Please follow these steps to unrar your rar file

unrar file in ubuntu

Step 1. Install unrar in Ubuntu type

sudo apt-get install unrar

Step 2. If you want to unzip file in same directory type this command

unrar e -r /your_path/myfile.rar

or in other directory or root type this

unrar x -r /your_path/myfile.rar

That’s all, hope this help you 🙂