I'd like to install an application using a standard bash- or shell-script, in order to deploy the application on several servers without a user interaction.
To give an example, let's say I'd like to install Pi Hole, which is pretty easy to install but it will open a graphical setup in order to install all components. When installing this application via a script the installation will fail or it'll be not working due to a lack of information.
Is there a way to skip graphical setups like this in Debian and provide a configuration file to provide the needed information while the setup process?
debconf-set-selections
if it's after the install phase. Not an answer because that's essentially throwing the manual at you.export DEBIAN_FRONTEND=noninteractive
before runningapt-get install
. It will choose default values than.