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

How to install deb installation package in linux

王林
Release: 2019-12-27 13:54:39
Original
9112 people have browsed it

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
Copy after login

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

dpkg -c package.deb
Copy after login

3. Extract information from the package.deb package:

dpkg -I package.deb
Copy after login

Free learning video tutorial recommendation: linux video tutorial

4. Remove the installed deb package:

dpkg -r package
Copy after login

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
Copy after login

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
Copy after login

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
Copy after login

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

dpkg-reconfigure package
Copy after login

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!

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template