Install SQL Developer on Centos 5
July 25, 2011 6 Comments
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
მშვენიერია, მაგრად დამეხმარა
Merci beaucoup
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
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.
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
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?