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

What are the operation commands for installing, updating and deleting RPM packages in linux

2025-03-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly shows you the "linux RPM package installation, update, deletion and other operation commands", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "linux RPM package installation, update, deletion and other operation commands have" this article.

The code is as follows:

Rpm-ivh package.rpm installs a rpm package

Rpm-ivh-nodeeps package.rpm installs a rpm package and ignores dependency warnings

Rpm-U package.rpm updates a rpm package without changing its configuration file

Rpm-F package.rpm updates a confirmed installed rpm package

Rpm-e package_name.rpm deletes a rpm package

Rpm-qa displays all installed rpm packages in the system

Rpm-qa | grep httpd displays all rpm packages with the word "httpd" in their names

Rpm-qi package_name gets special information about an installed package

Rpm-qg "System Environment/Daemons" displays the rpm package for a component

Rpm-ql package_name displays a list of files provided by the installed rpm package

Rpm-qc package_name displays a list of configuration files provided by the installed rpm package

Rpm-Q package_name-- whatrequires displays a list of dependencies on a rpm package

Rpm-Q package_name-- whatprovides shows the volume occupied by a rpm packet

Rpm-Q package_name-- scripts displays the script l executed during installation / removal

Rpm-Q package_name-- changelog displays the modification history of a rpm package

Rpm-qf / etc/httpd/conf/httpd.conf confirms which rpm package provided the given file

Rpm-qp package.rpm-l displays a list of files provided by an uninstalled rpm package

Rpm-- import / media/cdrom/RPM-GPG-KEY Import Public key Digital Certificate

Rpm-checksig package.rpm confirms the integrity of a rpm package

Rpm-qa gpg-pubkey confirms the integrity of all installed rpm packages

Rpm-V package_name checks file size, license, type, owner, group, MD5 check and last modification time

Rpm-Va checks all installed rpm packages in the system-use with caution

Rpm-Vp package.rpm confirms that a rpm package is not installed

Rpm2cpio package.rpm | cpio-- extract-- make-directories * bin* runs the executable file from a rpm package

Rpm-ivh / usr/src/redhat/RPMS/ `arch` / package.rpm installs a built package from a rpm source code

Rpmbuild-- rebuild package_name.src.rpm builds a rpm package from a rpm source code

These are all the contents of this article entitled "what are the operation commands for installing, updating and deleting RPM packages in linux?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more 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