How To Remove a Package Without the Dependencies (yum/rpm)

Published Date Author: , Posted January 9th, 2018 at 9:59:48am

To remove a specific package without its dependencies use rpm:

1
2
rpm -qa | grep pecl
rpm -e --nodeps php55-pecl-jsonc php55-pecl-jsonc-devel
rpm -qa | grep pecl
rpm -e --nodeps php55-pecl-jsonc php55-pecl-jsonc-devel

As always, YMMV!

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.