public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] commands to show where a package is installed?
@ 2009-10-09 18:19 Zhengquan Zhang
  2009-10-09 18:21 ` Justin
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Zhengquan Zhang @ 2009-10-09 18:19 UTC (permalink / raw
  To: gentoo-user

Hi, Gentoo users,
I am new to gentoo and am wondering if there is a command to show
where a package is installed? which file is installed in which
directory?

Thanks a lot,

-- 
Zhengquan



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] commands to show where a package is installed?
  2009-10-09 18:19 [gentoo-user] commands to show where a package is installed? Zhengquan Zhang
@ 2009-10-09 18:21 ` Justin
  2009-10-09 18:35   ` Zhengquan Zhang
  2009-10-09 18:24 ` [gentoo-user] " Dale
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 23+ messages in thread
From: Justin @ 2009-10-09 18:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 283 bytes --]

Zhengquan Zhang wrote:
> Hi, Gentoo users,
> I am new to gentoo and am wondering if there is a command to show
> where a package is installed? which file is installed in which
> directory?
> 
> Thanks a lot,
> 
emerge app-portage/portage-utils and go with "qlist package"


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] commands to show where a package is installed?
  2009-10-09 18:19 [gentoo-user] commands to show where a package is installed? Zhengquan Zhang
  2009-10-09 18:21 ` Justin
@ 2009-10-09 18:24 ` Dale
  2009-10-10  0:33   ` [gentoo-user] " Harry Putnam
  2009-10-10 10:44 ` [gentoo-user] " Albert Hopkins
  2009-10-10 11:48 ` KH
  3 siblings, 1 reply; 23+ messages in thread
From: Dale @ 2009-10-09 18:24 UTC (permalink / raw
  To: gentoo-user

Zhengquan Zhang wrote:
> Hi, Gentoo users,
> I am new to gentoo and am wondering if there is a command to show
> where a package is installed? which file is installed in which
> directory?
>
> Thanks a lot,
>
>   

I'm not sure this is what you are talking about but this may help:

equery files <package name>

emerge gentoolkit for that command.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] commands to show where a package is installed?
  2009-10-09 18:21 ` Justin
@ 2009-10-09 18:35   ` Zhengquan Zhang
  2009-10-10  0:32     ` [gentoo-user] " Harry Putnam
  0 siblings, 1 reply; 23+ messages in thread
From: Zhengquan Zhang @ 2009-10-09 18:35 UTC (permalink / raw
  To: gentoo-user

2009/10/9 Justin <justin@j-schmitz.net>:
> Zhengquan Zhang wrote:
>> Hi, Gentoo users,
>> I am new to gentoo and am wondering if there is a command to show
>> where a package is installed? which file is installed in which
>> directory?
>>
>> Thanks a lot,
>>
> emerge app-portage/portage-utils and go with "qlist package"

Exactly, Thanks a bunch,

Zhengquan
>
>



-- 
Zhengquan



^ permalink raw reply	[flat|nested] 23+ messages in thread

* [gentoo-user]  Re: commands to show where a package is installed?
  2009-10-09 18:35   ` Zhengquan Zhang
@ 2009-10-10  0:32     ` Harry Putnam
  0 siblings, 0 replies; 23+ messages in thread
From: Harry Putnam @ 2009-10-10  0:32 UTC (permalink / raw
  To: gentoo-user

Zhengquan Zhang <zhang.zhengquan@gmail.com> writes:

> 2009/10/9 Justin <justin@j-schmitz.net>:
>> Zhengquan Zhang wrote:
>>> Hi, Gentoo users,
>>> I am new to gentoo and am wondering if there is a command to show
>>> where a package is installed? which file is installed in which
>>> directory?
>>>
>>> Thanks a lot,
>>>
>> emerge app-portage/portage-utils and go with "qlist package"
>
> Exactly, Thanks a bunch,

There is also `equery'

emerge app-portage/gentoolkit


equery files pkgname (without version number)

It can do a few things that q can't and vice-versa if I recall
correctly. 




^ permalink raw reply	[flat|nested] 23+ messages in thread

* [gentoo-user]  Re: commands to show where a package is installed?
  2009-10-09 18:24 ` [gentoo-user] " Dale
@ 2009-10-10  0:33   ` Harry Putnam
  0 siblings, 0 replies; 23+ messages in thread
From: Harry Putnam @ 2009-10-10  0:33 UTC (permalink / raw
  To: gentoo-user

Dale <rdalek1967@gmail.com> writes:

> Zhengquan Zhang wrote:
>> Hi, Gentoo users,
>> I am new to gentoo and am wondering if there is a command to show
>> where a package is installed? which file is installed in which
>> directory?
>>
>> Thanks a lot,
>>
>>   
>
> I'm not sure this is what you are talking about but this may help:
>
> equery files <package name>
>
> emerge gentoolkit for that command.

Gack... sorry Dale ... somehow I didn't see that you had already
mentioned equery.




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] commands to show where a package is installed?
  2009-10-09 18:19 [gentoo-user] commands to show where a package is installed? Zhengquan Zhang
  2009-10-09 18:21 ` Justin
  2009-10-09 18:24 ` [gentoo-user] " Dale
@ 2009-10-10 10:44 ` Albert Hopkins
  2009-10-10 11:48 ` KH
  3 siblings, 0 replies; 23+ messages in thread
From: Albert Hopkins @ 2009-10-10 10:44 UTC (permalink / raw
  To: gentoo-user

On Fri, 2009-10-09 at 13:19 -0500, Zhengquan Zhang wrote:
> Hi, Gentoo users,
> I am new to gentoo and am wondering if there is a command to show
> where a package is installed? which file is installed in which
> directory?

If you are used to rpm, or simply prefer the format of its output, there
is also the rpm-like command, "epm" and you can

$ epm -ql <package>


app-portage/epm






^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] commands to show where a package is installed?
  2009-10-09 18:19 [gentoo-user] commands to show where a package is installed? Zhengquan Zhang
                   ` (2 preceding siblings ...)
  2009-10-10 10:44 ` [gentoo-user] " Albert Hopkins
@ 2009-10-10 11:48 ` KH
  2009-10-10 15:57   ` Zhengquan Zhang
  3 siblings, 1 reply; 23+ messages in thread
From: KH @ 2009-10-10 11:48 UTC (permalink / raw
  To: gentoo-user

Zhengquan Zhang schrieb:
> Hi, Gentoo users,
> I am new to gentoo and am wondering if there is a command to show
> where a package is installed? which file is installed in which
> directory?
> 
> Thanks a lot,
> 

Hi,

not that powerful but sometimes also a help:


whereis - locate the binary, source, and manual page files for a command

kh



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] commands to show where a package is installed?
  2009-10-10 11:48 ` KH
@ 2009-10-10 15:57   ` Zhengquan Zhang
  2009-10-10 19:05     ` Dale
  2009-10-10 19:08     ` [gentoo-user] " Albert Hopkins
  0 siblings, 2 replies; 23+ messages in thread
From: Zhengquan Zhang @ 2009-10-10 15:57 UTC (permalink / raw
  To: gentoo-user

to be frank, it really amazes me that gentoo has so many options for a
simple task. It looks really flexible. I came from debian.

2009/10/10 KH <gentoo-user@konstantinhansen.de>:
> Zhengquan Zhang schrieb:
>>
>> Hi, Gentoo users,
>> I am new to gentoo and am wondering if there is a command to show
>> where a package is installed? which file is installed in which
>> directory?
>>
>> Thanks a lot,
>>
>
> Hi,
>
> not that powerful but sometimes also a help:
>
>
> whereis - locate the binary, source, and manual page files for a command
>
> kh
>
>



-- 
Zhengquan



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] commands to show where a package is installed?
  2009-10-10 15:57   ` Zhengquan Zhang
@ 2009-10-10 19:05     ` Dale
  2009-10-10 20:42       ` [gentoo-user] " Jonathan Callen
  2009-10-10 19:08     ` [gentoo-user] " Albert Hopkins
  1 sibling, 1 reply; 23+ messages in thread
From: Dale @ 2009-10-10 19:05 UTC (permalink / raw
  To: gentoo-user

Zhengquan Zhang wrote:
> to be frank, it really amazes me that gentoo has so many options for a
> simple task. It looks really flexible. I came from debian.
>
>   

Well, to quote a old song, you ain't seen nothing yet.  It amazes me
that you can ask how to find out something and you get about 5 or 6
different ways to do the same thing.  That's not even counting different
options that can be used for the same command. 

I would urge you to check into the "q" command and equery.  I !think!
the "q" command is part of portage.  It may be part of gentoolkit tho. 
Just the "q" command has more than a dozen different things it does. 
equery can do a lot too but some say it has some "accuracy" problems at
times.  It works for my little simple stuff tho.

Hope that gives you a little more pointers. 

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] commands to show where a package is installed?
  2009-10-10 15:57   ` Zhengquan Zhang
  2009-10-10 19:05     ` Dale
@ 2009-10-10 19:08     ` Albert Hopkins
  1 sibling, 0 replies; 23+ messages in thread
From: Albert Hopkins @ 2009-10-10 19:08 UTC (permalink / raw
  To: gentoo-user

On Sat, 2009-10-10 at 10:57 -0500, Zhengquan Zhang wrote:
> to be frank, it really amazes me that gentoo has so many options for a
> simple task. It looks really flexible. I came from debian.


I'll give you another one, and it doesn't require you to install any
extra package:

# cat /var/db/pkg/<category>/<package>-<version>/CONTENTS

;-)






^ permalink raw reply	[flat|nested] 23+ messages in thread

* [gentoo-user] Re: commands to show where a package is installed?
  2009-10-10 19:05     ` Dale
@ 2009-10-10 20:42       ` Jonathan Callen
  2009-10-11  6:10         ` Dale
  0 siblings, 1 reply; 23+ messages in thread
From: Jonathan Callen @ 2009-10-10 20:42 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dale wrote:
> I would urge you to check into the "q" command and equery.  I !think!
> the "q" command is part of portage.  It may be part of gentoolkit tho. 
> Just the "q" command has more than a dozen different things it does. 
> equery can do a lot too but some say it has some "accuracy" problems at
> times.  It works for my little simple stuff tho.

Actually, /usr/bin/q belongs to app-portage/portage-utils, not
app-portage/gentoolkit or sys-apps/portage. :)

- --
Jonathan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrQ8aMACgkQOypDUo0oQOr3GQCfaSxscToE74ml3QFMUHMMcFH0
7ZwAoLKlVdNJusziK+OYnjo+Pde1AO7W
=FBeM
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: commands to show where a package is installed?
  2009-10-10 20:42       ` [gentoo-user] " Jonathan Callen
@ 2009-10-11  6:10         ` Dale
  2009-10-11 16:25           ` James Ausmus
  0 siblings, 1 reply; 23+ messages in thread
From: Dale @ 2009-10-11  6:10 UTC (permalink / raw
  To: gentoo-user

Jonathan Callen wrote:
> Dale wrote:
> > I would urge you to check into the "q" command and equery.  I !think!
> > the "q" command is part of portage.  It may be part of gentoolkit tho.
> > Just the "q" command has more than a dozen different things it does.
> > equery can do a lot too but some say it has some "accuracy" problems at
> > times.  It works for my little simple stuff tho.
>
> Actually, /usr/bin/q belongs to app-portage/portage-utils, not
> app-portage/gentoolkit or sys-apps/portage. :)
>

Thanks.  I wasn't sure which package it belonged to.  I had forgot about
portage-utils.  Still a good command for someone to look into tho.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: commands to show where a package is installed?
  2009-10-11  6:10         ` Dale
@ 2009-10-11 16:25           ` James Ausmus
  2009-10-11 17:29             ` Dale
  2009-10-11 17:30             ` Albert Hopkins
  0 siblings, 2 replies; 23+ messages in thread
From: James Ausmus @ 2009-10-11 16:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 928 bytes --]

On Sat, Oct 10, 2009 at 11:10 PM, Dale <rdalek1967@gmail.com> wrote:

> Jonathan Callen wrote:
> > Dale wrote:
> > > I would urge you to check into the "q" command and equery.  I !think!
> > > the "q" command is part of portage.  It may be part of gentoolkit tho.
> > > Just the "q" command has more than a dozen different things it does.
> > > equery can do a lot too but some say it has some "accuracy" problems at
> > > times.  It works for my little simple stuff tho.
> >
> > Actually, /usr/bin/q belongs to app-portage/portage-utils, not
> > app-portage/gentoolkit or sys-apps/portage. :)
> >
>
> Thanks.  I wasn't sure which package it belonged to.  I had forgot about
> portage-utils.  Still a good command for someone to look into tho.
>


When you forget which package a command (or any random file) belongs to, a
great way to figure it out would be:

equery belongs $(which q)

;)

-James



>
> Dale
>
> :-)  :-)
>
>

[-- Attachment #2: Type: text/html, Size: 1571 bytes --]

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: commands to show where a package is installed?
  2009-10-11 16:25           ` James Ausmus
@ 2009-10-11 17:29             ` Dale
  2009-10-11 21:23               ` Alan McKinnon
  2009-10-11 17:30             ` Albert Hopkins
  1 sibling, 1 reply; 23+ messages in thread
From: Dale @ 2009-10-11 17:29 UTC (permalink / raw
  To: gentoo-user

James Ausmus wrote:
>
>
> On Sat, Oct 10, 2009 at 11:10 PM, Dale <rdalek1967@gmail.com
> <mailto:rdalek1967@gmail.com>> wrote:
>
>     Jonathan Callen wrote:
>     > Dale wrote:
>     > > I would urge you to check into the "q" command and equery.  I
>     !think!
>     > > the "q" command is part of portage.  It may be part of
>     gentoolkit tho.
>     > > Just the "q" command has more than a dozen different things it
>     does.
>     > > equery can do a lot too but some say it has some "accuracy"
>     problems at
>     > > times.  It works for my little simple stuff tho.
>     >
>     > Actually, /usr/bin/q belongs to app-portage/portage-utils, not
>     > app-portage/gentoolkit or sys-apps/portage. :)
>     >
>
>     Thanks.  I wasn't sure which package it belonged to.  I had forgot
>     about
>     portage-utils.  Still a good command for someone to look into tho.
>
>
>
> When you forget which package a command (or any random file) belongs
> to, a great way to figure it out would be:
>
> equery belongs $(which q)
>
> ;)
>
> -James
>
>  
>
>
>     Dale
>
>     :-)  :-)
>
>

I knew how to do it but I *thought* it would return a lot of hits from
anything containing the letter "q".  Later on when I had a little bit of
time to sit here, I tried it.  It only returned the one result.  Still
sort of surprised about that.  I actually just ran equery b q .  Neato
!  It has a microscope and read my mind.  o_O

Dale

:-)  :-) 





^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: commands to show where a package is installed?
  2009-10-11 16:25           ` James Ausmus
  2009-10-11 17:29             ` Dale
@ 2009-10-11 17:30             ` Albert Hopkins
  2009-10-11 21:24               ` Alan McKinnon
  1 sibling, 1 reply; 23+ messages in thread
From: Albert Hopkins @ 2009-10-11 17:30 UTC (permalink / raw
  To: gentoo-user

On Sun, 2009-10-11 at 09:25 -0700, James Ausmus wrote:
> When you forget which package a command (or any random file) belongs
> to, a
> great way to figure it out would be:
> 
> equery belongs $(which q) 

Or use 'q' to find itself:

$ q file `which q`
app-portage/portage-utils (/usr/bin/q)





^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: commands to show where a package is installed?
  2009-10-11 17:29             ` Dale
@ 2009-10-11 21:23               ` Alan McKinnon
  2009-10-11 21:43                 ` Dale
  2009-10-12  9:11                 ` Peter Humphrey
  0 siblings, 2 replies; 23+ messages in thread
From: Alan McKinnon @ 2009-10-11 21:23 UTC (permalink / raw
  To: gentoo-user

On Sunday 11 October 2009 19:29:19 Dale wrote:
> > equery belongs $(which q)
> >
> > ;)
> >
> > -James
> >
> >  
> >
> >
> >     Dale
> >
> >     :-)  :-)
> 
> I knew how to do it but I thought it would return a lot of hits from
> anything containing the letter "q".  Later on when I had a little bit of
> time to sit here, I tried it.  It only returned the one result.  Still
> sort of surprised about that.  I actually just ran equery b q .  Neato
> !  It has a microscope and read my mind.  o_O

which doesn't accept regular expressions or wild-cards, it wants a literal 
value. The man page says it will return the path used if the exact argument is 
entered on the command line. So you can only get one answer

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: commands to show where a package is installed?
  2009-10-11 17:30             ` Albert Hopkins
@ 2009-10-11 21:24               ` Alan McKinnon
  0 siblings, 0 replies; 23+ messages in thread
From: Alan McKinnon @ 2009-10-11 21:24 UTC (permalink / raw
  To: gentoo-user

On Sunday 11 October 2009 19:30:30 Albert Hopkins wrote:
> On Sun, 2009-10-11 at 09:25 -0700, James Ausmus wrote:
> > When you forget which package a command (or any random file) belongs
> > to, a
> > great way to figure it out would be:
> >
> > equery belongs $(which q)
> 
> Or use 'q' to find itself:
> 
> $ q file `which q`
> app-portage/portage-utils (/usr/bin/q)
> 

To amuse and delight your kids, have which find itself:

# which which
/usr/bin/which

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: commands to show where a package is installed?
  2009-10-11 21:23               ` Alan McKinnon
@ 2009-10-11 21:43                 ` Dale
  2009-10-12  9:11                 ` Peter Humphrey
  1 sibling, 0 replies; 23+ messages in thread
From: Dale @ 2009-10-11 21:43 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon wrote:
> On Sunday 11 October 2009 19:29:19 Dale wrote:
>   
>>> equery belongs $(which q)
>>>
>>> ;)
>>>
>>> -James
>>>
>>>  
>>>
>>>
>>>     Dale
>>>
>>>     :-)  :-)
>>>       
>> I knew how to do it but I thought it would return a lot of hits from
>> anything containing the letter "q".  Later on when I had a little bit of
>> time to sit here, I tried it.  It only returned the one result.  Still
>> sort of surprised about that.  I actually just ran equery b q .  Neato
>> !  It has a microscope and read my mind.  o_O
>>     
>
> which doesn't accept regular expressions or wild-cards, it wants a literal 
> value. The man page says it will return the path used if the exact argument is 
> entered on the command line. So you can only get one answer
>
>   

It appears so.  I learned something today.  Just wonder how long it will
stay around in my brain. 

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: commands to show where a package is installed?
  2009-10-11 21:23               ` Alan McKinnon
  2009-10-11 21:43                 ` Dale
@ 2009-10-12  9:11                 ` Peter Humphrey
  2009-10-12 10:13                   ` Alan McKinnon
  2009-10-12 10:17                   ` Dale
  1 sibling, 2 replies; 23+ messages in thread
From: Peter Humphrey @ 2009-10-12  9:11 UTC (permalink / raw
  To: gentoo-user

On Sunday 11 October 2009 22:23:11 Alan McKinnon wrote:

> > I knew how to do it but I thought it would return a lot of hits from
> > anything containing the letter "q".  Later on when I had a little bit of
> > time to sit here, I tried it.  It only returned the one result.  Still
> > sort of surprised about that.  I actually just ran equery b q .  Neato
> > !  It has a microscope and read my mind.  o_O
>
> which doesn't accept regular expressions or wild-cards, it wants a literal
> value. The man page says it will return the path used if the exact argument
> is entered on the command line. So you can only get one answer

Interesting. I tried it just out of interest and I got two:

$ equery b q
[ Searching for file(s) q in *... ]
app-portage/portage-utils-0.1.29 (/usr/bin/q)
sys-libs/ncurses-5.6-r2 (/usr/share/terminfo/q)
$

-- 
Rgds
Peter



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: commands to show where a package is installed?
  2009-10-12  9:11                 ` Peter Humphrey
@ 2009-10-12 10:13                   ` Alan McKinnon
  2009-10-12 10:17                   ` Dale
  1 sibling, 0 replies; 23+ messages in thread
From: Alan McKinnon @ 2009-10-12 10:13 UTC (permalink / raw
  To: gentoo-user; +Cc: Peter Humphrey

On Monday 12 October 2009 11:11:06 Peter Humphrey wrote:
> On Sunday 11 October 2009 22:23:11 Alan McKinnon wrote:
> > > I knew how to do it but I thought it would return a lot of hits from
> > > anything containing the letter "q".  Later on when I had a little bit
> > > of time to sit here, I tried it.  It only returned the one result. 
> > > Still sort of surprised about that.  I actually just ran equery b q . 
> > > Neato !  It has a microscope and read my mind.  o_O
> >
> > which doesn't accept regular expressions or wild-cards, it wants a
> > literal value. The man page says it will return the path used if the
> > exact argument is entered on the command line. So you can only get one
> > answer
> 
> Interesting. I tried it just out of interest and I got two:
> 
> $ equery b q
> [ Searching for file(s) q in *... ]
> app-portage/portage-utils-0.1.29 (/usr/bin/q)
> sys-libs/ncurses-5.6-r2 (/usr/share/terminfo/q)

There's always someone willing to go look and find the exceptions :-)

So your box just happens to have *two* files named "q" "-)


-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: commands to show where a package is installed?
  2009-10-12  9:11                 ` Peter Humphrey
  2009-10-12 10:13                   ` Alan McKinnon
@ 2009-10-12 10:17                   ` Dale
  2009-10-12 10:34                     ` Frank Steinmetzger
  1 sibling, 1 reply; 23+ messages in thread
From: Dale @ 2009-10-12 10:17 UTC (permalink / raw
  To: gentoo-user

Peter Humphrey wrote:
> On Sunday 11 October 2009 22:23:11 Alan McKinnon wrote:
>
>   
>>> I knew how to do it but I thought it would return a lot of hits from
>>> anything containing the letter "q".  Later on when I had a little bit of
>>> time to sit here, I tried it.  It only returned the one result.  Still
>>> sort of surprised about that.  I actually just ran equery b q .  Neato
>>> !  It has a microscope and read my mind.  o_O
>>>       
>> which doesn't accept regular expressions or wild-cards, it wants a literal
>> value. The man page says it will return the path used if the exact argument
>> is entered on the command line. So you can only get one answer
>>     
>
> Interesting. I tried it just out of interest and I got two:
>
> $ equery b q
> [ Searching for file(s) q in *... ]
> app-portage/portage-utils-0.1.29 (/usr/bin/q)
> sys-libs/ncurses-5.6-r2 (/usr/share/terminfo/q)
> $
>
>   

Hmmm, two apparently different commands with the same name.  I thought
that wasn't supposed to happen?

Dale

:-) :-) 



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: commands to show where a package is installed?
  2009-10-12 10:17                   ` Dale
@ 2009-10-12 10:34                     ` Frank Steinmetzger
  0 siblings, 0 replies; 23+ messages in thread
From: Frank Steinmetzger @ 2009-10-12 10:34 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 523 bytes --]

Am Montag, 12. Oktober 2009 schrieb Dale:

> > Interesting. I tried it just out of interest and I got two:
> >
> > $ equery b q
> > [ Searching for file(s) q in *... ]
> > app-portage/portage-utils-0.1.29 (/usr/bin/q)
> > sys-libs/ncurses-5.6-r2 (/usr/share/terminfo/q)
> > $
>
> Hmmm, two apparently different commands with the same name.  I thought
> that wasn't supposed to happen?
>
> Dale

Relax, it's just a directory.
-- 
Gruß | Greetings | Qapla'
Killing for peace is like fucking for virginity.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2009-10-12 10:34 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-09 18:19 [gentoo-user] commands to show where a package is installed? Zhengquan Zhang
2009-10-09 18:21 ` Justin
2009-10-09 18:35   ` Zhengquan Zhang
2009-10-10  0:32     ` [gentoo-user] " Harry Putnam
2009-10-09 18:24 ` [gentoo-user] " Dale
2009-10-10  0:33   ` [gentoo-user] " Harry Putnam
2009-10-10 10:44 ` [gentoo-user] " Albert Hopkins
2009-10-10 11:48 ` KH
2009-10-10 15:57   ` Zhengquan Zhang
2009-10-10 19:05     ` Dale
2009-10-10 20:42       ` [gentoo-user] " Jonathan Callen
2009-10-11  6:10         ` Dale
2009-10-11 16:25           ` James Ausmus
2009-10-11 17:29             ` Dale
2009-10-11 21:23               ` Alan McKinnon
2009-10-11 21:43                 ` Dale
2009-10-12  9:11                 ` Peter Humphrey
2009-10-12 10:13                   ` Alan McKinnon
2009-10-12 10:17                   ` Dale
2009-10-12 10:34                     ` Frank Steinmetzger
2009-10-11 17:30             ` Albert Hopkins
2009-10-11 21:24               ` Alan McKinnon
2009-10-10 19:08     ` [gentoo-user] " Albert Hopkins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox