Learn how to install p7zip with the command sudo apt-get install p7zip on Ubuntus.
Ads
Quick installation of p7zip:
Step 1: Update system:
sudo apt-get update
Step 2: Install: p7zip
Ater updaing the OS run following command to install the packae:
sudo apt-get install p7zip
Package Details | |
Package: | p7zip |
Version: | 9.20.1~dfsg.1-4+deb7u2build0.12.04.1 |
Maintainer: | Ubuntu Developers |
Home page: | http://p7zip.sourceforge.net/ |
Description: | 7z file archiver with high compression ratio p7zip is the Unix command-line port of 7-Zip, a file archiver that archives with high compression ratios. . p7zip provides: - /usr/bin/7zr a standalone minimal version of the 7-zip tool that only handles 7z archives. 7z compression is 30-50% better than ZIP compression. - /usr/bin/p7zip a gzip-like wrapper around 7zr. . p7zip can be used with popular compression interfaces (such as File Roller or Nautilus). . p7zip-full provides 7z and 7za which support more compression formats. Homepage: http://p7zip.sourceforge.net/ |
Distro: | Ubuntu 12.04 LTS |
Release: | |
Repo/Section: | universe/utils |
First of all update your system with the command:
sudo apt-get update
Ads
Above command will download the package lists for Ubuntu 12.04 LTS on your system. This will update the list of newest versions of packages and its dependencies on your system.
After downloading the latest package list with the help of above you can run the installation process.
If p7zip is not installed on your compter then the command 'dpkg -L p7zip' will give followin error.
deepak@deepak-VirtualBox:~$ dpkg -L p7zip Package `p7zip' is not installed. Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg --contents (= dpkg-deb --contents) to list their contents. deepak@deepak-VirtualBox:~$
Installing p7zip:
After system update use the following command to install p7zip:
sudo apt-get install p7zip
Above command will confirm before installing the package on your Ubuntu 12.04 LTS Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.
Now we will see the commands for uninstalling the p7zip from Ubuntu 12.04 LTS. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.
To remove the p7zip following command is used:
sudo apt-get remove p7zip
Following command is used to remove the p7zip package along with its dependencies:
sudo apt-get remove --auto-remove p7zip
This will remove p7zip and all its dependent packages which is no longer needed in the system.
Completely removing p7zip with all configuration files:
Following command should be used with care as it deletes all the configuration files and data:
sudo apt-get purge p7zip
or you can use following command also:
sudo apt-get purge --auto-remove p7zip
Above command will remove all the configuration files and data associated with p7zip package. You can can't recover the delete data, so, use this command with care.