how i can make more complex searches using equo?

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Post Reply
totedati
Technological Hen
Posts: 417
Joined: Thu Jan 11, 2007 0:24
Location: Sibiu, Romania
Contact:

how i can make more complex searches using equo?

Post by totedati » Sat Feb 21, 2009 13:39

for example i can search for nvidia-drivers using equo with

Code: Select all

equo search nvidia-drivers
but i want also to show me only installed packages ... or only installed packages with tag=2.6.28-sabayon for example ... when i have multiple kernels installed sometime this command spit out too many info line as result of my query ...

will be nice if a syntax like this:

Code: Select all

equo search nvidia-drivers with tags=2.6.28-sabayon
or

Code: Select all

equo search nvidia-drivers where installed=true and with tags=2.6.28-sabayon
and so on can be used ...

also defaults is to show for every package a lot of info from search queries ... sometime i don't want so much info:

Code: Select all

equo query installed nvidia-drivers-180.22-r10
>>  @@ Searching...
>>      @@ Package: x11-drivers/nvidia-drivers-180.22-r10#2.6.28-sabayon       branch: 4
>>        Category:             x11-drivers
>>        Name:                 nvidia-drivers
>>        Masked:               False
>>        Available:            version: 180.22-r10 ~ tag: 2.6.28-sabayon ~ revision: 0
>>        Slot:                 2.6.28-sabayon
>>        Size:                 19.6MB
>>        Download:             packages/amd64/4/x11-drivers:nvidia-drivers-180.22-r10#2.6.28-sabayon~0.tbz2
>>        Checksum:             51b2c8d73d9b008dfcf08fa3880193e6
>>        ## Dependencies:
>>        ##                    media-libs/mesa
>>        ##                    app-emulation/emul-linux-x86-xlibs
>>        ##                    x11-base/xorg-server
>>        ##                    =sys-kernel/linux-sabayon-2.6.28
>>        ##                    sys-power/acpid
>>        ##                    virtual/modutils
>>        ## Conflicts:
>>        ##                    x11-drivers/nvidia-drivers
>>        ##                    app-emulation/emul-linux-x86-nvidia
>>        ##                    x11-drivers/nvidia-legacy-drivers
>>        Homepage:             http://www.nvidia.com/
>>        Description:          NVIDIA X11 driver and GLX libraries
>>        USE flags:            kernel_linux -elibc_glibc -userland_GNU
>>                              -amd64 distribution multilib
>>                              acpi
>>        Compiled with:        -Os -march=x86-64 -pipe
>>        Keywords:             ~x86 ~amd64 -*
>>        Created:              2009-02-13 08:51:44.690000
>>        License:              NVIDIA
>>  Keyword:    nvidia-drivers-180.22-r10
>>  Found:      1 entries
maybe a brief keyword or something like options=nohomepage, nodesc, no useflags etc, etc, can shrink this output to:

Code: Select all

>>  @@ Searching...
>>      @@ Package: x11-drivers/nvidia-drivers-180.22-r10#2.6.28-sabayon       branch: 4
>>        Masked:               False
>>        Available:            version: 180.22-r10 ~ tag: 2.6.28-sabayon ~ revision: 0
>>        Slot:                 2.6.28-sabayon
:shock:
linux is free, the expertise to harness it is not!
you don't make so much money selling open source software!
You make MORE money USING it, just like google!
linux registered user #352479

xlnagla
Sagely Hen
Posts: 1078
Joined: Mon May 28, 2007 2:44

Re: how i can make more complex searches using equo?

Post by xlnagla » Thu Apr 09, 2009 1:36

check out eix.

~xlnagla

kodiakmax
Advanced Hen
Posts: 278
Joined: Thu Oct 16, 2008 23:46

Re: how i can make more complex searches using equo?

Post by kodiakmax » Mon Apr 13, 2009 5:58

*agree* "eix" is great for package searching
If you check the wiki, use the search function and google you can find the answer to most of your questions.

Remember to mark your thread [Solved] if your issue is fixed.

Post Reply