Under Linux (Deepin) deb installation package management

Installation under Linux deb package management

pkg is Debian Package shorthand, is specially developed for the Debian package management system, easy to install software, update, and remove. All Linux distributions from Debian are using dpkg, such as Ubuntu, Knoppix and so on. When you install many deb file, we need to use this command.
Commonly used dpkg command:
1, sudo dpkg -i <package.deb>
install a Debian package, if you manually download files.
2, sudo dpkg -c <package.deb>
List <package.deb> content.
3, sudo dpkg -I <package.deb>
from the <package.deb>extracted information package.
4. sudo dpkg -r <package>(Note that not clearing the name + deb file, do not understand see below)
to remove an installed package.
5, sudo dpkg -P <package>
complete removal of a package installed. And remove the difference is, remove just delete the data and executables, purge also deletes all configuration files.
6, sudo dpkg -L <package>
lists a list of all files installed. See dpkg -c at the same time to examine the contents of a .deb file.
7, sudo dpkg -s <package>
display 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>
reconstituted a package has been installed, if it uses debconf (debconf package for the installation provides a unified configuration interface).

发布了151 篇原创文章 · 获赞 47 · 访问量 23万+

Guess you like

Origin blog.csdn.net/e891377/article/details/103765796