Hi,
I cannot find a way to install only the dependencies of a package. Can I do that?
Cheers
Hi,
I cannot find a way to install only the dependencies of a package. Can I do that?
Cheers
Something like this should work, I would imagine.
❯ sudo pacman -S $(pacman -Si krita | grep -i 'depends on' | cut -d ':' -f 2)
Replace krita
with your package
I wonder: what are possible use cases could that be for?
note : is dependencies only if we install with --asdeps
if install alone - otherwise, it’s a very bad use
It might be used when you modify the package’s PKGBUILD file. Then, you already have all dependencies installed and can experiment with the building and installation scripts.