To list installed packages from a repo :

  yumdb search from_repo <repo_id>

Regards
Mal

On 05/11/14 03:51, Hakan Can wrote:
On 11/04/2014 06:25 PM, Brian Bernard wrote:
Is there a command in yum where you can sort packages by repository and
hence compare them with the lists you've provided?
Hi Brien,

We use rpm.

listing  all packages not in base repo,

     rpm -qa --qf  '%{NAME} %{VENDOR}\n' |grep -v CentOS

or just Fedora packages(epel).

     rpm -qa --qf  '%{NAME} %{VENDOR}\n' |grep Fedora

Thanks,

Hcan.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to