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