How to install deb package under Ubuntu



deb is the installation format of debian linus, which is very similar to the rpm of red hat. The most basic installation command is: dpkg -i file.deb

dpkg is the abbreviation of Debian Package. It is a package management system specially developed for Debian to facilitate software installation. , update and remove. All Linux distributions derived from Debian use dpkg, such as Ubuntu, Knoppix, etc.
Here are some common usages of Dpkg:

1. dpkg -i <package.deb>
installs a Debian package, such as the one you downloaded manually.

2. dpkg -c <package.deb>
lists the contents of <package.deb>.

3. dpkg -I <package.deb>
Extract package information from <package.deb>.

4. dpkg -r <package>
removes an installed package.

5. dpkg -P <package>
completely removes an installed package. Unlike remove, which just deletes data and executable files, purge also deletes all configuration files.

6. dpkg -L <package>
lists all files installed by <package>. Also see dpkg -c to check the contents of a .deb file.

7. dpkg -s <package>
Displays information about installed packages. Also see apt-cache to display package information in a Debian archive, and dpkg -I to display package information extracted from a .deb file.

8. dpkg-reconfigure <package>
Reconfigure an installed package if it uses debconf (debconf provides a unified configuration interface for package installation).

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326222670&siteId=291194637
Recommended