在linux中安装oracle11包

[root@localhost ~]# rpm -q binutils
binutils-2.17.50.0.6-12.el5

[root@localhost ~]# rpm -q compat-libstdc++
package compat-libstdc++ is not installed
[root@localhost ~]# rpm -q elfutils-libelf
elfutils-libelf-0.137-3.el5
[root@localhost ~]# rpm -q elfutils-libelf-devel
elfutils-libelf-devel-0.137-3.el5
[root@localhost ~]# rpm -q gcc
gcc-4.1.2-46.el5
[root@localhost ~]# rpm -q gcc-c++
gcc-c++-4.1.2-46.el5
[root@localhost ~]# rpm -q glibc
glibc-2.5-38
[root@localhost ~]# rpm -q glibc-common
glibc-common-2.5-38
[root@localhost ~]# rpm -q glibc-devel
glibc-devel-2.5-38
[root@localhost ~]# rpm -q glibc-headers
glibc-headers-2.5-38
[root@localhost ~]# rpm -q ksh
ksh-20080202-13.el5
[root@localhost ~]# rpm -q libaio
libaio-0.3.106-3.2
[root@localhost ~]# rpm -q libaio-devel
package libaio-devel is not installed
[root@localhost ~]# rpm -q libgcc
libgcc-4.1.2-46.el5
[root@localhost ~]# rpm -q libstdc++
libstdc++-4.1.2-46.el5
[root@localhost ~]# rpm -q libstdc++-devel
libstdc++-devel-4.1.2-46.el5
[root@localhost ~]# rpm -q make
make-3.81-3.el5
[root@localhost ~]# rpm -q sysstat
package sysstat is not installed
[root@localhost ~]# rpm -q unixODBC
package unixODBC is not installed
[root@localhost ~]# rpm -q unixODBC-devel
package unixODBC-devel is not installed

 对于这些没有安装的包,我直接装入了RHEL的安装盘,在SERVER目录下找到了这些包,于是对它们进行安装。为了整理我的系统,我先是通过[root@localhost /]# mkdir installfile在/目录下建立了installfile的文件夹,存放以后会用到的安装包。把昨儿个的锐捷和QQ也丢在了这下面。

[root@localhost /]# cd ~
[root@localhost ~]# sudo mv ~/Desktop/compat-libstdc++-33-3.2.3-61.i386.rpm /installfile
[root@localhost ~]# sudo mv ~/Desktop/sysstat-7.0.2-3.el5.i386.rpm /install
[root@localhost ~]# sudo mv ~/Desktop/unixODBC-2.2.11-7.1.i386.rpm /installfile
[root@localhost ~]# sudo mv ~/Desktop/unixODBC-devel-2.2.11-7.1.i386.rpm /installfile
[root@localhost ~]# sudo mv ~/Desktop/libaio-devel-*  /installfile

[root@localhost ~]# sudo mv ~/Desktop/linuxqq*  /installfile
[root@localhost ~]# sudo mv ~/Desktop/mentohust*  /installfile

明显,我移错了文件夹。好汗,解决中~~ 恩,是因为我的/目录下没有install这样的文件夹,然后这个文件被剪切到根目录下自己就重命名为install了,哎哟,这个LINUX还真很奇妙嘛。

到此,我就可以安装这些包了~~,总共有5个要安装哦:

[root@localhost ~]# cd /installfile
[root@localhost installfile]# rpm -ivh syss*
warning: sysstat-7.0.2-3.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
   1:sysstat                ########################################### [100%]

[root@localhost installfile]# rpm -ivh compat*
warning: compat-libstdc++-33-3.2.3-61.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
        package compat-libstdc++-33-3.2.3-61.i386 is already installed
[root@localhost installfile]# rpm -ivh libaio*
warning: libaio-devel-0.3.106-3.2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
   1:libaio-devel           ########################################### [100%]
[root@localhost installfile]# rpm -ivh unixODBC*
warning: unixODBC-2.2.11-7.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
   1:unixODBC               ########################################### [ 50%]
   2:unixODBC-devel         ########################################### [100%]
[root@localhost installfile]# rpm -ivh unixODBC-devel*
warning: unixODBC-devel-2.2.11-7.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
        package unixODBC-devel-2.2.11-7.1.i386 is already installed

为了熟悉这些命令,我会经常选择用命令来做我想做的事情的~包的检查到此结束,总的来说还是挺顺利的。向前看++!!

 


 

本文出自 “智慧奶奶” 博客,转载请与作者联系!

你可能感兴趣的:(oracle,linux,职场,休闲)