Run the following commands to uninstall mono and mono complete from Ubuntu
sudo apt remove mono-complete
sudo apt-get purge libmono* cli-common mono-runtime
You can verify whether the package is uninstalled by running the following command
dpkg-query -l mono-complete
and it will give you the following output:
dpkg-query: no packages found matching mono-complete