This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

Installing Mariadb 10.5 in debian 12 (bookworm)

Hello, I'm trying to install Mariadb version 10.5 on my debian 12 machine with the command "curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version="mariadb-10.5"" and is not working even if I specify "mariadb-10.5.23". If I specify "--os-type=debian --os-version=bullseye" it works, but that is not a solution that I like.

I need to install this specific version. Is there any solution that does not involve specifying a wrong os version? Or is there any problem specifying "--os-version=bullseye" even if I'm using bookworm (I'm sure there is, I just haven’t found them yet)?

Answer Answered by Faustin Lammler in this comment.

Hi! MariaDB 10.5 is not available for Debian 12 (bookworm).

I see only 2 options if you need this particular version:

- use docker version https://hub.docker.com/_/mariadb/tags?page=1&name=10.5;

- compile 10.5 from sources https://mariadb.com/kb/en/compiling-mariadb-from-source/.

Installing MariaDB 10.5 from bullseye repository is indeed not a good idea and will probably fail since there will be missing dependencies.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.