uninstall mariadb on ubuntu 18.04 code example Example: remove mariadb $ sudo apt-get purge mariadb-server