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

Skip interactive post install configuration

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.