You are not logged in.

#1 2015-07-16 03:09:44

koste
Member
From: Denmark
Registered: 2015-06-11
Posts: 10

[SOLVED]Combined pacman -Ss and pacman -Q

Is there a way for me to search for all the installed packages using pacman.
Currently if I do pacman -Ss networkmanager. I get a long list related to that search word and it also shows what packages I have installed(three in my case).
If I do pacman -Q networkmanager. It only shows packages with that exact name(in my case one).
I want to know if I can make pacman -Ss filter out all the packages that I haven't installed.

Last edited by koste (2015-07-16 07:45:20)

Offline

#2 2015-07-16 03:14:51

koste
Member
From: Denmark
Registered: 2015-06-11
Posts: 10

Re: [SOLVED]Combined pacman -Ss and pacman -Q

Okay. I ave to get used to reading the manual a bit more thoroughly. For anyone who might come across this.
You can do it by writing

pacman -Qs [search string]

Offline

#3 2015-07-16 03:14:55

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,594

Re: [SOLVED]Combined pacman -Ss and pacman -Q

pacman -Qh

Offline

#4 2015-07-16 03:27:45

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: [SOLVED]Combined pacman -Ss and pacman -Q

pacsearch

Edit:  that is -Ss and -Qs combined.   Which is what I thought was wanted by the title.   Turns out not so much...

Offline

#5 2015-07-16 04:08:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Combined pacman -Ss and pacman -Q

Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

#6 2015-07-16 05:27:55

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED]Combined pacman -Ss and pacman -Q

Scimmia wrote:

pacman -Qh

Which keyboard layout are you using? s and h aren't even close tongue

Or is it a new option not in stable?

Offline

#7 2015-07-16 06:29:09

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,594

Re: [SOLVED]Combined pacman -Ss and pacman -Q

x33a wrote:
Scimmia wrote:

pacman -Qh

Which keyboard layout are you using? s and h aren't even close tongue

Or is it a new option not in stable?

Try it and see.

Offline

#8 2015-07-16 07:01:33

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED]Combined pacman -Ss and pacman -Q

-Qh simply displays help for -Q.  Duh. Your reply is a bit too abstruse, in my opinion. I don't often object to "RTFM" type answers, but I might make an exception here.

Last edited by 2ManyDogs (2015-07-16 07:22:25)

Offline

#9 2015-07-16 08:37:28

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED]Combined pacman -Ss and pacman -Q

Scimmia wrote:
x33a wrote:
Scimmia wrote:

pacman -Qh

Which keyboard layout are you using? s and h aren't even close tongue

Or is it a new option not in stable?

Try it and see.

Ah, I see it now. I couldn't see it under the QUERY OPTIONS section of the man page, because -h isn't tied to a particular operation.

Last edited by x33a (2015-07-16 08:38:12)

Offline

Board footer

Powered by FluxBB