ubuntu 18 install mariadb code example
Example 1: install mariadb 10.2 ubuntu 16.04
sudo apt update
sudo apt install mariadb-server
Example 2: ubuntu install MariaDB
sudo add-apt-repository "deb [arch=amd64,arm64,ppc64el] http://mariadb.mirror.liquidtelecom.com/repo/10.4/ubuntu $(lsb_release -cs) main"