2013-03-26 65 views
0

我有我想要安装到CentOS 6系统上的软件模块的RPM。我已经通过命令'rpm -ivh'将此RPM安装到yum数据库中。我的理解是,现在RPM可以用来通过'yum install'来安装模块,但是这没有奏效,即当我尝试时,我得到了“没有安装”的消息。所以我不能做正确的事情?任何人都可以建议吗?如何使用RPM(cx_Oracle)将软件安装到CentOS 6上?

FYI这里是我试过到目前为止:

$ rpm -ivh cx_Oracle-5.1.2-11g-py27-1.x86_64.rpm 
Preparing...    ########################################### [100%] 
    1:cx_Oracle    ########################################### [100%] 

$ yum search cx_Oracle 
Loaded plugins: fastestmirror 
Loading mirror speeds from cached hostfile 
* base: mirror.ash.fastserv.com 
* extras: mirror.symnds.com 
* updates: ftp.linux.ncsu.edu 
base              | 3.7 kB  00:00 
extras             | 3.5 kB  00:00 
updates             | 3.5 kB  00:00 
============================ N/S Matched: cx_Oracle ============================ 
cx_Oracle.x86_64 : Python interface to Oracle 

$ yum install cx_Oracle 
Loaded plugins: fastestmirror 
Loading mirror speeds from cached hostfile 
* base: mirror.ash.fastserv.com 
* extras: mirror.symnds.com 
* updates: ftp.linux.ncsu.edu 
base              | 3.7 kB  00:00 
extras             | 3.5 kB  00:00 
updates             | 3.5 kB  00:00 
Setting up Install Process 
Nothing to do 

$ yum update cx_Oracle 
Loaded plugins: fastestmirror 
Loading mirror speeds from cached hostfile 
* base: mirror.ash.fastserv.com 
* extras: mirror.symnds.com 
* updates: ftp.linux.ncsu.edu 
base              | 3.7 kB  00:00 
extras             | 3.5 kB  00:00 
updates             | 3.5 kB  00:00 
Setting up Update Process 
No Packages marked for Update 

在此先感谢您的任何建议,见解等

回答

0

您已经安装的软件包。您使用rpm来安装cx_Oracle-5.1.2-11g-py27-1.x86_64.rpm。 yum search cx_Oracle报告的“cx_Oracle.x86_64”是您通过rpm命令安装在计算机上的那个。