Re: [gentoo-user] commands to show where a package is installed?

2009-10-10 Thread Albert Hopkins
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






Re: [gentoo-user] commands to show where a package is installed?

2009-10-10 Thread KH

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



Re: [gentoo-user] commands to show where a package is installed?

2009-10-10 Thread Zhengquan Zhang
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-u...@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



Re: [gentoo-user] commands to show where a package is installed?

2009-10-10 Thread Dale
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

:-)  :-) 



Re: [gentoo-user] commands to show where a package is installed?

2009-10-10 Thread Albert Hopkins
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

;-)






Re: [gentoo-user] commands to show where a package is installed?

2009-10-09 Thread Justin
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



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] commands to show where a package is installed?

2009-10-09 Thread Dale
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

:-)  :-) 



Re: [gentoo-user] commands to show where a package is installed?

2009-10-09 Thread Zhengquan Zhang
2009/10/9 Justin jus...@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



Re: [gentoo-user] commands to show where a package is installed? [SOLVED]

2009-10-09 Thread Zhengquan Zhang
2009/10/9 Dale rdalek1...@gmail.com:
 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.

Thanks a lot for the command,

Zhengquan

 Dale

 :-)  :-)





-- 
Zhengquan