[oclug] help with rpm
Ross Jordan
rjordan at student.math.uwaterloo.ca
Sun Aug 4 03:38:35 EDT 2002
>
> How can I remove packages based on a regexp using rpm?
>
> What I want to do is remove all packages for kde ie kde*
>
> Is this possible?, I do not look forward to removing them one-by-one.
Something along the lines of:
rpm -e `rpm -qa | grep regexp | tr '\n' ' '`
(You're probably still going to have dependency issues with this,
which will require manual intervention)
-Ross
--
Please surrender your freedom so that we can protect it!
- Ashcroft
More information about the OCLUG
mailing list