Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.4.3 |  CUBRID 9.0.0 | 

Installing and Configuring Perl

  • Perl: It is recommended to use an appropriate version of Perl based on your system environment. For example, all Linux and FreeBSD distributions come with Perl. For Windows, ActivePerl is recommended. For details, see
  • CUBRID: You don't have to install CUBRID to build CUBRID Perl driver. You can download from
  • DBI:
  • C compiler: In most cases, there are binary distributions of DBD::cubrid ( available. However, if you want to build the driver from source code, a C compiler is required. Make sure to use the same C compiler that was used for compiling Perl and CUBRID. Otherwise, you will encounter problems because of differences in the underlying C runtime libraries.
Comprehensive Perl Archive Network (CPAN) Installation

You can automatically install the driver from source code by using the CPAN module.


install DBD::cubrid

If you are using the CPAN module for the first time, it is recommended to accept default settings.

If you are using an older version, you might enter the command line below, instead of command line above.

perl -MCPAN -e shell

install DBD::cubrid

Manual Installation

If you cannot get the CPAN module, you should download the DBD::cubrid source code. The latest version is always available below:

The file name is typically something like this: DBD-cubrid-X.X.X.tar.gz. After extracting the archive, enter the command line below under the DBD-cubrid-X.X.X directory. (On Windows, you may need to replace make with nmake or dmake.)

Perl Makefile.PL


make test

If test seems to look fine, execute the command to build a driver.

make install

Note To get the latest information about Perl driver, click