You are not logged in.
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
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
...
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
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
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