In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly analyzes the relevant knowledge of what the rpm command of the Linux system is, the content is detailed and easy to understand, the operation details are reasonable, and has a certain reference value. If you are interested, you might as well follow the editor to have a look, and follow the editor to learn more about "what is the rpm command of the Linux system".
Rpm, used for the management suite, was originally a Red Hat Linux distribution program designed to manage Linux suites. It is popular because it follows GPL rules and is powerful and convenient.
Rpm-a
Rpm-Q interpretation: query whether a package is installed
Rpm-qa
Rpm-qa-Q query all suites using query mode (query)-a (all) interpretation: list all installed rpm package
The difference with rpm-an is that it has been, for example:
Rpm-qa | grep
Rpm-qa | grep xxx | Pipeline technology. Delete means grep search-A text search tool: search for xxx in the information returned by-qa and return it as the final result
Rpm-qa | grep-I xxx-I is not case-sensitive to xxx. Of course, as a search tool, grep can also be combined with other commands
Rpm-e-requires careful "uninstall"
Normally, when uninstalling, we use the
Rpm-e xxx but if the software yyy is "dependent" on xxx-that is, yyy must have xxx to run
Will return
Error: xxx is needed by yyy can forcibly delete ↓ at this time without checking for dependencies (with caution)
Rpm-e-nodeps in addition, if you query that there are several packages with the same name, you can ignore the dependency and delete all packages with the same name using the following command
Rpm-e-- allmatches-- nodeps of course, deletions and queries can actually be combined, such as
Rpm-e-nodeps' rpm-qa | problems that grep mysql' may encounter
Warning: / etc/yum.repos.d/mysql-community.repo saved as / etc/yum.repos.d/mysql-community.repo.rpmsave
The cause of the problem is temporarily unknown. I don't know why it is automatically saved as .repo.rpmsave. The solution is to change it to the original .repo format with the mv command.
This is the end of the introduction on "what is the rpm command of the Linux system". More related content can be searched for previous articles, hoping to help you answer questions and questions, please support the website!
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.