In-depth usage of the RPM removal software, such as forced deletion
Source: Internet
Author: User
Remove software
To remove the software is very simple, just execute the following command:
# rpm–e Xanim
At this point, the user should be careful to use the name of the software Xanim, rather than the package name xanim-27.64-3.i386.rpm.
If the software you want to remove 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 means that if the user deletes the Xanim, MTV will not be able to run because some of the software in Xanim is needed for MTV to run.
If the user is sure to delete, you can use the following command:
# rpm–e Xanim--nodeps
Upgrade software
If the user has previously installed xanim-27063-1.i386.rpm and now has xanim-27064-1.i386.rpm, use the following
command to upgrade this package:
# RPM–UHV xanim-27064-1.i386.rpm
In fact, the-u parameter tells the rpm to remove the original version first, and then install the new version. So regardless of whether or not the package was previously installed, the user
You can use the RPM–UHV command to install the software.
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