mywindowsdownloads.blogspot.com
Click here for all Free Linux Downloads
RPM: Freshening & Uninstalling packages
To force RPM to upgrade in any case, use --oldpackage option:
# rpm -Uvh --oldpackage /mnt/cdrom/RedHat/RPMS/lynx-*
RPM freshen option checks version of specified package against the version of already installed package. When a new version of already installed package is processed by freshen up option, it gets upgraded to the new version. But it does nothing, if no previously installed package of same name is found here.
# rpm -Fvh /mnt/cdrom/RedHat/RPMS/lynx-*
If the following command is issued, only those packages will be upgraded automatically which are already installed.
# rpm -Fvh *.rpm
Uninstall
For uninstalling a package simply use the following command with -e option:
# rpm -e lynx
We may delete multiple packages with the same command, as follows:
# rpm -e lynx kernel-source
No comments:
Post a Comment