download MariaDB Community Server 10.5 on Ubuntu 20.04 LTS code example
Example 1: install mariadb 10.2 ubuntu 16.04
sudo apt update
sudo apt install mariadb-server
Example 2: mariadb install on ubuntu 20.04
GRANT ALL ON *.* TO 'admin'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;
FLUSH PRIVILEGES;