Deep usage of RPM software deletion, such as force Deletion

Source: Internet
Author: User
Delete Software

To delete software, you only need to execute the following command:
# Rpm-e xanim

In this case, the user should note that the software name xanim is used, rather than the software package name xanim-27.64-3.i386.rpm.

If the software to be deleted is required by other software, the user will get an error message similar to the following:
# Rpm-e xanim

Error: xanim is needed by mtv-1.0-1

This indicates that if the user deletes xanim, the MTV will not be able to run, because some software in xanim is required by the MTV operation.
To delete a file, run the following command:
# Rpm-e xanim -- nodeps

Upgrade software

If the user has installed the xanim-27063-1.i386.rpm before and now has a xanim-27064-1.i386.rpm, use the following
To upgrade the software package:
# Rpm-UHV xanim-27064-1.i386.rpm

In fact, the-u parameter tells RPM to delete the original version before installing the new version. Therefore, whether or not this software package has been installed before
You can use the rpm-UHV command to install the software.
 

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.