In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "what is the rpm-ivhrpm command in linux", which is easy to understand and clear. I hope it can help you solve your doubts. Let the editor lead you to study and learn what the rpm-ivhrpm command in linux is.
Is a management tool for RPM software packages. Rpm was originally a Red Hat Linux distribution designed to manage Linux suites because it follows GPL rules and is powerful and convenient.
1. Install software: execute the rpm-ivh rpm package name, such as:
Rpm-ivh apache-1.3.6.i386.rpm2. Upgrade the software: execute the rpm-Uvh rpm package name.
3. Reverse installation: execute the rpm-e rpm package name.
4. Query package details: execute rpm-qpi rpm package name
5. Query which rpm package a file belongs to: execute the rpm-qf rpm package name
6. Find out which files the package will write to the system: execute the rpm-qpl rpm package
Extended data:
Installation of the RPM package, an example of the RPM package:
Foo-1.0-1.i386.rpm
These include the name of the package (foo), version number (1. 0), release number (1), and hardware platform (i386).
Installation startup:
# rpm-ivhfoo-1.0-1.i386.rpm
Foo
# # #
1. The software package has been installed # rpm-ivhfoo-1.0-1.i386.rpm
Foopackagefoo-1.0-1isalreadyinstalled
Error:foo-1.0-1.i386.rpmcannotbeinstalled
If you still want to install the package, you can use the-replacepkgs option on the command line, which will ignore the error message.
2. File conflicts if one of the packages to be installed has been installed when other packages are installed, the following error message will appear:
# rpm-ivhfoo-1.0-1.i386.rpm
Foo/usr/bin/fooconflictswithfilefrombar-1.0-1
Error:foo-1.0-1.i386.rpmcannotbeinstalled
If you want RPM to ignore the error message, use the-replacefiles command line option
3. The unresolved dependency RPM package may depend on other packages and cannot be installed until a specific package has been installed.
# rpm-ivhbar-1.0-1.i386.rpm
Faileddependencies:
Fooisneededbybar-1.0-1
You must install the dependent software package to solve this problem. If you want to force the installation (however, the installed package may not work properly), use the-nodeps command line option.
Where I indicates installation, v indicates installation process, and h indicates progress
The above is all the content of the article "what is the rpm-ivhrpm command 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.
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.