You are not logged in.
How does one list the explicitly installed packages and groups, where if a package was installed as part of a group, it only shows the group, not the package. The reason is I have a lot of packages, but I don't want to remove a package that is part of a group unless I want to remove the whole group.
The command pacman -Qen can list installed packages, but I don't know how to make it group groups.
For example, let's say I have explicitly installed package foo, and groups bar and qeuz, where bar contains bar1 and bar2, and quez contains quez1.
We know what this will do
$ pacman -Qen
foo
bar1
bar2
quez1
but I want a command to return:
$ <magic command>
foo
bar
quez
It is a bonus if it labels which are packages and which are groups.
Last edited by TheKing42 (2015-04-05 14:58:08)
That question on the noobie form freaked me out. I was able to figure it out, but why do we have that?
Offline
I don't believe pacman knows when you installed something as part of a group. It knows when something is part of a group, but not how you installed it.
Offline
The reason is I have a lot of packages, but I don't want to remove a package that is part of a group unless I want to remove the whole group.
Why?
Maybe expac may help with some of this.
Offline