2013-03-26 94 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命令安裝在計算機上的那個。