转载:https://blog.csdn.net/lia17/article/details/82256565
rpm -ivh --force --nodeps *.rpm 强制装 rpm依赖包下载(oracle):yumdownloader --resolve --destdir /home/oracle/package binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel elfutils-libelf-devel-static gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers glibc-static kernel-headers pdksh libaio libaio-devel libgcc libgomp libstdc++ libstdc++-devel libstdc++-static make numactl-devel sysstat unixODBC unixODBC-devel 依赖包安装(oracle):yum install binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel elfutils-libelf-devel-static gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers glibc-static kernel-headers pdksh libaio libaio-devel libgcc libgomp libstdc++ libstdc++-devel libstdc++-static make numactl-devel sysstat unixODBC unixODBC-devel 依赖包本地安装(oracle):rpm -ivn *.rpm (需要在rpm包的目录下) 推荐方式:依赖包本地安装(oracle): yum localinstall *.rpm (需要在rpm包的目录下,并且需要先安装yum)