Saturday, September 19, 2009

equery

Definition : Equery is a package query tool.

Installation :

# emerge gentoolkit

USE :

Here is some common use about equery :

- List all installed package : equery l

$ equery l
ou
$ equery list


The output of the command is : [---] [--] package.

The first bracket can have these values :
I : installed package
P : Portage
O : Overlay

The second bracket can have these value :
~ : by keywords.
- : by arch
M : masqued


Example :
$ equery l
[ Searching for all packages in all categories among: ]
* installed packages
[I--] [ ] app-admin/eselect-1.1.3 (0)

[I--] [M ] app-admin/eselect-ctags-1.5 (0)

...


- List all dependency of a packet : equery depends [packet]

$ equery depends vim
[ Searching for packages depending on vim... ]

app-vim/gentoo-syntax-20070506 (>=app-editors/vim-7.0)

virtual/editor-0 (app-editors/vim)



- Search at which packet belongs this file : equery b [fichier]

# equery belongs /usr/bin/audacious
ou
# equery b /usr/bin/audacious


For more informations, you can see the official gentoo documentation : gentoolkit

No comments:

Post a Comment