Oracle is one of the most important relational database implemented both in big and small corporations. This is a beginner tutorial that will walk you through common debugging techniques and tips in Oracle using SQL Developer.
Tip: There are a lot of debugging tools that are available for Oracle but one of the simplest is the one developed by Oracle Corporation itself – the Oracle SQL developer. The good thing is that this tool is free to use. Below are the steps to install Oracle SQL Developer in Ubuntu:
1.) Go to Applications – Ubuntu Software Center. In the search box, type Oracle SQL Developer.
2.) You should see a package named “Oracle SQL Developer Debian package builder.” Go ahead and install it. Type your Linux root password to proceed. Wait until it is completely installed on your system.
4.) Scroll down until you see “Oracle SQL Developer for other platforms”. Click that link. You will then be required to login to your Oracle account.
5.) After logging in, you can start to download the zip file. Download it to your Ubuntu Downloads folder. Oracle SQL developer is not only helpful for troubleshooting PL/SQL procedures but it is an IDE, which means you can use it for developing Oracle applications.
6.) After downloading the zip file (which is around 147MB), the default download path will be: /home/your_ubuntu_username/Downloads
You are now ready to install Oracle SQL developer. Login as root in the terminal:
9.) The download file is a zip package (sqldeveloper-3.0.04.34-no-jre.zip) but the Ubuntu installer should be a Debian package. So convert the zip file to .deb:
Note: It will create a temporary folder /tmp/ORACLE for the conversion process. Make sure the path to the downloaded zip file is correct. After pressing enter you will see:
make-sqldeveloper-package: Building sqldeveloper package in "/home/codex-m".
10.) Go to your home folder (e.g. /home/codex-m). Get the converted file name (e.g. sqldeveloper_3.0.04.34+0.2.3-1_all.deb). Finally execute the debian package and this will install the Oracle SQL developer: