ubuntu unrar
sudo apt-get install unrar
From terminal you can use next command:
unrar e -r /home/work/software/myfile.rar
Or, the following command if you want to preserve the directory structure too:
unrar x -r /home/work/software/myfile.rar
sudo apt-get install p7zip-full p7zip-rar