Unix Technical Forum

Correct equery syntax

This is a discussion on Correct equery syntax within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Long time linux user who is new to Gentoo here...I need a little jump start on the syntax of ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 11:36 AM
lashawn.rivel@balcanicsoft.com
 
Posts: n/a
Default Correct equery syntax

Long time linux user who is new to Gentoo here...I need a little jump
start on the syntax of this command...

I've spent a good bit of time with the etcat and equery man pages and
can't get it right.

First question would be what package name to use. For example kde's kmix
could be...

kmix
kde-base/kmix
kde-base/kmix-3.4.1

Now suppose I want to see if file foo is in this package and maybe (or
also) get a description of the package - Could someone kindly offer an
example for me to look over? TIA.

Portage is new to me. I've done FreeBSD ports a bit but learned with
Slackware's type of package system.

Having said that - Gentoo is very impressive. I've used it about a month
now and really am enjoying it.

PS: What's up Old n'Bald (A cyber buddy)...


lashawn.rivel@balcanicsoft.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 11:36 AM
Paul Bredbury
 
Posts: n/a
Default Re: Correct equery syntax

lashawn.rivel@balcanicsoft.com wrote:
> kmix


That's the package name.

> kde-base/kmix


That's the category and package name - needed in the config files,
since some package names appear in more than one category.

> kde-base/kmix-3.4.1


That's a specific version of the package.

To see which package(s) a file belongs to (only works for *installed*
packages):
equery belongs clock
equery belongs /etc/conf.d/clock

To list the files in a package (only works for *installed* packages):
equery files baselayout

To get a description of a package:
emerge -s baselayout

"man portage" is well worth a read.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:25 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com