CentOS/RHEL 如何安装PostgresSQL数据库Perl接口(perl-DBD-Pg)

时间:2019-11-20 08:52:52  来源:igfitidea点击:

在Redhat/RHEL/Fedora/CentOS Linux中,如何安装PostgresSQL Perl接口?

perl-DBD-Pg是PostgreSQL 数据库接口的Perl实现。

使用yum命令perl-DBD-Pg

# yum install perl-DBD-Pg

输出示例:

Loaded plugins: rhnplugin, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package perl-DBD-Pg.x86_64 0:1.49-2.el5_3.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package         Arch       Version              Repository                Size
================================================================================
Installing:
perl-DBD-Pg     x86_64     1.49-2.el5_3.1       rhel-x86_64-server-5     115 k

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 115 k
Is this ok [y/N]: y
Downloading Packages:
perl-DBD-Pg-1.49-2.el5_3.1.x86_64.rpm                    | 115 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : perl-DBD-Pg                                              1/1 

Installed:
  perl-DBD-Pg.x86_64 0:1.49-2.el5_3.1                                           

Complete!