-
First i need to run
sudo apt-get install unrar
to install unrar. -
If i want to unpack all files within the .rar files in the same directory
unrar e -r /home/work/software/myfile.rar
-
if i want to unpack the files in full path
unrar x -r /home/work/software/myfile.rar