In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The read-through rpm command is an administrative tool for RPM software packages. Rpm, originally a Red Hat Linux distribution program designed to manage Linux suites, is popular because it follows GPL rules and is powerful and convenient. Gradually adopted by other distributions. The emergence of RPM suite management makes Linux easy to install and upgrade, which indirectly improves the applicability of Linux. 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
The original text is from: https://www.linuxprobe.com/rpm-redhat.html
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.