Install SQL Developer on Centos 5

Installing SQL Developer on Centos 5 is a little bit different from Installing SQL Developer on Open Suse.

1. Download SQL Developer installation from Oracle SQL Developer RPM for Linux.

2. Install that rpm package:

> su
Password:

# rpm -Uhv sqldeveloper-3.0.04.34-1.noarch.rpm

3. Download JDK from here. You need Self Extracting Installer…not RPM Installer

Go to the directory, where you have downloaded JDK(Note I’ve downloaded file for 64bit…Indicate the correct filename):

> su
Password:

Make it executable(indicate correct filename,which you’ve downloaded):

#chmod a+x jdk-6u26-linux-x64.bin

Run that file:

# ./jdk-6u26-linux-x64.bin

There will appear folder jdk1.6.0_26. Copy that folder to the desired location, you will need it.

4. Open the .bash_profile(located in $HOME directory) and add/edit the following entries:

JAVA_HOME=/usr/java/jdk1.6.0_26/
PATH=$PATH:/opt/sqldeveloper/
export PATH
export JAVA_HOME

5. Run SQL Developer:

# sqldeveloper
Advertisement

About Mariami Kupatadze
Oracle Certified Master Linkedin: https://www.linkedin.com/in/mariami-kupatadze-01074722/

6 Responses to Install SQL Developer on Centos 5

  1. Irakli says:

    მშვენიერია, მაგრად დამეხმარა

  2. youssef says:

    Merci beaucoup

  3. Figueredo says:

    Excellent details and everything worked just fine, but now I encountered that each time I type dbca or sqlplus I am getting command not found…..any tips?????

    PD: I am newbie on linux

    • dba010 says:

      You should set PATH parameter to $ORACLE_HOME/bin(note ORACLE_HOME parameter should be set or you must replace $ORACLE_HOME by the real path to the Oracle software home directory). To make changes permanent set it to the bash_profile, like this:
      1. Open terminal
      2. vi .bash_profile
      and write the following at the end:
      export PATH=$PATH:$ORACLE_HOME/bin
      Save changes.
      3. Re-login to the computer , or write the command
      . .bash_profile
      4.Try to run sqlplus it should work.

      • Figueredo says:

        Hello,

        Appreciate your quick response, I followed up your suggestion but again without success, this is really odd, here is bash_profile, any other tip:

        *****************************************************************************************
        PATH=$PATH:$HOME/bin

        export PATH

        ORACLE_SID=orcl
        export ORACLE_SID
        ORACLE_BASE= /u01/app/oracle
        export ORACLE_BASE
        ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
        export ORACLE_HOME
        EDITOR = vi
        export EDITOR

        PATH=$ORACLE_HOME/bin:$PATH:$HOME/bin
        export PATH

        export PATH=$PATH:ORACLE_HOME/bin

        JAVA_HOME=/usr/java/jdk1.6.0_26/
        PATH=$PATH:/opt/sqldeveloper/
        export PATH
        export JAVA_HOME
        **********************************************************************************

        Thanks in advance again,
        Habib

      • dba010 says:

        1. Are you connecting as a Oracle software owner?
        2. Is there sqlplus file in /u01/app/oracle/product/11.2.0/db_1/bin directory?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: