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 Python

For Linux/UNIX

There are three ways to install CUBRID Python driver on Linux, UNIX, and UNIX-like operating systems. You can find instructions for each of them below.

  • CUBRID: 2008 R4.0 (8.4.0) or later
  • Operating system: 32-bit or 64-bit Linux, UNIX, or UNIX-like operating systems
  • Python: 2.4 or later (
Installing CUBRID Python Driver using Yum (Fedora or CentOS)
  1. To install CUBRID Python driver by using the yum command, you need to tell Yum where to look for CUBRID package. First, visit one of the following links depending on your operating system.

    For the example to install CUBRID 9.0 on Fedora 17 is as folllows: (fc17 means this operating system version).

    rpm -i

  2. Enter the command below to install CUBRID Python driver.

    yum install python-cubrid

Building CUBRID Python Driver from Source Code (Linux)

To install CUBRID Python driver by compiling source code, you should have Python Development Package installed on your system. If you do not have the package, follow the instructions stated at

  1. Download the source code from
  2. Extract the archive to the desired location.

    tar xvfz cubrid-python-src-

  3. Navigate to the directory where you have extracted the source code.

    cd cubrid-python-src

  4. Build the driver. At this and next step, make sure you are still under the root user.

    python build

  5. Install the driver. Here you also need root privileges.

    python install

Using a Package Manager (EasyInstall) of CUBRID Python Driver (Linux)

EasyInstall is a Python module (easy_install) bundled with setuptools that lets you automatically download, build, install, and manage Python packages. It gives you a quick way to install packages remotely by connecting to other websites via HTTP as well as connecting to the Package Index. It is somewhat analogous to the CPAN and PEAR tools for Perl and PHP, respectively. For more information about EasyInstall, see

Enter the command below to install CUBRID Python driver by using EasyInstall.

easy_install CUBRID-Python


To install CUBRID Python driver on Windows, first download CUBRID Python driver as follows:

  1. Visit the website below to download the driver. You will be given to select your operating system and Python version installed on your system.

  2. Extract the archive you downloaded. You should see a folder and two files in the folder. Copy these files to the Lib folder where your Python has been installed; by default, it is C:Program FilesPythonLib.

Note To get the latest information about Python driver, click