Linoxide published a tutorial about installing MariaDB on Ubuntu 20.04 LTS.
How to Install MariaDB on Ubuntu 20.04 LTS
This tutorial shows how to install Mariadb on Ubuntu 20.04. To install the latest version use Mariadb repo or simply use apt command.
How to Install MariaDB on Ubuntu 20.04 LTS