1

This question already has an answer here:

i'd like to setup phpmyadmin in Ubuntu without asking for parameters in prompts, i don't know if there's a way to pass these parameters in the command: sudo apt-get install phpmyadmin and give the options like the server type "apache2" and mysql admin password.

Thanks a lot.

marked as duplicate by Zoredache, mdpc, user62491, Falcon Momot, Ward Jul 25 '13 at 5:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1

phpmyadmin appears to be using debconf for the configuration of the main package. Which means the standard pre-seeding method applies.

See:

Also, if you set the installer to non-interactive configuration (DEBIAN_FRONTEND=noninteractive apt-get -y install), you can simply script or manually update the configuration files after the package has been installed.

Not the answer you're looking for? Browse other questions tagged or ask your own question.