After adding the package using rpm
rpm -ivh 包名1
Remove
rpm -e 包名1
Add another version of the package
rpm -ivh 包名2
Install
yum install 软件
Why is the package that has been installed still deleted?
PHP中文网2017-06-24 09:44:46
Package name 1 and package name 2 are the same package, but the versions are different, and the version of package name 1 is higher than that of package name 2. If there is ` in front of the configuration, what you encountered will happen.
For example vue:''2.14'
If vue has a higher version than 2.1.4, when npm install, vue will be updated to the latest existing version!
三叔2017-06-24 09:44:46
rpm -e
The package name following is not the package name you installed
You should firstrpm -qa | grep xxx
Find out the installed and unnecessary package names
Then rpm -e xxx
//The xxx here is the package name searched by grep