Home  >  Article  >  Operation and Maintenance  >  How to install deb installation package in linux

How to install deb installation package in linux

王林
王林Original
2019-12-27 13:54:398971browse

How to install deb installation package in linux

1. Download the deb package that needs to be installed and enter the following command to install:

sudo dpkg -i package.deb

2. Check the contents of the package.deb package:

dpkg -c package.deb

3. Extract information from the package.deb package:

dpkg -I package.deb

Free learning video tutorial recommendation: linux video tutorial

4. Remove the installed deb package:

dpkg -r package

5. Completely clear an installed package. Different from remove, remove only deletes data and executable files, while purge also deletes all configuration files:

dpkg -P package

6. List all files installed by the deb package, and please see dpkg -c To check the contents of a .deb file:

dpkg -L package

7. Display the information of 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:

dpkg -s package

8. Reconfigure an already installed package if it Debconf is used (debconf provides a unified configuration interface for package installation):

dpkg-reconfigure package

Recommended related articles and tutorials: linux tutorial

The above is the detailed content of How to install deb installation package in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What is mount in linuxNext article:What is mount in linux