You are not logged in.

#1 2015-02-10 19:30:42

choosegoose
Member
Registered: 2015-02-02
Posts: 13

[SOLVED] How to see packages that I installed myself?

For example, I myself installed these:

pacman -S vim
pacman -S xorg
pacman -S firefox

Is there a command that can show:

vim xorg firefox

?

Last edited by choosegoose (2015-02-10 21:41:53)

Offline

#2 2015-02-10 19:37:33

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,803

Re: [SOLVED] How to see packages that I installed myself?

Take a look at the file /var/log/pacman.log.  It has the dates, times and the specific commands used.  Of course, for installs, "I" == "root".  In other words, Joe user cannot install things, only root.

Last edited by ewaller (2015-02-10 19:38:12)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2015-02-10 19:42:38

SidK
Member
Registered: 2011-03-03
Posts: 116

Re: [SOLVED] How to see packages that I installed myself?

Do you mean explicitly installed packages? Try

pacman -Qe

Offline

#4 2015-02-10 19:44:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] How to see packages that I installed myself?

expac -Q "%n: %w" | grep explicit

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2015-02-10 19:44:40

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] How to see packages that I installed myself?

For a pacman command, 'pacman -Qqe' would be closest AFAIK.

pacman(8) wrote:

QUERY OPTIONS
...
       -e, --explicit
           Restrict or filter output to explicitly installed packages. This option can be combined with -t to list explicitly installed packages that are not required by
           any other package.

Though for me that's still a big list.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#6 2015-02-10 21:02:49

choosegoose
Member
Registered: 2015-02-02
Posts: 13

Re: [SOLVED] How to see packages that I installed myself?

expac -Q "%n: %w" | grep explicit
pacman -Qqe

these seem to do what I'm looking for but I'm little confused about xorg package.

first, there seem to be a lot entries like this:

xf86-input-evdev
xf86-input-joystick
xf86-input-keyboard
xf86-input-mouse
xf86-input-synaptics
xf86-input-vmmouse
xf86-input-void
xf86-video-ark
xf86-video-ast
xf86-video-ati
xf86-video-cirrus
xf86-video-dummy
xf86-video-fbdev
...

Apparently I've installed all of them with:

pacman -S xorg

So why arent "xf86-video-*" considered dependencies of "xorg", so pacman -Qqe would only show me "xorg" rather than many "xf86-video-*"?

and also how does pacman even know what "xorg" package is?
I can see "xorg-server" in ABS/extra but I can't seem to find "xorg" anywhere.

Last edited by choosegoose (2015-02-10 21:03:03)

Offline

#7 2015-02-10 21:09:45

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] How to see packages that I installed myself?

"xorg" is a package group. Search "group" in pacman(8) for more info.

Also FYI, you probably shouldn't have installed the entire "xorg" group.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#8 2015-02-10 21:13:01

dice
Member
From: Germany
Registered: 2014-02-10
Posts: 413

Re: [SOLVED] How to see packages that I installed myself?

"xorg" is a package group containing all the "xf86-video-*" packages and of course xorg-server and a lot more.
https://wiki.archlinux.org/index.php/Pa … age_groups

Last edited by dice (2015-02-10 21:14:50)


I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do.  (Gune | Titan A.E.)

Offline

#9 2015-02-10 21:41:35

choosegoose
Member
Registered: 2015-02-02
Posts: 13

Re: [SOLVED] How to see packages that I installed myself?

Oh ok.

Thanks a lot.

Offline

#10 2015-02-10 22:28:11

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

Re: [SOLVED] How to see packages that I installed myself?

If you're going to install packages from the ABS or AUR, you can set yourself as the packager in makepkg.conf and then look for your packages with

expac "%n:%p" -Q | awk -F: '$2 == "choosegoose" {print $1}'

Offline

Board footer

Powered by FluxBB