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-deb command of linux Debian package manager

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

Share

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

This article mainly introduces the use of linux dpkg-deb command Debian package manager, the article is very detailed, has a certain reference value, interested friends must read it!

The dpkg-deb command is a package management tool under Debian linux, which can package and unpack software packages and provide package information.

The function of the dpkg-deb command can be invoked through the dpkg command, and any option of the dpkg command will be passed to the dpkg-deb command for execution.

Syntax format: dpkg-deb [parameters] [file]

Common parameters:

-c display the list of files in the package-e decompress the master information-f print the field contents to standard output-x release the files in the package to the specified directory-X release the files in the package to the specified directory and show the detailed process of releasing the files-w display the information of the package-l display the details of the package-R extract control information and archived manifest files-b create the Debian package

Reference example

Extract the program file:

[root@linuxcool ~] # dpkg-deb-x linuxcool.deb drcom

Extract the control file:

[root@linuxcool] # dpkg-deb-e linuxcool.deb drcom/DEBIAN

Package to generate a deb file:

[root@linuxcool] # dpkg-deb-b linuxcool.deb

Query the contents of the file in the deb package:

[root@linuxcool ~] # dpkg-deb-c linuxcool.deb above is all the contents of the Debian package manager using linux's dpkg-deb command, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

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