MariaDB 11.4.x installation fails on AlmaLinux 10

nano /etc/yum.repos.d/MariaDB.repo

//paste the following and save

[mariadb]
name = MariaDB
baseurl = https://rpm.mariadb.org/11.4/almalinux/$releasever/$basearch
gpgkey= https://rpm.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

then,
dnf install MariaDB-server