0

我有要安装到 CentOS 6 系统上的软件模块的 RPM。我已通过命令“rpm -ivh”将此 RPM 安装到 yum 数据库中。我的理解是,现在 RPM 可用于通过 'yum install ' 安装模块,但这并没有奏效,即当我尝试这样做时,我收到“无需安装”消息。所以我一定没有做对吗?任何人都可以建议吗?

仅供参考,这是我迄今为止尝试过的:

$ 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

提前感谢您的任何建议,见解等。

4

1 回答 1

0

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

于 2013-03-29T19:53:46.110 回答