安装工具
yum install yum-utils
yum install yum-plugin-downloadonly
yum install yumdownloadonly
yum install --downloadonly --downloaddir=/home java
yum reinstall --downloadonly --downloaddir=/home java
安装
rpm -ivh *.rpm
安装工具
yum install yum-utils
yum install yum-plugin-downloadonly
yum install yumdownloadonly
yum install --downloadonly --downloaddir=/home java
yum reinstall --downloadonly --downloaddir=/home java
安装
rpm -ivh *.rpm
转载于:https://www.cnblogs.com/coolYuan/p/10862976.html