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