How to completely remove a package in CentOS?
CentOS and other RPM-based distributions can utilize Yum to uninstall the packages. The erase or remove command uninstalls a package and a few of its dependencies. When it resolves the dependencies like in the following output, press y to complete uninstalling the package.