Completely remove MariaDB CentOS 8 code example Example: remove mariadb $ sudo apt-get purge mariadb-server