You are not logged in.

#1 2010-04-17 01:18:03

Cafesolo
Member
Registered: 2010-04-16
Posts: 3

Getting a list of packages installed explicitly by me (excluding deps)

Hello everyone.

I'd like to get a list of all the packages that I've explicitly installed, excluding their dependencies.

So far I've tried pacman -Qs, which returns all the installed packages ordered alphabetically, and I've also checked the /var/log/pacman.log file, but it's a list of all the packages installed or removed over time, including dependencies.

I need something like what I see in /var/log/pacman.log but only for packages that I've explicitly installed.

Any ideas?

Offline

#2 2010-04-17 01:28:53

empthollow
Member
Registered: 2009-09-26
Posts: 168

Re: Getting a list of packages installed explicitly by me (excluding deps)

this should give you a list of explicitly installed packages

pacman -Qq

if you want to send it to a file do this

pacman -Qq > mypackages

--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org

Offline

#3 2010-04-17 01:37:39

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

Re: Getting a list of packages installed explicitly by me (excluding deps)

man pacman wrote:

...
QUERY OPTIONS
...
       -e, --explicit
           Restrict or filter output to packages explicitly installed. This
           option can be combined with -t to list top-level packages- those
           packages that were explicitly installed but are not required by any
           other package. (-Qet is equivalent to the pacman 2.9.X -Qe option.)

So... "pacman -Qe" is the correct answer

Offline

#4 2010-04-17 01:38:37

Cafesolo
Member
Registered: 2010-04-16
Posts: 3

Re: Getting a list of packages installed explicitly by me (excluding deps)

Hi empthollow,

I tried pacman -Qq but got a list of packages that I'm pretty sure I never installed explicitly, such as talloc, xf86miscproto and countless libraries. Those are obviously dependencies.

What I want is simply a list of all the packages or groups installed by me by executing pacman -S <package>.

Thanks for the quick reply, btw.

Offline

#5 2010-04-17 01:43:23

Cafesolo
Member
Registered: 2010-04-16
Posts: 3

Re: Getting a list of packages installed explicitly by me (excluding deps)

Thanks Allan!

Can't believe I missed that.

One more thing. pacman -Qe returns a list ordered alphabetically. Is it possible to get the same list ordered chronologically?

Offline

Board footer

Powered by FluxBB