pakku
pakku copied to clipboard
Option to always remove build dependencies.
Would it be possible to add a option in /etc/pakku.conf
to always remove build dependencies, if they were installed beforehand.
pakku autoremoves make dependencies for the package it installs.
For previously installed make deps use pacman -Rns $(pacman -Qtdq)
to clean system , then never install with other helpers ( I guess )
With "always removed" i mean, that i don't have to confirm Do you want to remove these packages? [Y/n]
the removal of those packages (pass --noconfirm
to pacman).
This could also be done for installing build dependencies Proceed with installation? [Y/n]
.
It could look like this:
BuildDepsNoConfirm
or something more general:
AddBuildDepsOptions = --noconfirm
RemoveBuildDepsOptions = --noconfirm
Oh, ok , I misunderstood
I think it would be better to implement it as part of batch interaction feature request. I think there should be Batch
option in which you can specify what to do automatically and how to answer these questions. For instance, now pakku may ask twice to remove build dependencies. It will ask for unnecessary at all build dependencies and for build dependencies which are optional for some packages.
As long as there is a option to disable / deactivate / set default for most of the questions, i'm ok with it.