Uninstall some software on centos time, if the package query more, you can consider using xargs, side edge uninstall query
such as: The following package when the query mysql, query results piped to xargs, and then use the rpm -e --nodeps uninstall
Of course, if you do not want to use this method, then direct it with yum!