Installing MariaDB 10 on Debian 11 Bullseye Linux

Install MariaDB Server 10.6 on Debian 11 Bullseye Linux

sudo apt update

1. Refresh the repository cache
Run the system update command which will install all available updates as well as the system repository cache refresh.

Note: if you want the version available by default in the Debian 11 base repository, you can check it with a command:

sudo apt install mariadb-server

apt show mariadb-server
While to install it the command will be:

Those who want version 10.6 can go further …

2. Install common packages
There are few packages that we need to easily manage our distribution and independent software vendor sources.

sudo apt-get install software-properties-common dirmngr 2. Importing the MariaDB GPG public key on Debian 11
Let’s download and add a GPG key, signed by the MariaDB developers to verify the packages we get to install this database. This will help the system to confirm if the packages are from the genuine source and have not been modified.

sudo chmod -c 644 mariadb_release_signing_key.asc
sudo mv -vi mariadb_release_signing_key.asc /etc/apt/trusted.gpg.d/ 3. Add a repository
Then add the MariaDB repository intended to obtain version 10.06 manually on your Linux Debian 11; using the command below:

Paste the entire block of the given command and hit the Enter key. echo “deb [arch=amd64,arm64,ppc64el]
principal bullseye ”| sudo tee /etc/apt/sources.list.d/mariadb.list
sudo apt update

4. Install MariaDB 10.6 on Debian 11 Bullseye
After running all the above commands, we can easily install MariaDB 10.6. To check and confirm we can use APT show command: apt show mariadb-server
Add a MariaDB repository in Debian 11

To install it: sudo apt install mariadb-server
install the mariadb server on Debian 11

Summary of the news:

  • Installing MariaDB 10 on Debian 11 Bullseye Linux
  • Check out all the news and articles about the latest security updates.

Disclaimer: If you need to update / change this news or article, please visit our Help Center.

About Jon Moses

Check Also

Explore the main types of AWS storage for files, blocks, and objects

Organizations new to AWS are sometimes surprised to learn that Amazon offers several types …

Leave a Reply

Your email address will not be published.