Rpm command details

Source: Internet
Author: User
1 rpm, full name of RedHat package manager, was proposed by RedHat to manage software packages in Linux. 2 RPM command usage: 3 RPM installation operation: 4 rpm-I package file name to be installed 5 example: 6 rpm-I example. rpm installation example. RPM package 7 rpm-IV example. rpm installation example. RPM package, and the file information being installed is displayed during installation 8 rpm-IVH example. rpm installation example. the RPM package is displayed, and the file information and installation progress are displayed during the installation process. 9 10 rpm query operation: 11 rpm-Q... 12 additional query commands: 13 A query all installed packages 14 I display information about the installation package 15 l show all files in the installation package are installed under which directories 16 s show the status of all files in the installation version and what are installed 17 p in the directory specifies to query information about the installation package 18 F specify to query information about a file that has been installed 19 example: 20 rpm-Qa | grep tomcat7 check whether tomcat7 is installed 21 rpm-QIP example. run RPM to view example. rpm installation package information 22 rpm-QIF/bin/DF view/bin/DF file installation package information 23 rpm-qlf/bin/DF view each of the packages in the/bin/DF file directory to which files are installed: 26 rpm-e installation package to be uninstalled 27 usually use rpm-Q... command to find out the installation package name 28 example: 29 rpm-e tomcat7 uninstall tomcat7 package 30 31 RPM upgrade operation: 32 rpm-u package to be upgraded 33 example: 34 rpm-uvh example. rpm upgrade example. RPM package 35 36 RPM verification operation: 37 rpm-V package to be verified 38 example: 39 rpm-VF/etc/tomcat7/tomcat7.conf40 41 RPM additional commands: 42 -- Force operations such as force installation and deletion 43 -- requires displays the dependency of the package 44 -- nodeps ignores the dependency and continues the operation

 

Rpm command details

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.