bergamot
August 26th, 2011, 01:42 PM
When I run 'apt-get install <some_package>' it asks you to enter configuration information for some packages.
I'd like to be able to install a list of packages automatically without having to enter any information, ie. an automated installation.
I looked in the man page for apt-get, and I was looking for maybe 2 possibilities:
1) tell it not to require input; I'll download the configuration files later
2) enter the options in the apt-get command.
I found what _might_ be what's required for option (2), the --option, but I found the instructions for using it not understandable. It says 'The syntax is -o Foo::Bar=bar', but I don't know where to go from there, and I'm not even sure it's relevant to what I want to do.
Can anyone advise?
As an example, I want to install nslcd, and either sort out the configuration later (I have an ldap config file ready), or enter the ldap configuration along with the apt-get command. At present I have to enter the information interactively, which negates the possibility of an unattended install.
Many thanks
I'd like to be able to install a list of packages automatically without having to enter any information, ie. an automated installation.
I looked in the man page for apt-get, and I was looking for maybe 2 possibilities:
1) tell it not to require input; I'll download the configuration files later
2) enter the options in the apt-get command.
I found what _might_ be what's required for option (2), the --option, but I found the instructions for using it not understandable. It says 'The syntax is -o Foo::Bar=bar', but I don't know where to go from there, and I'm not even sure it's relevant to what I want to do.
Can anyone advise?
As an example, I want to install nslcd, and either sort out the configuration later (I have an ldap config file ready), or enter the ldap configuration along with the apt-get command. At present I have to enter the information interactively, which negates the possibility of an unattended install.
Many thanks