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

How to use the Linux dpkg-divert command

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly introduces the relevant knowledge of how to use the Linux dpkg-divert command, the content is detailed and easy to understand, the operation is simple and fast, and has a certain reference value. I believe you will gain something after reading this Linux dpkg-divert command article. Let's take a look at it.

The Linux common command dpkg-divert is a tool in Debian Linux that creates and manages a diversion list that invalidates the default location of the installation files.

Create and manage a steering list in dpkg-divertDebian Linux

Syntax dpkg-divert (option) (parameter) option-- add: add a transfer file;-- remove: delete a transfer file;-- list: list the matching transfers;-- truename: the real file name of the corresponding transfer file;-- quidet: quiet mode. Parameter file: specifies the transfer file name.

Instance specifies that when the package wibble is installed, write / usr/bin/example.foo instead of / usr/bin/example:

Dpkg-divert-- package wibble-- divert / usr/bin/example.foo-- rename / usr/bin/example specifies that when the software package wibble is installed, remove the transfer modification to / usr/bin/example:

Dpkg-divert-- package wibble-- rename-- remove / usr/bin/example deletes the transfer modification to / usr/bin/example:

Dpkg-divert-- rename-- remove / usr/bin/example add a package installation when writing / usr/bin/example.foo instead of / usr/bin/example modification:

This is the end of the article dpkg-divert-divert / usr/bin/example.foo-rename / usr/bin/example on "how to use the Linux dpkg-divert command". Thank you for reading! I believe you all have a certain understanding of the knowledge of "how to use Linux dpkg-divert commands". If you want to learn more, you are 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

Development

Wechat

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

12
Report