Ubuntu-Package Management, dpkg

Source: Internet
Author: User
Tags unpack

Usage of the dpkg command

Dpkg is a shorthand for the Debian package, a suite management system specifically developed for the "Debian" operating system for software installation, updating and removal.

All releases of Linux from "Debian" use dpkg, such as "Ubuntu"

Read Catalogue

    1. Installing the Software
    2. Lists the files associated with the package first
    3. Show the version of the package
    4. Remove software (Preserve configuration)
    5. Remove software (do not preserve configuration)
    6. Find details about a package
    7. List the contents of the Deb package

Installing the Software

Command: dpkg-i <.deb file name>

Example: Dpkg-i ~/download/mozybackup_i386.deb

Mozybackup_i386.deb is a manual download-down package, such as

Lists the files associated with the package first

Command: Dpkg-l Package

Once the package is installed, you can use this command to see where the software is installed,

Example: Dpkg-l mozybackup

Show the version of the package

Command: Dpkg-l Package

Example: Dpkg-l mozybackup

Remove software (Preserve configuration)

Command: Dpkg-r Package

Example: Dpkg-r mozybackup

Remove software (do not preserve configuration)

Command: Dpkg-p Package

Example: Dpkg-p mozybackup

Find details about a package

Command: Dpkg-s Package

Example: Dpkg-s mozybackup

List the contents of the Deb package

Command: dpkg-c package.deb listing the contents of the Deb package

Example: Dpkg-c mozybackup

Dpkg–unpack Package.deb Unpack the contents of the Deb package

Dpkg-s keyword Search the package content that belongs to

Dpkg–configure Package Configuration Packages



Ubuntu, package management, dpkg

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.