Featured
- Get link
- X
- Other Apps
Install MariaDB 10.11 on Ubuntu 24.04
MariaDB is a popular open-source relational database server that was created as a community-driven fork of MySQL. It is known for its speed, reliability, and compatibility with existing MySQL applications. In this tutorial, you will learn how to install MariaDB 10.11 on Ubuntu 24.04 by adding the official MariaDB repository and using the system package manager.
Install Required Packages
First, install the required packages for secure package downloads:
sudo apt-get install apt-transport-https curl
Import the MariaDB Repository Key
Next, create the keyring directory and import the MariaDB signing key:
sudo mkdir -p /etc/apt/keyrings
sudo curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp'
Add the MariaDB Repository
Create a new repository file under /etc/apt/sources.list.d
(for example /etc/apt/sources.list.d/mariadb.sources
) and add the following content:
# MariaDB 10.11 repository list - created 2025-09-01 16:56 UTC
# https://mariadb.org/download/
X-Repolib-Name: MariaDB
Types: deb
# deb.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https://mariadb.org/mirrorbits/ for details.
# URIs: https://deb.mariadb.org/10.11/ubuntu
URIs: https://mirrors.accretive-networks.net/mariadb/repo/10.11/ubuntu
Suites: noble
Components: main main/debug
Signed-By: /etc/apt/keyrings/mariadb-keyring.pgp
Save and close the file. This tells your system where to find the MariaDB 10.11 packages.
Update Package Index
After adding the repository, update your package index so Ubuntu can fetch the new MariaDB packages:
sudo apt-get update
Install MariaDB 10.11
Now install the MariaDB server package:
sudo apt-get install mariadb-server
This will install MariaDB 10.11 and all necessary dependencies.
Verify MariaDB Installation
To verify that MariaDB is installed and running, check the service status:
systemctl status mariadb
You should see MariaDB active and running on your system. You can also log in using:
mysql -u root -p
Conclusion
You have successfully installed MariaDB 10.11 on Ubuntu 24.04. By adding the official MariaDB repository, you ensure that you get the latest stable updates and security patches directly from the MariaDB project. Your database server is now ready to be secured and used for applications, websites, or development projects.
- Get link
- X
- Other Apps
Popular Posts
Install PHP 8.1 with Apache2 on Ubuntu 24.04
- Get link
- X
- Other Apps
Comments
Post a Comment