9.1 Uninstalling a RPM Package

Table of Contents Previous Next


9 Uninstalling Advanced Server : 9.1 Uninstalling a RPM Package

Include the -e option on the rpm command to remove installed packages; the command syntax is:
rpm -e package_name [package_name…]
Where package_name is the name of the package that you would like to remove. The package name is the name of the .rpm file used when installing the package, with the version number and file extension (.rpm) removed; for example, the command:
To instruct rpm to remove multiple packages, provide a list of packages you wish to remove when invoking the command.
You can use the yum remove command to remove an RPM package. To remove a package, open a terminal window, assume superuser privileges, and enter the command:
yum remove package_name
Where package_name is the name of the package that you would like to remove. The package name is the name of the .rpm file used when installing the package, with the file extension (.rpm) removed; for example, the command:

9 Uninstalling Advanced Server : 9.1 Uninstalling a RPM Package

Table of Contents Previous Next