https://downloads.mariadb.org
環境:
ubuntu 16.04 64位元架構
1. 先取得安裝來源的金鑰
sudo apt-get install software-properties-common
sudo
apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
sudo add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://ftp.ubuntu-tw.org/mirror/mariadb/repo/10.2/ubuntu xenial main'
2. 再更新一下apt-get的sources.list
sudo apt update
3. 最後才是真正的安裝執行指令
sudo apt install mariadb-server