Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.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 21:26:15
Message-Id: 200910112324.10412.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] Re: commands to show where a package is installed? by Albert Hopkins
1 On Sunday 11 October 2009 19:30:30 Albert Hopkins wrote:
2 > On Sun, 2009-10-11 at 09:25 -0700, James Ausmus wrote:
3 > > When you forget which package a command (or any random file) belongs
4 > > to, a
5 > > great way to figure it out would be:
6 > >
7 > > equery belongs $(which q)
8 >
9 > Or use 'q' to find itself:
10 >
11 > $ q file `which q`
12 > app-portage/portage-utils (/usr/bin/q)
13 >
14
15 To amuse and delight your kids, have which find itself:
16
17 # which which
18 /usr/bin/which
19
20 --
21 alan dot mckinnon at gmail dot com