Skip to main content
mariadb upgrade on ubuntu

Install Mariadb 11.x on Ubuntu 24.04

We needed to install Mariadb 11.3.2 as a galera node for a customer who had an ubuntu 24.04 container. The usual repository script for Mariadb doesn't yet support 24.04 so here is a quick hack to get you going:

apt install gnupg
curl -fsSL https://mariadb.org/mariadb_release_signing_key.asc | sudo gpg --dearmor -o /usr/share/keyrings/mariadb-archive-keyring.gpg
vi /etc/apt/sources.list and add
deb [signed-by=/usr/share/keyrings/mariadb-archive-keyring.gpg] https://dlm.mariadb.com/repo/mariadb-server/11.3/repo/ubuntu mantic main
apt install mariadb-server
systemctl enable mariadb

We are the UK's leading Linux support specialists. We do maintenance agreements, hosting, installations and security for all systems including Microsoft.

Contact info

Please contact us to discuss your requirements, we love a good problem!