Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of installing deb package in linux system

Shulou Source: shulou.com Published: 2022-06-03 03:56:44 09月22日 Update

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

Sudo dpkg-I package.deb

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

Dpkg-c package.deb

3. Extract information from package.deb package:

Dpkg-I package.deb

4. Remove the installed deb package:

Dpkg-r package

5. Completely clear an installed package. Unlike remove, remove only deletes data and executables, and purge also deletes all configuration files:

Dpkg-P package

6. Make a list of all the files installed in the deb package, and check the contents of a .deb file by looking at dpkg-c:

Dpkg-L package

7. Display information about installed packages. Also see apt-cache displaying the package information in the Debian archive, and dpkg-I to display the package information extracted from a .deb file:

Dpkg-s package

8. Reconfigure an installed package if it uses debconf (debconf provides a unified configuration interface for package installation):

Dpkg-reconfigure package

These are the details of how to install the deb installation package in linux. Please pay attention to other related articles for more information.

Tags: File information content package at the same time please see different just command that is data article more list interface archive check unify input method Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Apple Shulou Technology NVidia Microsoft