6.linux Installing the Deb installation package

Source: Internet
Author: User

Original address: http://www.xitongzhijia.net/xtjc/20150206/37464.html

1. Download the Deb package you need to install, and enter the following command to install:

sudo dpkg-i package.deb

2. View the contents of the Package.deb package:

Dpkg-c Package.deb

3. Extracting information from the Package.deb package:

Dpkg-i Package.deb

4. Remove the installed Deb package:

Dpkg-r Package

5. Complete removal of an installed package. Unlike remove, remove just deletes the data and executable files, purge also removes all the configuration files:

Dpkg-p Package

6. List all files installed in the Deb package, and see Dpkg-c to check the contents of a. deb file:

Dpkg-l Package

7. Displays information about the installed package. Also see Apt-cache shows the package information in the Debian archive, as well as dpkg-i to display the package information extracted from a. deb file:

Dpkg-s Package

8. Re-configure an already installed package if it is using debconf (debconf provides a unified configuration interface for package installation):

Dpkg-reconfigure Package

6.linux Installing the Deb installation package

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.