Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of installing deb package in linux system

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report