分类: 系统运维
2013-04-10 11:58:35
1、下载 一个oracle sql developer rpm格式文件
2、要安装alien软件将 rpm 转换成 deb文件
sudo alien --xx-script sqldeve*.rpm
3\ sudo dpkg -i sqldeve*.deb
4、还要设置下jdk环境
详细参考下面
For those who using UBUNTU as OS..here the step to install SQL Developer into your PC.
1. Download free SQL developer from oracle website..
http://download.oracle.com/otn/java/sqldeveloper/sqldeveloper-1.5.4.59.4...
you need to register your oracle account here
2.Install java JDK
2.1 Make sure your package is up to date, to do that run this command at terminal
sudo apt-get update
2.2 sudo apt-get install sun-java6-jdk
3. Change oracle rpm file to deb file
3.1 Install alien (if you dont have it) sudo apt-get install alien
3.2 change rpm file to deb file : sudo alien (your rpm file)
4.Install you deb file ..either double click on that file or in terminal type sudo dpkg - i (deb file)
5. Setting your java path
5.1 At terminal ..go to /opt/sqldeveloper/sqldeveloper/bin
5.2 sudo gedit sqldeveloper.conf
5.3 add this line " SetJavaHome /usr/lib/jvm/java-6-sun-1.6.0.13 " into sqldeveloper.conf,save and close
** your java version might not same as sample here
6. to run your sqldeveloper, open your terminal and type sqldeveloper
7.Enjoy your sql developer in UBUNTU .. :)