33
rated 0 times
[
33]
[
0]
/ answers: 1 / hits: 62317
/ 3 Years ago, sat, november 6, 2021, 4:30:53
What is the most stable/safest way to install MariaDB?
More From » package-management
What is the most stable/safest way to install MariaDB?
Install the repo manager
sudo apt-get install python-software-properties
Import the GnuPG signing key
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
Modify your sources.list
file to add MariadDB
Open it from terminal (gksudo gedit /etc/apt/sources.list
) and add the following lines at the end:
For Version 10:
deb http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu precise main
deb-src http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu precise main
Or have the lines automatically added with:
sudo add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu precise main'
For Version 5.5:
deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu precise main
deb-src http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu precise main
Or have the lines automatically added with:
sudo add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu precise main'
Refresh your system
sudo apt-get update
And finally install MariaDB
sudo apt-get install mariadb-server
For further information see the their download page.