pacman -Qi
is the correct tool for this job.
this post was submitted on 13 Dec 2023
24 points (100.0% liked)
Arch Linux
7175 readers
2 users here now
The beloved lightweight distro
founded 4 years ago
MODERATORS
Ah, it worked. I thought Qi
only works for packages that are already installed.
Didn't knew it worked for things that are synced as a new dependency of a package
Dependencies are installed, they're just installed as dependencies lol
I believe Pacman -Si or -Sii [package name] is what you are looking for.
-Sii is reverse dependencies iirc
also pactree [-r]
would be quite useful
From the pacman man page:
-i, --info
Display information on a
given sync database package.
Passing two --info or -i
flags will also display
those packages in all
repositories that depend on
this package.
Oh, I didn't knew you can pass 2 i
s. I was depending on the tab completion from pacman
, but I didn't see that it says you could specify i
's