Roundcube Community Forum

Miscellaneous => Roundcube Discussion => Topic started by: kolleykibber on November 18, 2019, 12:35:24 PM

Title: non interactive install Ubuntu 16.04
Post by: kolleykibber on November 18, 2019, 12:35:24 PM
Hi.

I can't find an obvious way to run a non-interactive install for roundcube on ubuntu 16.04 LTS.

I install using:-

apt-get install -y roundcube-sqlite3
apt-get install -y roundcube roundcube-core
apt-get install -y roundcube-plugins-extra roundcube-plugins

And then copy a main.inc.php over for the config. However I can't find a way to prevent the dpkg database choice window from appearing. Am I missing something? Should I be asking in an Ubuntu forum?

Many Thanks,
Title: Re: non interactive install Ubuntu 16.04
Post by: kolleykibber on November 18, 2019, 01:15:19 PM
Found it..

echo "roundcube-core roundcube/dbconfig-install boolean true" | debconf-set-selections
echo "roundcube-core roundcube/database-type select sqlite3" | debconf-set-selections