View previous topic :: View next topic |
Author |
Message |
vivek n00b
Joined: 19 Jul 2002 Posts: 51 Location: In Your Nightmare
|
Posted: Thu Jun 12, 2003 3:44 am Post subject: Determining executables installed by an emerge |
|
|
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 |
|
|
mlang Tux's lil' helper
Joined: 24 Jan 2003 Posts: 82 Location: Near Pittsburgh, PA
|
Posted: Thu Jun 12, 2003 4:06 am Post subject: Re: Determining executables installed by an emerge |
|
|
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.
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 |
|
|
|