Dpkg command for Linux learning

Source: Internet
Author: User
Linux dpkg command details common dpkg usage dpkg-I install a Debian package file, such as the file you manually download. The content listed in dpkg-c. Dpkg-I extracts package information from the package. Dpkg-r removes an installed package. D .. Information & n Linux dpkg command details General dpkg usage dpkg-I install a Debian package file, such as the file you downloaded manually. The content listed in dpkg-c. Dpkg-I extracts package information from the package. Dpkg-r removes an installed package. Dpkg-L lists all installed files. Check the content of A. deb file by checking dpkg-c. Dpkg-P completely clears an installed package. Unlike remove, remove only deletes data and executable files, and purge also deletes all preparation files. Dpkg-s displays the information of the installed package. At the same time, see apt-cache to display the package information in the Debian archive and dpkg-I to display the package information extracted from a. deb file. Dpkg-reconfigure re-prepares an installed package if it uses debconf (debconf provides a unified configuration interface for package installation ). You can reconfigure debconf itself, for example, you want to change the priority of its front-end or question. For example, re-configure debconf and use a dialog front-end to run the following command: dpkg-reconfigure-frontend = dikg debconf (if you have chosen an error during installation, here we can change it back to the following: echo "hold" | the status of dpkg-set-selections is hlevels (command line) the current status obtained by dpkg-get-selections "" (in command line mode) supports wildcards, such as Debian :~ # Dpkg-get-selections * wine * libwine hold libwine-alsa hold libwine-arts hold libwine-dev hold libwine-nas hold libwine-print hold libwine-twain hold wine + hold wine-doc hold wine-utils hold

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.