Kay Schenk
2015-Jul-21 21:02 UTC
[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
Jason Warr
2015-Jul-21 21:09 UTC
[CentOS] how to determine what's installed from a repository?
On 7/21/2015 4:02 PM, Kay Schenk wrote:> 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? >## List installed packages from a repo yumdb search from_repo 'my-*-repo'
Robert Wolfe
2015-Jul-21 21:09 UTC
[CentOS] how to determine what's installed from a repository?
Try: sudo yum repo-pkgs base info | less 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
Binet, Valere (NIH/NIA/IRP) [C]
2015-Jul-21 21:30 UTC
[CentOS] how to determine what's installed from a repository?
How about $ sudo yum list installed | grep <reponame> 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 > >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
Fred Smith
2015-Jul-21 23:06 UTC
[CentOS] how to determine what's installed from a repository?
On Tue, Jul 21, 2015 at 04:09:57PM -0500, Robert Wolfe wrote:> Try: > > sudo yum repo-pkgs base info | less > > Where "base" can be anyh repoid that you have installed.but "yum repo-pkgs" seems to work only on Centos-7. It's good if that's your distro, but not so great otherwise. but thanks for posting that, I hadn't yet learned about that option. <snip>> 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? >-- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------- "For the word of God is living and active. Sharper than any double-edged sword, it penetrates even to dividing soul and spirit, joints and marrow; it judges the thoughts and attitudes of the heart." ---------------------------- Hebrews 4:12 (niv) ------------------------------