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

Use the dpkg command of linux to manage deb packages

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

Share

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

Today, the editor shares with you the use of linux's dpkg command to manage the deb package. I believe many people don't know much about it. In order to make you understand better, I summarized the following contents for you. Let's look down together. I'm sure you'll get something.

The English full name of the dpkg command is "Debian package", which means the utility that the Debian Linux system uses to install, create, and manage software packages.

Syntax format: dpkg [parameters]

Commonly used parameters: coach

-I install package-r remove package-l display list of installed packages-L display files associated with the package-c display list of files within the package

Reference example

Install the package:

[root@linuxcool] # dpkg-I package.deb

Delete package:

[root@linuxcool] # dpkg-r package.deb

List currently installed packages:

[root@linuxcool ~] # dpkg-l

List the contents of the deb package:

[root@linuxcool ~] # dpkg-c package.deb

Configuration:

[root@linuxcool ~] # dpkg-- this is the end of configure package's use of linux's dpkg command to manage deb packages. I hope the above content can be of some reference value to everyone and can be put into practice. If you like this article, you might as well share it for more people to see.

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: 220

*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