Whenever you uninstall or remove a program/package in Ubuntu, only the binaries are removed but some of the related configuration files remain in your system. They can be anywhere in /etc or as a hidden file/folder in your home directory.

At certain time and situation you might need to completely remove both the binaries and settings. There are 2 methods to do this in Ubuntu