Install Arch package without optional dependencies

When installing an Arch package via system.yaml, does the package install all optional dependencies? If yes, how can I avoid that?
4 Replies
#1 mixed number hater
it does whatever pacman does, and you can't change it you can fork it and modify it if you'd like but it just does pacman -Sy package-name
Christian
ChristianOP3mo ago
Thanks. as far as I know, pacman leaves out all optional dependencies, which is exactly what I need.
Valkyrja
Valkyrja3mo ago
.triller_ received a thank you Jao!
Asterisk
Asterisk3mo ago
optional dependencies are not automatically installed if something is installed, it's a required dependency you can verify this by checking the package page on https://archlinux.org/packages/

Did you find this page helpful?