Author Topic: non interactive install Ubuntu 16.04  (Read 4128 times)

Offline kolleykibber

  • Newbie
  • *
  • Posts: 2
non interactive install Ubuntu 16.04
« 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,

Offline kolleykibber

  • Newbie
  • *
  • Posts: 2
Re: non interactive install Ubuntu 16.04
« Reply #1 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