<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>/home/\/\ick &#187; Oracle</title>
	<atom:link href="http://timony.com/mickzblog/category/programming/oracle/feed/" rel="self" type="application/rss+xml" />
	<link>http://timony.com/mickzblog</link>
	<description>Things that interest me.</description>
	<lastBuildDate>Tue, 06 Apr 2010 03:30:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<atom:link rel="next" href="http://timony.com/mickzblog/category/programming/oracle/feed/?page=2" />

		<item>
		<title>Install Oracle SQL Developer on Ubuntu Karmic</title>
		<link>http://timony.com/mickzblog/2010/01/09/install-oracle-sql-developer-on-ubuntu-karmic/</link>
		<comments>http://timony.com/mickzblog/2010/01/09/install-oracle-sql-developer-on-ubuntu-karmic/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 20:40:48 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sql developer]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/?p=708</guid>
		<description><![CDATA[If you want to install Oracle&#8217;s SQL Developer on Ubuntu (or another DEB based system such as Debian) you can do one of the following: Download the RPM package and install using rpm (not advisable). Download the RPM package and convert to a DEB package using alien Download the ZIP file titled &#8220;Oracle SQL Developer [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to install Oracle&#8217;s <a title="Oracle's SQL Developer" href="http://www.oracle.com/technology/software/products/sql/index.html">SQL Developer</a> on Ubuntu (or another DEB based system such as Debian) you can do one of the following:</p>
<ol>
<li>Download the RPM package and install using rpm (not advisable).</li>
<li>Download the RPM package and convert to a DEB package using alien</li>
<li>Download the ZIP file titled &#8220;Oracle SQL Developer for other platforms&#8221; and manually install</li>
<li>Use the make-sqldeveloper-package to convert the ZIP file into a DEB package</li>
</ol>
<p>I used the make-sqldeveloper-package, which is available for Debian and Ubuntu and it&#8217;s derivatives. However, the man page and the instructions are little unclear on how to use it. You need to download the zip file available at <a href="http://www.oracle.com/technology/software/products/sql/index.html">Oracle&#8217;s</a> (and not the RPM file nor any of the other packages) and then use the make-sqldeveloper-package to convert it to a DEB which you can then install using the dpkg command.</p>
<p>This is preferable to using rpm or alien as you can more easily manage the package using Debian&#8217;s and Ubuntu package management tools, plus it will integrate SQL Developer into Gnome&#8217;s Menu System . Plus, when Oracle updates their version you can use make-sqldeveloper-package to create an updated DEB package and easily update the version you have installed. The procedure outlined below works on Ubuntu Karmic and should also work on any Debian version that has the make-sqldeveloper-package.</p>
<p>As the man page states:</p>
<blockquote><p>This utility will require you to download the &#8220;Oracle  SQL  Developer  for  other  platforms&#8221;  archive  from  &lt;<a href="http://otn.oracle.com/software/prod‐ucts/sql/">http://otn.oracle.com/software/prod‐ucts/sql/</a>&gt; to create the Debian package from.</p></blockquote>
<h4>1. Download the ZIP file from Oracle&#8217;s site</h4>
<p>You will need to accept Oracle&#8217;s license agreement and download the ZIP file, titled &#8220;Oracle SQL Developer for other platforms&#8221;, from:</p>
<p><a href="http://www.oracle.com/technology/software/products/sql/index.html">http://www.oracle.com/technology/software/products/sql/index.html</a></p>
<h4>2. Install the make-sqldeveloper-package package</h4>
<p style="padding-left: 30px;">sudo apt-get install sqldeveloper-package</p>
<p>You will need Ubuntu&#8217;s <a title="Ubuntu software repositorys" href="http://www.ubuntu.com/community/ubuntustory/components">multiverse</a> software repository. See the <a href="https://help.ubuntu.com/community/Repositories/Ubuntu">instructions</a> on how to do so.</p>
<h4>3. Convert the ZIP file to .DEB package</h4>
<p>The format of the command is:</p>
<p style="padding-left: 30px;">make-sqldeveloper-package -b BUILD_LOCATION LOCATION_OF_ZIP_FILE</p>
<p>In my example, I&#8217;m going to use /tmp/ORA as the build location and the ZIP file has been download to my Desktop (~Desktop).</p>
<p style="padding-left: 30px;">make-sqldeveloper-package -b /tmp/ORA/ ~/Desktop/sqldeveloper-2.1.0.63.73-no-jre.zip</p>
<p>The command will create the build directory and remove it when the command finishes. If the command completes successfully you&#8217;ll see the following output after a minute or two:</p>
<p style="padding-left: 30px;">make-sqldeveloper-package: Building sqldeveloper package in &#8220;/tmp&#8221;.</p>
<p>The DEB file will be created in the current directory. In my example I had changed directories to /tmp and that&#8217;s where the DEB file will be:</p>
<p style="padding-left: 30px;">/tmp/sqldeveloper_2.1.0.63.73+0.2.3-1_all.deb</p>
<p>See the man page for more information about the tool:</p>
<p style="padding-left: 30px;">man make-sqldeveloper-package</p>
<h4>4. Install the package</h4>
<p style="padding-left: 30px;">sudo dpkg -i sqldeveloper_2.1.0.63.73+0.2.3-1_all.deb</p>
<h4>5. Run SQL Developer</h4>
<p>After installing there should he an entry in Gnome&#8217;s menu to start the SQL Developer. It&#8217;s located under:</p>
<p style="padding-left: 30px;"><strong>Applications-&gt;Programming-&gt;SQL Developer</strong></p>
<p><em>Note</em>: You will need a JVM installed for the tool to run.</p>
<p>Obligatory Screen Shot:</p>
<div id="attachment_719" class="wp-caption aligncenter" style="width: 310px"><a rel="attachment wp-att-719" href="http://timony.com/mickzblog/2010/01/09/install-oracle-sql-developer-on-ubuntu-karmic/sqldeveloper_screenshot-2/"><img class="size-medium wp-image-719" title="Oracle SQL Developer on Ubuntu" src="http://timony.com/mickzblog/wp-content/uploads/2010/01/sqldeveloper_screenshot1-300x248.jpg" alt="" width="300" height="248" /></a><p class="wp-caption-text">Oracle SQL Developer</p></div>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2010/01/09/install-oracle-sql-developer-on-ubuntu-karmic/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
