rpm安装jdk
rpm -ivh jdk-8u152-linux-x64.rpm
卸载
rpm e jdk-8u152-linux-x64.rpm
rpm -e mysql-community-libs-5.6.27-2.el6.x86_64
升级一个rpm包:
命令: rpm -Uvh filename
“-U” : 即升级的意思
卸载一个rpm包:
命令: rpm -e filename
yum安装程序查询
yum list |grep java
yum install git
yum remove git