Monday, October 18, 2021

Installing MariaDB 10 on Debian 11 Bullseye Linux

Must Read

Install MariaDB Server 10.6 on Debian 11 Bullseye Linux

1. Refresh Repository cache
Run the system update command that will install all the available updates along with refreshing of system repository cache.

sudo apt update

Note: If you want the default available version in the Debian 11 base repo then you can check that using a command:

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

sudo apt install mariadb-server

Those who want the 10.6 version can go for further steps…

2. Install common packages
There are few packages that we require 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 MariaDB developers to verify the packages that we get to install this Database. This will help the system to confirm whether the packages are from the authentic source and have not been altered. wget
sudo chmod -c 644 mariadb_release_signing_key.asc
sudo mv -vi mariadb_release_signing_key.asc /etc/apt/trusted.gpg.d/ 3. Add Repository
Next, add the MariaDB repo meant to get the version 10.06 manually on your Debian 11 Linux; using the below-given command:

Paste the whole block of the given command and hit the Enter key. echo “deb
bullseye main” | sudo tee /etc/apt/sources.list.d/mariadb.list
sudo apt update 4. Install MariaDB 10.6 on Debian 11 Bullseye
After performing the all above-given commands we can easily install MariaDB 10.6. To check and confirm we can use the APT show command: apt show mariadb-server
Add MariaDB repository in Debian 11

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

News Summary:

  • Installing MariaDB 10 on Debian 11 Bullseye Linux
  • Check all news and articles from the latest Security news updates.
Disclaimer: If you need to update/edit this article then please visit our help center. For Latest Updates Follow us on Google News

More Articles Like This

Latest News