uninstall mariadb server ubuntu 20.04 code example
Example 1: remove mariadb
$ sudo apt-get purge mariadb-server
Example 2: uninstall mariadb server and client in ubuntu 18.4
sudo apt-get autoremove
$ sudo apt-get purge mariadb-server
sudo apt-get autoremove