Installing MariaDB 10 on Ubuntu 12.04 LTS
Installing MariaDB 10 on Ubuntu 12.04 LTS using MariaDB’s repository
-
Import the key and install the MariaDB repository.
sudo apt-get install python-software-properties sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db sudo add-apt-repository 'deb http://ftp.yz.yamagata-u.ac.jp/pub/dbms/mariadb/repo/10.0/ubuntu precise main' -
After importing the key and installing the repository, run the following commands to install MariaDB.
sudo apt-get update sudo apt-get install mariadb-server
Alternatively, use the repository list below to create a sources list file named MariaDB.list (/etc/apt/sources.list.d/MariaDB.list), or add it to /etc/apt/sources.list to add the MariaDB repository to the system.
# MariaDB 10.0 repository list
# http://mariadb.org/mariadb/repositories/
deb http://ftp.yz.yamagata-u.ac.jp/pub/dbms/mariadb/repo/10.0/ubuntu precise main
deb-src http://ftp.yz.yamagata-u.ac.jp/pub/dbms/mariadb/repo/10.0/ubuntu precise main