You are not logged in.
can i use pacman -Qi gnome* to query all of packages begined with gnome?some times i can not remember the exactlly names of packages~
i try to use * but failed.how to do it?
just from ubuntu to arch~really a newer~thx for help!
Offline
Hi turingcat.
The command pacman -Q will list every package installed on your computer. Simply pipe the output of this command to grep like this
$ pacman -Q | grep -i "gnome"
and it will list every package with "gnome" in it. The pipe command | allows you to send the output of one command to the input of another command. In this case, the output of the pacman -Q command is sent to the input of the grep command. The grep command is a very powerful search command and well worth spending some time learning it. See man grep for more options for grep, such as -i for ignore case, and other useful features. By using the -i ignore case parameter, this will find all instances of gnome, or Gnome, or gnOme, etc.
HTH
Pudge
Last edited by Pudge (2008-12-25 03:27:27)
Offline
Oldest bug in our bug tracker: http://bugs.archlinux.org/task/1561 Implementing that should implement it for the -Q option too
Offline
i know that use "|" and grep ,but i thought that should be a basic feature~
thx ~~
Offline
Patches welcome.
Offline
pacman -Qi $(pacman -Qqs gnome)(assuming you want the info output)
Last edited by Xyne (2008-12-25 06:51:56)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline