You are not logged in.

#1 2008-11-14 17:41:36

Majorix
Member
Registered: 2008-01-31
Posts: 96

Pacman/Yaourt Package Search

Suppose I want to search for a "python interpreter" or "java ide". When I type

yaourt -Ss python interpreter

then it returns results with python OR interpreter. I have also tried

yaourt -Ss "python interpreter"

and

yaourt -Ss python\ interpreter

in the hopes that it would work.

I want to know how this can be done, also if possible, I want to use wildcards.

I am out of ideas and Google didn't help me this time, so I decided to ask you wise people here. Please try to help me. Thanks.

Offline

#2 2008-11-14 18:55:30

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 331

Re: Pacman/Yaourt Package Search

I think that searching through pacman or yaourt need to me more specific. You use google to locate that python interpreter, and you use p/y to locate that specific software.
The search of p/y are more for the actual packages hosted, and not everything else.
You could find software through that method, but as said, I figure you are better off if you know what you are looking for.

Regarding searching for multiple words, I can't help.

Birger smile

Offline

#3 2008-11-14 21:13:52

atomic
Member
From: Srbija
Registered: 2008-08-20
Posts: 20
Website

Re: Pacman/Yaourt Package Search

when

yaourt python interpreter

then it finds next:

1 extra/mod_python 3.3.1-5
     an Apache module that embeds the Python interpreter within the server
2 aur/bpython 0.7.1-2
    A fancy interface to the Python interpreter
==>  Enter n° (separated by blanks, or a range) of packages to be installed
==>   ----------------------------------------------
==>

Offline

#4 2008-11-14 21:55:18

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: Pacman/Yaourt Package Search

Majorix wrote:

Suppose I want to search for a "python interpreter" or "java ide". When I type

yaourt -Ss python interpreter

then it returns results with python OR interpreter.

That used to be true. But if you try this with the current version of pacman, or with a more recent version of yaourt (try yaourt-git from AUR) you'll see that the results get ANDed.

In fact, I'm not quite sure what yaourt is doing. "pacman -Ss python interp" gives the same single result as "pacman -Ss interp python". That result can also be found with "yaourt -Ss python interp" but not with "yaourt -Ss interp python".

If you don't want to upgrade to yaourt-git, you can always do this:

yaourt -Ss python | grep interp

Offline

#5 2008-11-15 11:26:25

Majorix
Member
Registered: 2008-01-31
Posts: 96

Re: Pacman/Yaourt Package Search

Thanks everyone for the replies.

@MindTooth:
Google is good, but I have to find the packages right from the terminal making it much easier.

@atomic:
I don't get what you mean. Care to explain?

@Profjim:
I almost never use Pacman, I am a fan of Yaourt. I hope that, as you say, the newer releases of Pacman/Yaourt has this feature. It is pretty simple to implement isn't it?
And I use the grep command (for now), which is usually fooled by the definitions of packages. It (because of its nature) returns the line in which it finds the BOTH terms.

So any other ideas?

Offline

#6 2008-11-15 11:57:38

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: Pacman/Yaourt Package Search

Have a look at Tupac.


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#7 2008-11-15 12:49:25

Majorix
Member
Registered: 2008-01-31
Posts: 96

Re: Pacman/Yaourt Package Search

finferflu wrote:

Have a look at Tupac.

Wow... Just installed. Looks promising! Thanks a lot big_smile

Why isn't tupac as famous as or as widely used as yaourt?

Offline

#8 2008-11-15 13:09:58

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: Pacman/Yaourt Package Search

Majorix wrote:

Why isn't tupac as famous as or as widely used as yaourt?

Simply because more people like yoghurt than Tupac. Also, yoghurt is widely available in supermarkets in most countries whereas Tupac is deceased.

yoghurt.jpg
tupac_amaru_shakur.jpg

Last edited by Xyne (2008-11-15 13:10:47)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#9 2008-11-15 14:31:03

Majorix
Member
Registered: 2008-01-31
Posts: 96

Re: Pacman/Yaourt Package Search

Please try to "contribute" to the thread.

Offline

Board footer

Powered by FluxBB