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.