complete uninstall in linux code example
Example 1: apt remove
sudo apt-get --purge autoremove packagename
Example 2: how to completely remove apps ubuntu package
$ sudo apt-get remove package-name
sudo apt-get --purge autoremove packagename
$ sudo apt-get remove package-name