Introduction to installing and uninstalling the upgrade software using RPM in Linux

Source: Internet
Author: User
RPM is short for RedHatPackageManager. although it is called RedHat software package management tool, RPM is used in many linux branch versions. The RPM file-based software installation method is an executable file-based software installation method. The RPM file can be used to install, delete, and ,...

 

RPM is short for RedHat Package Manager. although it is called RedHat Package management tool, RPM is used in many linux branch versions. The RPM file-based software installation method is an executable file-based software installation method. The RPM file can be used to install, delete, update, add, and query the software. A brief introduction to common RPM parameters:

Rpm-ivh [package name] installation package

Rpm-ivh -- replacepkgs [package name] is forcibly installed, whether or not it has been installed

Run the rpm-q [package name] command to check whether the software package is installed.

Run rpm-qpi [package name] to view the description of the software package.

Rpm-qpl [package name] lists the file information in the software package.

All software packages installed in the rpm-qa query system

Rpm-qf [file]

Rpm-e [package name] uninstall the software package

Rpm-e -- nodeps [package name] forcibly deletes a software package and ignores dependencies.

Rpm-I [package name] install the rpm package

You can even use the rpm-I ftp://ftp.pht.com/pub/linux/redhat/MySQL-client-5.1.49-1.glibc23.i386.rpm to download and install the rpm package on the server

Rpm-Uvh [patch package name] upgrade package

Excerpt from: spiritual Pure Earth column

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.