install mariadb version 10.2 ubuntu code example Example: install mariadb 10.2 ubuntu 16.04 sudo apt update sudo apt install mariadb-server