You are not logged in.
I can list packages I have installed from AUR, for example to find all the developer components of Xfce that I have installed, I can run the following command:
pacman -Qim | grep -E "Name : xf".+devel
Which outputs:
Name : xfce4-appfinder-devel
Name : xfce4-dev-tools-devel
Name : xfce4-panel-devel
Name : xfce4-session-devel
Name : xfce4-settings-devel
Name : xfdesktop-devel
Name : xfwm4-devel
But, how do I find out if there are other packages that match the same regex pattern available in the AUR, maybe using yaourt? When I try:
yaourt -Si | grep -E "Name : xf".+devel
I get no output. When I don't include .+devel, I find out that none of the AUR packages are included. If I try to force it to search the AUR by including -a, it says that's not a valid option.
So, how do I search the AUR from the terminal?
Offline
Not a Sysdamin issue, moving to AUR Issues...
Offline
why not to search in the aur tab -> packages ?
ezik
Offline
I don't know the syntax of yaourt, but with cower you can do something like this:
cower -s devel xf.*-devel@shulamy: The AUR search is somewhat limited and doesn't support more complex searches like multiple substrings.
Last edited by progandy (2014-10-17 21:13:48)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
why not to search in the aur tab -> packages ?
ezik
I can't figure out how to do that search in the aur tab. Please explain how I can narrow down the packages to only those that have both 'xf' and 'devel' in the name?
Offline
I don't know the syntax of yaourt, but with cower you can do something like this:
cower -s devel xf.*-devel@shulamy: The AUR search is somewhat limited and doesn't support more complex searches like multiple substrings.
Thanks. yaourt didn't work that way and returns nothing at all, but the cower command you gave works perfectly. It almost seems that yaourt has lost the ability to query the AUR unless actually installing something. If anyone knows how to do it with yaourt, I'd still like to know.
Offline
cower transparently supports regex -- but not thanks to the AUR. In reality, the query "xf.*-devel" is actually asking the AUR to search for "xf". The returned results are filtered against the regex "xf.*-devel" and out pops magic.
Yaourt doesn't do this.
Offline
cower transparently supports regex -- but not thanks to the AUR. In reality, the query "xf.*-devel" is actually asking the AUR to search for "xf". The returned results are filtered against the regex "xf.*-devel" and out pops magic.
Yaourt doesn't do this.
I saw that, but Yaourt should be able to simply query the AUR without it trying to install stuff, but how? Does anyone know? I knew yaourt didn't support regex, that's why I was piping the output to grep. It worked for pacman, and works for yaourt when it uses pacman, but I can't figure out how to get it to return the contents of the AUR so I can pipe those contents through grep.
Offline
I have no idea how yaourt (fails to) work(s), but FWIW the pacman command you used could be simplified - both the command and the processing needed would be reduced:
pacman -Qim | grep -E "Name : xf".+devel
pacman -Qqm | grep -E "xf".+devel"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
you are right, its writen "keywords" but not what is the separator.
ezik
Offline
you can choose xfce in "category" and devel in "keywords".
ezik
Offline