Programster's Blog

Tutorials focusing on Linux, programming, and open source

Ubuntu 16.04 - Install MariaDB 10.1

Run the command below install MariaDB 10.1 on Ubuntu 16.04:

curl -s https://scripts.programster.org/scripts/16?output=raw | bash

... or 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