How to install OracleDB on CentOS, and how to run PL/SQL script on server?

  • Posted February 15, 2015

I have a project for students who want to learn PL/SQL,and I want to make some site which will work like “codecademy” which takes some PL/SQL code,compiles it and checks if the answer is right or wrong. Now I have installed CentOS 6.5 and I want to install OracleDB for running PL/SQL scripts on it, could you please help me with it?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Officially OracleDB is only supported on Oracle Linux, Red Hat Enterprise Linux, and SUSE Enterprise Linux. Though Oracle Linux, like CentOS, is based on RHEL. They are so closely related that Oracle offers a script that will “turn” a CentOS 6 installation into an Oracle one.

curl -O 

After you’ve run that script on a CentOS 6.5 droplet, you should be able to install OracleDB 11g with:

yum install oracle-rdbms-server-11gR2-preinstall