How to install deb package in Ubuntu

Source: Internet
Author: User
Deb is Debian Linux installation format, and RedHat rpm is very similar, the most basic installation command is: dpkg-ifile.debdpkg is Debian package short, is Debian dedicated development of the suite management system, this facilitates software installation, update, and removal. All Debian-based Linux distributions use dpkg, such as Ubuntu and Knoppix. The common usage of Dpkg is as follows:

Deb is the installation format of Debian Linux, which is very similar to the rpm of Red Hat. The most basic installation command is dpkg-I file. deb.

Dpkg is short for Debian Package. It is a suite management system specially developed for Debian to facilitate software installation, update, and removal. All Debian-based Linux distributions use dpkg, such as Ubuntu and Knoppix.

Below are some common Dpkg usage methods:
 
1. dpkg-I
Install a Debian software package, such as the file you manually download.


 
2. dpkg-c
List .
 
3. dpkg-I
Slave .
 
4. dpkg-r
Remove an installed package.
 
5. dpkg-P
Completely clear an installed package. Unlike remove, remove only deletes data and executable files, and purge also deletes all preparation files.
 
6. dpkg-L
List List of all installed files. Check the content of A. deb file by checking dpkg-c.
 
7. dpkg-s
Displays information about installed packages. 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.
 
8. dpkg-reconfigure
Re-prepare an installed package if it uses debconf (debconf provides a unified configuration interface for package installation ).

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

Related Article

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.