The P7zip-full and P7zip-rar two software are automatically installed via the sudo apt-get install P7zip-rar.
After that, you can extract the compressed files directly from the right mouse button selection.
[Email protected]:~$ sudo apt-get install P7zip-rar[sudo] password for Deng: Reading package list ... Completing the dependency tree that is analyzing the package is reading state information ... Completion will install the following additional packages: p7zip-full The following "new" packages will be installed: p7zip-full p7zip-rar upgraded 0 packages, installed 2 new packages, uninstalled 0 packages, 0 packages were not upgraded. You need to download the 1,605 KB package. 4,142 KB of extra space is consumed after decompression. Do you want to continue? [Y/n]y get: 1 http://cn.archive.ubuntu.com/ubuntu/precise/universe p7zip-full amd64 9.20.1~dfsg.1-4 [1,561 KB] gets: 2 http ://cn.archive.ubuntu.com/ubuntu/precise/multiverse p7zip-rar amd64 9.20.1~ds.1-3 [44.5 kb] Download 1,605 KB, time 4 seconds (333 kB/s)
selecting previously unselected package p7zip-full. (Reading Database ... The system currently has a total of 192,002 files and directories installed. ) extracting P7zip-full (from .../p7zip-full_9.20.1~dfsg.1-4_amd64.deb) ... Selecting previously unselected package P7zip-rar. Extracting P7zip-rar (from .../p7zip-rar_9.20.1~ds.1-3_amd64.deb) ... Processing triggers for man-db ... Setting P7zip-full (9.20.1~dfsg.1-4) ... Setting P7zip-rar (9.20.1~ds.1-3) ... [Email protected]:~$
How does Ubuntu open the. 7z and. rar Compressed Files