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.