In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this article, the editor introduces in detail "what are the common commands in RPM", which are detailed, the steps are clear, and the details are handled properly. I hope that this article "what are the common commands in RPM" can help you solve your doubts? let's follow the editor's train of thought to learn new knowledge.
RPM Package Manager (RPM) is a powerful command-line-driven package management tool for installing, uninstalling, verifying, querying, and updating software packages on Linux systems.
Install rpm-ivh package_name
(package_name refers to the file name of the RPM package)
Query
1. Query whether to install and install the version
Rpm-Q name of installed software (ex:rpm-Q docker-engine) rpm-qa | grep string (query the software version containing a string in all installed software)
two。 Query related configuration files
Rpm-ql software name (list the full file name where all files and directories of the software are located) rpm-qc software name (list all settings files of the software)
3. Query other software on which a software depends
Rpm-qR software name
4. Query which software package the file belongs to
Rpm-qf filename Uninstall rpm-e-- nodeps package_name verify the installed software name of rpm-V (list the configuration files that the software has been modified) rpm-Vf filename (list whether a file has been changed) fall back to the earlier version rpm-- Uvh-- oldpackage-- nodeps package_name
(this command includes two steps to uninstall the software package from the source environment and to install the earlier version of the package)
Backup tool rpmrebuild
Purpose: back up software that is already installed in the environment
Usage: rpmrebuild pacakge_name
If the relevant configuration of the software has been changed, the command asks whether to continue and whether to name a new software version name
If you do not need this query, you can use:
Rpmrebuild-b read here, this "what are the common RPM commands" article has been introduced, want to master the knowledge of this article still need to be hands-on practice to understand, if you want to know more related articles, 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.