[CentOS] Remove all packages from specific repository

Morten P.D. Stevens mstevens at imt-systems.com
Fri Sep 17 13:55:01 UTC 2010


On Fri, Sep 17, 2010 at 3:19 PM, Phil Schaffner wrote:

> To see the packages from a
> particular Vendor, for example EPEL:[code]
> rpm -qa --qf "%{NAME} %{VENDOR} \n" | grep "Fedora Project" | cut -d ' '
> -f 1 | sort
> [/code]
> The result should be a list of EPEL packages.

Hi Phil,

This command is great to list (and remove) all packages from EPEL repository.

Thank you very much.

Best regards,

Morten



More information about the CentOS mailing list