Programster's Blog

Tutorials focusing on Linux, programming, and open source

Ubuntu 16.04 - Install MariaDB 10.1

Prog-exec users can install MariaDB 10.1 on Ubuntu 16.04 by just running the command below:

prog-exec "16/1" "f24a3fc189ff6211e9cbeb7c02051da3c09f3346a0ac182d94f876c5a61a6390"

... or you can just copy, paste, and execute the following script:

sudo apt update
sudo apt install software-properties-common -y

sudo apt-key adv --recv-keys --keyserver \
hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8

sudo add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://lon1.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial main'

sudo apt update && sudo apt install mariadb-server -y