To install CUBRID on Fedora or Ce using yum command, we need to tell Yum where to look for CUBRID packages. First, visit one of the following links depending on your OS.
There choose CUBRID version. You will be given a list of links for your particular version.
Since CUBRID 8.4.3 there are only 2 repositories and you must choose according to your OS and version:
sudo rpm -ivh http://yumrepository.cubrid.org/cubrid_repo_settings/8.4.3/cubridrepo-8.4.3-1.fc15.noarch.rpm
sudo rpm -ivh http://yumrepository.cubrid.org/cubrid_repo_settings/8.4.3/cubridrepo-8.4.3-1.el6.noarch.rpm
For example, the following link is provided for Fedora 17 where fc17 means this OS version. Other versions will have fc16, fc15, etc.
sudo rpm -i http://yumrepository.cubrid.org/cubrid_repo_settings/8.4.1/cubridrepo-8.4.1-1.fc17.noarch.rpm
Or CentOS example where el6.2 means CentOS version 6.2:
sudo rpm -i http://yumrepository.cubrid.org/cubrid_repo_settings/8.4.1/cubridrepo-8.4.1-1.el6.2.noarch.rpm
Executing the above command will tell Yum where to look for CUBRID packages.
Now, you can install CUBRID by running:
yum install cubrid
To complete the installation and set the CUBRID PATH variables, reboot your OS or logout and login again. Until rebooting you must run ". /etc/profile.d/cubrid.sh" to set the PATH variables every time you open a new terminal window.
Optional: If you want to install the demodb sample database, run the command:
sudo yum install cubrid-demodb