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

Rpm common commands

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

Share

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

Rpm common commands

(01) install a package: # rpm-ivh

(02) upgrade a package: # rpm-Uvh

(03) remove a package: # rpm-e

(04) installation parameters:

-- force forces installation even if it overwrites files belonging to other packages

-- nodeps if the installation of the RPM package depends on other packages, it will be forced to install even if the other packages are not installed.

(05) query whether a package is installed: # rpm-Q

< rpm package name>

(06) get information about the installed package: # rpm-qi

< rpm package name>

(07) list what files are in the package: # rpm-ql

< rpm package name>

(08) list which RPM package a file on the server belongs to: # rpm-qf

(09) several parameters can be combined together: # rpm-qil

< rpm package name>

(10) list all installed rpm package:# rpm-qa

(11) list the files contained in a RPM package file that has not been installed into the system: # rpm-qilp

< rpm package name>

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

*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