[CentOS] how to determine what's installed from a repository?

Kay Schenk kay.schenk at gmail.com
Tue Jul 21 21:39:16 UTC 2015



On 07/21/2015 02:30 PM, Binet, Valere (NIH/NIA/IRP) [C] wrote:
> How about
> 
> $ sudo yum list installed | grep <reponame>

YES! This did it! Thank you!


> 
> It won¹t work in CentOS 5 but it should work in 6 or 7
> 
> Valère Binet [C]
> IT Security Administrator
> Kelly Government Solutions On-Site at the NIH
> NIH / NIA / IRP
> Tel : 410 558 8013
> mailto:  binetv at nia.nih.gov
> 
> 
> 
> 
> On 7/21/15, 5:09 PM, "Robert Wolfe" <Robert.Wolfe at malco.com> wrote:
> 
>> Try:
>>
>> sudo yum repo-pkgs base info | less

This is the problem -- my version of yum does NOT have the repo-pkgs
command.

>>
>> Where "base" can be anyh repoid that you have installed.
>>
>> -----Original Message-----
>> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
>> Behalf Of Kay Schenk
>> Sent: Tuesday, July 21, 2015 4:03 PM
>> To: CentOS
>> Subject: [CentOS] how to determine what's installed from a repository?
>>
>> Hello all--
>>
>> I am trying to determine what I have isntalled from a given repository.
>>
>> I have seen several references to "yum repo-pkgs" which I think is what
>> would work for me, but  "repo-pkgs" does not seem to be a part of yum
>> 3.2.29. Is this a yum add on that I could get somewhere?
>>
>> --
>> --------------------------------------------
>> MzK
>>
>> "Way down deep, we're all motivated by
>> the  same urges.  Cats have the courage  to live by them."
>>                        -- Jim Davis
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 

-- 
--------------------------------------------
MzK

"Way down deep, we're all motivated by
 the  same urges.  Cats have the courage
 to live by them."
                        -- Jim Davis




More information about the CentOS mailing list