Install Oracle SQL Developer
How to install Oracle SQL Developer in your Linux Desktop Environment.
If you like my work, ❤️ Sponsor Me. It would mean the world to me!

Prerequisites

To be able to execute Oracle SQL Developer we need an installed JDK. The following command will install the Java OpenJDK:
1
sudo apt install openjdk-14-jdk
Copied!

Download

Download Oracle SQL Developer for "Other Platforms" from Oracle:

Extract

After the download is completed, execute the following commands to extract Oracle SQL Developer to /opt:
1
cd /opt
2
sudo unzip ~/Downloads/sqldeveloper-*.zip
3
sudo ln -s /opt/sqldeveloper/sqldeveloper.sh /usr/local/bin/sqldeveloper
Copied!

Integrate

We need to update the sqldeveloper.sh file, to allow execution from any directory:
1
#!/bin/bash
2
-cd "`dirname $0`"/sqldeveloper/bin && bash sqldeveloper $*
3
+/opt/sqldeveloper/sqldeveloper/bin/sqldeveloper $*
Copied!
As last step, we are create a desktop integration file in /usr/share/applications/sqldeveloper.desktop:
1
[Desktop Entry]
2
Name=Oracle SQL Developer
3
Comment=SQL Developer from Oracle
4
GenericName=SQL Tool
5
Exec=/usr/local/bin/sqldeveloper
6
Icon=/opt/sqldeveloper/icon.png
7
Type=Application
8
StartupNotify=true
9
Categories=Utility;Oracle;Development;SQL;
Copied!
That's it: You've completed the installation of Oracle SQL Developer for your Linux Desktop Environment.
Last modified 7mo ago