Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Determining executables installed by an emerge
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
vivek
n00b
n00b


Joined: 19 Jul 2002
Posts: 51
Location: In Your Nightmare

PostPosted: Thu Jun 12, 2003 3:44 am    Post subject: Determining executables installed by an emerge Reply with quote

Hello

Yesterday I had a look at my /usr/bin directory and was shocked to find soooo many executables.

This got me thinking if there is some way that emerge can be 'enhanced' so that it would be possible to see which 'executables' were installed by a package.

e.g.
emerge --show-executables mozilla

should show the executables (and their location) that have been installed by the emerging of mozilla.

This could be useful when we would like to organize our own menu entires and need to know "the name of that executable that corresponds to the package that we just installed" type of situations.

Just my thoughts. What do you think about it ?

Thank you
Back to top
View user's profile Send private message
mlang
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2003
Posts: 82
Location: Near Pittsburgh, PA

PostPosted: Thu Jun 12, 2003 4:06 am    Post subject: Re: Determining executables installed by an emerge Reply with quote

vivek wrote:
This got me thinking if there is some way that emerge can be 'enhanced' so that it would be possible to see which 'executables' were installed by a package.


Try the qpkg tool in gentoolkit.

Code:
qpkg -l mozilla

would list all the things belonging to mozilla, and I guess you could do something like this to get the items in /usr/bin:

Code:
qpkg -l mozilla | grep /usr/bin/


I'm not an expert by any means - I'm sure there's a better way to use qpkg to do what you're talking about, but that's what I thought of right off the bat.

Hope this helps. :)
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