Hi,
What is the correct command to install p7zip on Ubuntu? How to install p7zip on Ubuntu 16.04?
Thanks
Hi,
To install p7zip on Ubuntu 16.04 following the following steps:
Open the terminal on Linux box and run following command:
sudo apt-get install p7zip-full
and after that also run
sudo apt-get install p7zip
Here is the full log of installation:
deepak@deepak-VirtualBox:~$ sudo apt-get install p7zip-full [sudo] password for deepak: Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: p7zip-rar The following NEW packages will be installed: p7zip-full 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 919 kB of archives. After this operation, 3,959 kB of additional disk space will be used. Get:1 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 p7zip-full amd64 9.20.1~dfsg.1-4.2 [919 kB] Fetched 919 kB in 5s (157 kB/s) Selecting previously unselected package p7zip-full. (Reading database ... 174996 files and directories currently installed.) Preparing to unpack .../p7zip-full_9.20.1~dfsg.1-4.2_amd64.deb ... Unpacking p7zip-full (9.20.1~dfsg.1-4.2) ... Processing triggers for man-db (2.7.5-1) ... Setting up p7zip-full (9.20.1~dfsg.1-4.2) ... deepak@deepak-VirtualBox:~$ p5zip No command 'p5zip' found, did you mean: Command 'plzip' from package 'plzip' (universe) Command 'p7zip' from package 'p7zip' (universe) p5zip: command not found deepak@deepak-VirtualBox:~$ p7zip The program 'p7zip' is currently not installed. You can install it by typing: sudo apt install p7zip deepak@deepak-VirtualBox:~$ sudo apt install p7zip Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: p7zip 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 307 kB of archives. After this operation, 1,000 kB of additional disk space will be used. Get:1 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 p7zip amd64 9.20.1~dfsg.1-4.2 [307 kB] Fetched 307 kB in 3s (97.6 kB/s) Selecting previously unselected package p7zip. (Reading database ... 175060 files and directories currently installed.) Preparing to unpack .../p7zip_9.20.1~dfsg.1-4.2_amd64.deb ... Unpacking p7zip (9.20.1~dfsg.1-4.2) ... Processing triggers for man-db (2.7.5-1) ... Setting up p7zip (9.20.1~dfsg.1-4.2) ... deepak@deepak-VirtualBox:~$ p7zip /usr/bin/p7zip: compressed data not written to a terminal. For help, type: /usr/bin/p7zip -h
Thanks
Check following video:
Thanks