Skip to main content

Thread: help with apt-get: how to install package without prompting


when run 'apt-get install <some_package>' asks enter configuration information packages.

i'd able install list of packages automatically without having enter information, ie. automated installation.

looked in man page apt-get, , looking maybe 2 possibilities:

1) tell not require input; i'll download configuration files later

2) enter options in apt-get command.

found _might_ what's required option (2), --option, found instructions using not understandable. says 'the syntax -o foo::bar=bar', don't know go there, , i'm not sure it's relevant want do.

can advise?

example, want install nslcd, , either sort out configuration later (i have ldap config file ready), or enter ldap configuration along apt-get command. @ present have enter information interactively, negates possibility of unattended install.

many

hi there!

believe command trick

code:
export debian_frontend=noninteractive
then

code:
sudo apt-get -q -y install <package_name>
it assume “yes” (and quietly)

edit:debconf name of tool. page should going want know.


~caboose


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [all variants] help with apt-get: how to install package without prompting


Ubuntu

Comments