You are not logged in.

#1 2010-11-28 16:17:12

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

pacman options to list non-AUR packages installed [solved]

Is there an innovative method to get a list of installed packages minus the manually installed packages?  Without writing a script to subtract the following two lists:

pacman -Qq
pacman -Qm

Last edited by graysky (2010-11-28 16:40:03)

Offline

#2 2010-11-28 16:38:28

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: pacman options to list non-AUR packages installed [solved]

Why would you need a script? Just pipe the output? Its a one-liner, and is all over the forums (and in some places in the wiki as well).

pacman -Qq | grep -vx "$( pacman -Qmq )"

EDIT: which basically translates to - no, I don't think there is =p

Last edited by ngoonee (2010-11-28 16:38:55)


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2010-11-28 16:39:51

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

Re: pacman options to list non-AUR packages installed [solved]

grrr... thanks.  I've been messing around with some bash code to do this!

Offline

#4 2010-11-28 16:51:12

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: pacman options to list non-AUR packages installed [solved]

comm works for this too:

comm -23 <(pacman -Qq) <(pacman -Qm)

Offline

Board footer

Powered by FluxBB