Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Listing installed packages under certain category
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kipibenkipod
n00b
n00b


Joined: 15 Apr 2010
Posts: 53
Location: Israel

PostPosted: Fri Apr 16, 2010 1:43 pm    Post subject: Listing installed packages under certain category Reply with quote

Hi,
Code:

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

Or
Code:

equery list -i | grep dev-ruby


Is there a simpler way to do it?

Thanks,
Kfir
_________________
My Gentoo blog - "Gentoo! What did you say?"
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Fri Apr 16, 2010 2:00 pm    Post subject: Reply with quote

Code:
eix -IcA dev-ruby | less
?

Basically, -A defines the category for eix to look in.
Back to top
View user's profile Send private message
kipibenkipod
n00b
n00b


Joined: 15 Apr 2010
Posts: 53
Location: Israel

PostPosted: Fri Apr 16, 2010 5:27 pm    Post subject: Reply with quote

avx wrote:
Code:
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?"
Back to top
View user's profile Send private message
sera
Retired Dev
Retired Dev


Joined: 29 Feb 2008
Posts: 1017
Location: CET

PostPosted: Fri Apr 16, 2010 6:29 pm    Post subject: Reply with quote

how about
Code:
ls /var/db/pkg/<category of interest>/
Back to top
View user's profile Send private message
Polynomial-C
Retired Dev
Retired Dev


Joined: 01 Jun 2003
Posts: 1432
Location: Germany

PostPosted: Fri Apr 16, 2010 7:19 pm    Post subject: Reply with quote

Code:
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)
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Fri Apr 16, 2010 7:32 pm    Post subject: Reply with quote

... and
Code:
eix -I --only-names dev-ruby/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum