Removing a Package
Removing a package from your system is also very simple. For example, you could try to remove perl-cgi, a package that simplifies writing CGIs in Perl, and type the following:
# rpm -e perl-cgi error: removing these packages would break dependencies: perl-cgi is needed by kquery-0.9-2
Only Root Can Perform Package Modifications on Your System
As with installation, you must be logged in as root to perform the remove operation. In general, this is true of any package operation that actually modifies the contents of your system, such as installing, removing, or upgrading packages. Regular users can perform other operations that are purely informational, such as querying or verifying packages. If you are logged in as a regular ...
Get Special Edition Using Linux®, Sixth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.