Go To Run Command Bellow:
First, run:
1 2 3 |
sudo apt-get update sudo apt-get install unrar |
ou could read man unrar
.
From terminal you can use next command:
1 2 |
unrar e -r /home/work/software/myfile.rar |
Or, the following command if you want to preserve the directory structure too:
1 2 |
unrar x -r /home/work/software/myfile.rar |
If you like then you can also use p7zip-full package. You can install it as:
1 2 |
sudo apt-get install p7zip-full p7zip-rar |
If Problem to Update at
E: Unmet dependencies. Try using -f.
1 2 |
sarkar@sarkar:~$ sudo apt-get clean sarkar@sarkar:~$ sudo apt-get autoremove |
Try with following command:
1 |
sudo apt-get install --fix-broken && sudo apt-get autoremove && sudo apt-get update |
Now can Promote Command Terminal:
1 |
sudo apt-get install unrar |
- 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
This problem is solved.
1 2 3 |
$ sudo apt --fix-broken install $ sudo apt-get update $ sudo apt-get upgrade |