Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: commands to show where a package is installed?
Date: Sun, 11 Oct 2009 17:29:24
Message-Id: 4AD215EF.1060808@gmail.com
In Reply to: Re: [gentoo-user] Re: commands to show where a package is installed? by James Ausmus
1 James Ausmus wrote:
2 >
3 >
4 > On Sat, Oct 10, 2009 at 11:10 PM, Dale <rdalek1967@×××××.com
5 > <mailto:rdalek1967@×××××.com>> wrote:
6 >
7 > Jonathan Callen wrote:
8 > > Dale wrote:
9 > > > I would urge you to check into the "q" command and equery. I
10 > !think!
11 > > > the "q" command is part of portage. It may be part of
12 > gentoolkit tho.
13 > > > Just the "q" command has more than a dozen different things it
14 > does.
15 > > > equery can do a lot too but some say it has some "accuracy"
16 > problems at
17 > > > times. It works for my little simple stuff tho.
18 > >
19 > > Actually, /usr/bin/q belongs to app-portage/portage-utils, not
20 > > app-portage/gentoolkit or sys-apps/portage. :)
21 > >
22 >
23 > Thanks. I wasn't sure which package it belonged to. I had forgot
24 > about
25 > portage-utils. Still a good command for someone to look into tho.
26 >
27 >
28 >
29 > When you forget which package a command (or any random file) belongs
30 > to, a great way to figure it out would be:
31 >
32 > equery belongs $(which q)
33 >
34 > ;)
35 >
36 > -James
37 >
38 >
39 >
40 >
41 > Dale
42 >
43 > :-) :-)
44 >
45 >
46
47 I knew how to do it but I *thought* it would return a lot of hits from
48 anything containing the letter "q". Later on when I had a little bit of
49 time to sit here, I tried it. It only returned the one result. Still
50 sort of surprised about that. I actually just ran equery b q . Neato
51 ! It has a microscope and read my mind. o_O
52
53 Dale
54
55 :-) :-)

Replies

Subject Author
Re: [gentoo-user] Re: commands to show where a package is installed? Alan McKinnon <alan.mckinnon@×××××.com>