Linux uninstall package / software using the CLI

Originally published at:

How do I uninstall package or software using the command line in Linux operating systems? How can I uninstall software on a Debian or Ubuntu Linux? Can you tell me command to uninstall package on a CentOS/RHEL/Oracle/Fedora Linux?

see manual pages of yum/rpm/dnf for Centos/Redhat/Fedora and apt-get for Debian family OS
for other binary/source packaes you can see README file when you extract it