Linux RPM Installation

Source: Internet
Author: User

1.RPM Installation
RPM-IVH package_name
The meaning of-i:install
-V: View more detailed installation information
-H: Displays the installation progress in the installation Information Bar
RPM-IVH package_name--test


2.rpm Query
Rpm-qa | grep ^c | Wc-l

Re-install
RPM-IVH httpd.rpm--replacepkgs
3. Delete
#rpm-E PackageName
"-e" means to delete (erase) means to delete a particular package (PackageName).

It is important to note that the RPM management mechanism does not allow you to delete a package if it is also dependent on other packages. Because once you delete this package, other packages that rely on him to run will not work properly.
4. Upgrade
#rpm-UVH package.ix86.rpm

The "-u" parameter means upgrade (upgrade), and the meaning of the parameter "V" and "H" is the same as before, which is not mentioned here.

Yum

Yum [List|info|search|provides|whatprovides] Parameter

#yum List | grep MySQL
#rpm-qi Mysql-community-server

Linux RPM Installation

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.