Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Listing installed packages under certain category

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
kipibenkipod
n00b
n00b
User avatar
Posts: 53
Joined: Thu Apr 15, 2010 8:05 am
Location: Israel

Listing installed packages under certain category

  • Quote

Post by kipibenkipod » Fri Apr 16, 2010 1:43 pm

Hi,

Code: Select all

for i in /usr/portage/dev-ruby/*; do eix -I --compact dev-ruby/$(basename $i); done  | grep I
Or

Code: Select all

equery list -i | grep dev-ruby
Is there a simpler way to do it?

Thanks,
Kfir
My Gentoo blog - "Gentoo! What did you say?"
Top
avx
Advocate
Advocate
User avatar
Posts: 2152
Joined: Mon Jun 21, 2004 4:06 am

  • Quote

Post by avx » Fri Apr 16, 2010 2:00 pm

Code: Select all

eix -IcA dev-ruby | less
?

Basically, -A defines the category for eix to look in.
Top
kipibenkipod
n00b
n00b
User avatar
Posts: 53
Joined: Thu Apr 15, 2010 8:05 am
Location: Israel

  • Quote

Post by kipibenkipod » Fri Apr 16, 2010 5:27 pm

avx wrote:

Code: Select all

eix -IcA dev-ruby | less
?

Basically, -A defines the category for eix to look in.
Hi avx,
Thanks for your response. This is just what I was looking for.
I wrote this solution in my blog Searching for installed packages in special section/category

Thanks again,
Kfir
My Gentoo blog - "Gentoo! What did you say?"
Top
sera
Retired Dev
Retired Dev
Posts: 1017
Joined: Fri Feb 29, 2008 3:03 pm
Location: CET

  • Quote

Post by sera » Fri Apr 16, 2010 6:29 pm

how about

Code: Select all

ls /var/db/pkg/<category of interest>/
Top
Polynomial-C
Retired Dev
Retired Dev
User avatar
Posts: 1432
Joined: Sun Jun 01, 2003 4:19 pm
Location: Germany

  • Quote

Post by Polynomial-C » Fri Apr 16, 2010 7:19 pm

Code: Select all

qlist -I dev-ruby
qlist belongs to app-portage/portage-utils
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Top
Mike Hunt
Watchman
Watchman
User avatar
Posts: 5287
Joined: Sun Jul 19, 2009 11:01 pm

  • Quote

Post by Mike Hunt » Fri Apr 16, 2010 7:32 pm

... and

Code: Select all

eix -I --only-names dev-ruby/
Top
Post Reply

6 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy