Versions available for this page: CUBRID 8.4.3 | CUBRID 9.0.0 |
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.
For the example to install CUBRID 9.0 on Fedora 17 is as folllows: (fc17 means this operating system version).
rpm -i http://yumrepository.cubrid.org/cubrid_repo_settings/9.0.0/cubridrepo-9.0.0-1.fc17.noarch.rpm
yum install python-cubrid
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 http://www.cubrid.org/wiki_apis/entry/install-python-development-package.
tar xvfz cubrid-python-src-8.4.0.0001.tar.gz
python setup.py build
python setup.py install
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 http://packages.python.org/distribute/easy_install.html.
Enter the command below to install CUBRID Python driver by using EasyInstall.
To install CUBRID Python driver on Windows, first download CUBRID Python driver as follows:
Note To get the latest information about Python driver, click http://www.cubrid.org/wiki_apis/entry/cubrid-python-driver.