Ubuntu --- install deb package

Installed in Ubuntu deb packages need to use dpkg command. 
Dpkg ordinary usage: 1, sudo dpkg -i <package.deb> install a Debian package, if you manually download files. 2, sudo dpkg -c <package.deb> listed <package.deb> content. 3, sudo dpkg -I <package.deb> extract information from the parcel <package.deb> in. 4, sudo dpkg -r <package> to remove an installed package. 5, sudo dpkg -P <package> completely remove an installed package. And remove the difference is, remove just delete the data and executables, purge also deletes all configuration files. 6, sudo dpkg -L <package> list file list <package> installed all. See dpkg -c at the same time to examine the contents of a .deb file. 7, sudo dpkg -s <package> show information package installed. At the same time see the apt-cache show package information Debian archive and dpkg -I displays package information extracted from a .deb file. 8, sudo dpkg-reconfigure <package > If a problem occurs during installation, you can use the command:
sudo APT-GET Update
Update and then execute the above command.

Guess you like

Origin www.cnblogs.com/mafeng/p/11314976.html