Go to oracle OTN site and download the software. Select other platforms as the software choice.
Extract the .zip downloaded to a folder like sqldeveloper.
sudo mv sqldeveloper /opt/ ( Move the folder to opt directory)
chmod +x /opt /sqldeveloper/ sqldeveloper.sh ( make the script file a executable)
gedit sqldeveloper.sh
Comment out the code in the file and replace that with :
unset -v GNOME_DESKTOP_SESSION_ID cd /opt/sqldeveloper/sqldeveloper/bin && bash sqldeveloper $*
Create a softlink for the executable file
sudo ln -s /opt/sqldeveloper/sqldeveloper.sh /usr/local/bin/sqldev
Here the link name is sqldev
Ctrl+alt+t to bring up the terminal and type sqldev and click enter
When the application starts it’s gonna ask for Java Home ;
usually it’s under/usr/lib/jvm/java-8-oracle (a path like this)
If Java doesnt exist, open up another terminal and install the same via these commands:
There are additional jdbc drivers for mysql etc on OTN.
Copy the extracted file to sql developer folder.
go to sqldeveloper>tools>preferences> datbases> third party> and provide the path of the downloaded folder upto the path where .jar file exists.