Skip interactive post install configuration
Skip interactive post install configuration
To skip interactive post install configuration in linux, you can do it by setting up the DEBIAN_FRONTEND variable to noninteractive. Then use the -y flag in apt-get install command.
Method 1 : Without using sudo. If this does not work, please try with sudo.
export DEBIAN_FRONTEND=noninteractive apt-get -y install [packagename]
Method 2 : Try with sudo,
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install [packagename]
Example : –
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install krb5-user