sudo apt-get purge <package> (linux command)

      1. Definition:


This command is used in Linux to completely remove a software package, including the binary codes as well as configuration files. This command will not remove other packages which this package depends on.


One can follow up with command

sudo apt-get autoremove

to remove “orphaned packages”: packages that are installed as dependencies but are no longer needed.