install mariadb 10.4 on ubuntu 18.04 code example Example: install mariadb 10.2 ubuntu 16.04 sudo apt update sudo apt install mariadb-server