Dpkg command usage

Source: Internet
Author: User

Dpkg is short for Debian package. It is a suite management system specially developed by the "Debian" Operating System for software installation, update, and removal.

Dpkg is used for all releases of Linux from "Debian", such as "ubuntu"

 

Reading directory

  1. Install software
  2. List Files first associated with the package
  3. Show package version
  4. Remove software (retain configuration)
  5. Remove software (configuration not retained)
  6. Find detailed information about a package
  7. List Deb Package content

 

Install software

Command: dpkg-I <. Deb File Name>

Instance: dpkg-I ~ /Download/mozybackup_i386.deb

Mozybackup_i386.deb is a manually downloaded package, as shown in figure

 

List Files first associated with the package

Command: dpkg-l package

After installing the package, you can use this command to check where the software is installed,

Instance: dpkg-l mozybackup

 

Show package version

Command: dpkg-l package

Instance: dpkg-l mozybackup

 

 

Remove software (retain configuration)

Command: dpkg-r package

Instance: dpkg-r mozybackup

Remove software (configuration not retained)

Command: dpkg-P package

Instance: dpkg-P mozybackup

 

 

Find detailed information about a package

Command: dpkg-s package

Instance: dpkg-s mozybackup

 

List Deb Package content

Command: dpkg-C package. Deb to list the Deb Package content

Instance: dpkg-C mozybackup

 

 

 

Dpkg-Unpack package. Deb unbind Deb Package content

Dpkg-s keyword search Package content

Dpkg-configure package configuration package

 

 

 

 

Dpkg command usage

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.