Hey, sometimes when I do pacman -Syu, I see some weird package being installed and I am curious which explicitly installed package is installing/updating it.
How do I so with pacman?
I know we can easily find out why an installed package is being installed, but what about before the package is being installed?
7 Comments
backhdlp@lemmy.blahaj.zone · 12 pts · 2y
pacman -Qiis the correct tool for this job.0WN3D@lemmy.cafe · 1 pts · 2y
Ah, it worked. I thought
Qionly works for packages that are already installed. Didn't knew it worked for things that are synced as a new dependency of a packagebackhdlp@lemmy.blahaj.zone · 4 pts · 2y
Dependencies are installed, they're just installed as dependencies lol
pruneaue@lemmy.blahaj.zone · 8 pts · 2y
I believe Pacman -Si or -Sii [package name] is what you are looking for.
-Sii is reverse dependencies iirc
Discover5164@lemm.ee · 6 pts · 2y
also
pactree [-r]would be quite usefulvictorz@lemmy.world · 2 pts · 2y
From the pacman man page:
0WN3D@lemmy.cafe · 1 pts · 2y
Oh, I didn't knew you can pass 2
is. I was depending on the tab completion frompacman, but I didn't see that it says you could specifyi's