uninstall applications from ubuntu code example
Example 1: ubuntu remove application
$ sudo apt-get remove package-name
Example 2: how to completely remove apps ubuntu package
$ sudo apt-get autoremove
$ sudo apt-get remove package-name
$ sudo apt-get autoremove