安装oracle 11g R2的时候提示:pdksh包没有安装 解决办法

在CenOS6、RHEL6或者ORACLE LINUX 6上安装oracle 11g R2的时候提示:pdksh包没有安装

wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/pdksh-5.2.14-37.el5_8.1.x86_64.rpm
rpm -ivh pdksh-5.2.14-37.el5_8.1.x86_64.rpm
报错 pdksh conflicts with ksh-20100621-12.el6_2.1.x86_64
rpm -e ksh-20100621-12.el6_2.1.x86_64 
如果曾经yum install 过oracle-rdbms-server-11gR2-preinstall
则还需要先卸载oracle-rdbms-server-11gR2-preinstall
rpm -e pdksh-5.2.14-37.el5_8.1.x86_64.rpm

卸载了ksh之后就简单咯

rpm -ivh pdksh-5.2.14-37.el5_8.1.x86_64.rpm

你可能感兴趣的:(数据库)