Install the rpm package
rpm -ivh +xxx.rpm to
uninstall the installed rpm package
Two key points:
1. If it is prompted that the xxx.rpm package has been installed, first use rpm -e –nodeps xxx to uninstall
2. If there are multiple versions, use rpm -e --allmatches to uninstall