<?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>codetorment &#187; ide</title>
	<atom:link href="http://www.codetorment.com/tag/ide/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codetorment.com</link>
	<description>code, tech, random stuff</description>
	<lastBuildDate>Tue, 07 Sep 2010 08:47:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tutorial : Getting started with Python 2.6 on Ubuntu 9.10 using IDLE</title>
		<link>http://www.codetorment.com/2009/11/16/tutorial-getting-started-with-python-2-6-on-ubuntu-9-10-using-idle/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tutorial-getting-started-with-python-2-6-on-ubuntu-9-10-using-idle</link>
		<comments>http://www.codetorment.com/2009/11/16/tutorial-getting-started-with-python-2-6-on-ubuntu-9-10-using-idle/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 16:22:53 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[idle]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.codetorment.com/?p=838</guid>
		<description><![CDATA[In this tutorial I&#8217;ll show how to install IDLE for Python 2.6 on Ubuntu 9.10 This tutorial couldn&#8217;t be much easier, as a matter of fact you should be ashamed of yourself for even reading this! I&#8217;m just kidding, follow the next couple of steps and you&#8217;ll be wrestling the mighty python in a matter [...]]]></description>
			<content:encoded><![CDATA[<p><strong>In this tutorial I&#8217;ll show how to install IDLE for Python 2.6 on Ubuntu 9.10</strong></p>
<p>This tutorial couldn&#8217;t be much easier, as a matter of fact you should be ashamed of yourself for even reading this! I&#8217;m just kidding, follow the next couple of steps and you&#8217;ll be wrestling the mighty python in a matter of minutes.</p>
<p><a href="http://www.codetorment.com/wp-content/uploads/python-logo-master-v3-TM-flattened.png"><img class="alignnone size-full wp-image-861" title="python-logo-master-v3-TM-flattened" src="http://www.codetorment.com/wp-content/uploads/python-logo-master-v3-TM-flattened.png" alt="python logo master v3 TM flattened Tutorial : Getting started with Python 2.6 on Ubuntu 9.10 using IDLE" width="481" height="162" /></a><span id="more-838"></span></p>
<p>In the top toolbar go to  &#8216;Applications &gt; Ubuntu Software Center&#8217;</p>
<p><a href="http://www.codetorment.com/wp-content/uploads/Screenshot3.png"><img class="alignnone size-full wp-image-847" title="Screenshot" src="http://www.codetorment.com/wp-content/uploads/Screenshot3.png" alt="Screenshot3 Tutorial : Getting started with Python 2.6 on Ubuntu 9.10 using IDLE" width="492" height="310" /></a><!--more--></p>
<p>Search for IDLE in the Ubuntu Software Center</p>
<p>Select the package &#8216;IDLE (using Python-2.6)&#8217;, hit the arrow and select &#8216;Install&#8217; on the next page</p>
<p><a href="http://www.codetorment.com/wp-content/uploads/Screenshot-Ubuntu-Software-Center-11.png"><img class="alignnone size-full wp-image-848" title="Ubuntu Software Center" src="http://www.codetorment.com/wp-content/uploads/Screenshot-Ubuntu-Software-Center-11.png" alt="Screenshot Ubuntu Software Center 11 Tutorial : Getting started with Python 2.6 on Ubuntu 9.10 using IDLE" width="539" height="331" /></a></p>
<p>After a few seconds, depending on your internet connection and processing power, the installation of IDLE is completed.</p>
<p>To start IDLE go to &#8216; Applications &gt; Programming &gt; IDLE (using Python-2.6)&#8217;</p>
<p><a href="http://www.codetorment.com/wp-content/uploads/Screenshot-21.png"><img class="alignnone size-full wp-image-849" title="Starting IDLE" src="http://www.codetorment.com/wp-content/uploads/Screenshot-21.png" alt="Screenshot 21 Tutorial : Getting started with Python 2.6 on Ubuntu 9.10 using IDLE" width="498" height="253" /></a></p>
<p>Now you&#8217;re setup and ready to write  your first function&#8230;</p>
<p><a href="http://www.codetorment.com/wp-content/uploads/Screenshot-Python-Shell1.png"><img class="alignnone size-full wp-image-851" title="Python Shell" src="http://www.codetorment.com/wp-content/uploads/Screenshot-Python-Shell1.png" alt="Screenshot Python Shell1 Tutorial : Getting started with Python 2.6 on Ubuntu 9.10 using IDLE" width="484" height="401" /></a></p>
<p>If you&#8217;re new to Python and have little to no programming experience I recommend starting from one of two (or both) places.</p>
<p><a title="Dive into Python" href="http://www.diveintopython.org/" target="_blank">Dive into Python</a> and <a title="Think Like a Computer Scientist" href="http://www.greenteapress.com/thinkpython/thinkpython.html" target="_blank">Think Python : How to Think Like a Computer Scientist</a> provide excellent sources for unleashing your inner codeninja. ( Oh and the books are available for free in HTML, PDF and a bunch of other formats).</p>
<p>Go and discover your skills grashopper!</p>
<p>I&#8217;ll soon post a guide on setting up Eclipse on Ubuntu 9.10 and configuring the PyDev plugin to use Eclipse as your Python IDE.</p>
<p><a title="Back to home" href="http://www.codetorment.com" target="_self">Back to homepage </a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.codetorment.com%2F2009%2F11%2F16%2Ftutorial-getting-started-with-python-2-6-on-ubuntu-9-10-using-idle%2F&amp;title=Tutorial%20%3A%20Getting%20started%20with%20Python%202.6%20on%20Ubuntu%209.10%20using%20IDLE" id="wpa2a_2"><img src="http://www.codetorment.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="share save 171 16 Tutorial : Getting started with Python 2.6 on Ubuntu 9.10 using IDLE"  title="Tutorial : Getting started with Python 2.6 on Ubuntu 9.10 using IDLE" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.codetorment.com/2009/11/16/tutorial-getting-started-with-python-2-6-on-ubuntu-9-10-using-idle/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tutorial : Getting started with Arduino on Ubuntu 9.10</title>
		<link>http://www.codetorment.com/2009/11/02/tutorial-getting-started-with-arduino-ide-on-linux-ubuntu-9-10/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tutorial-getting-started-with-arduino-ide-on-linux-ubuntu-9-10</link>
		<comments>http://www.codetorment.com/2009/11/02/tutorial-getting-started-with-arduino-ide-on-linux-ubuntu-9-10/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 20:53:40 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[launcher]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.codetorment.com/?p=439</guid>
		<description><![CDATA[In this tutorial I will show you how to setup the Arduino IDE on Ubuntu 9.10 32-bit. I&#8217;ll also show you how to add an Application Launcher to quickstart the Arduino IDE I&#8217;ll assume you haven&#8217;t already installed any of the necessary packages to run the Arduino IDE. 1. First open a terminal ( Applications [...]]]></description>
			<content:encoded><![CDATA[<p><strong>In this tutorial I will show you how to setup the Arduino IDE on Ubuntu 9.10 32-bit. I&#8217;ll also show you how to add an Application Launcher to quickstart the Arduino IDE</strong></p>
<p><a href="http://www.codetorment.com/wp-content/uploads/Screenshot-sketch_nov02a-Arduino-0017.png"><img class="alignnone size-full wp-image-515" title="Screenshot-sketch_nov02a | Arduino 0017" src="http://www.codetorment.com/wp-content/uploads/Screenshot-sketch_nov02a-Arduino-0017.png" alt="Screenshot sketch nov02a Arduino 0017 Tutorial : Getting started with Arduino on Ubuntu 9.10" width="500" height="600" /></a></p>
<p>I&#8217;ll assume you haven&#8217;t already installed any of the necessary packages to run the Arduino IDE.</p>
<p>1. First open a terminal ( Applications &gt; Accesories &gt; Terminal ), paste the following code and hit enter :<span id="more-439"></span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 580px; height: 54px; text-align: left;" dir="ltr">sudo apt-get install sun-java6-jre sun-java6-bin sun-java6-jdk
sun-java6-fonts sun-java6-plugin gcc-avr avr-libc</pre>
<p>&nbsp;<br />
2. Next we need to uninstall Ubuntu&#8217;s braille support as it is known to cause <a title="Arduino on Ubuntu" href="http://www.arduino.cc/playground/Linux/Ubuntu" target="_blank">conflicts</a> with the Arduino IDE.</p>
<p>To do so go back to the terminal and enter :</p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 580px; height: 24px; text-align: left;" dir="ltr">sudo apt-get remove brltty</pre>
<p>&nbsp;<br />
3. Now we need to setup Java<br />
GNU&#8217;s Java doesn&#8217;t support the Arduino so to fix this run the command</p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 580px; height: 24px; text-align: left;" dir="ltr">sudo update-alternatives --config java</pre>
<p>&nbsp;<br />
This will show you a list of java alternatives installed on the machine.<br />
Select the entry &#8216;java-6-sun&#8217;</p>
<p>4. Now we are ready to download and install the arduino environment</p>
<p>Click <a title="Arduino IDE version 17" href="http://arduino.googlecode.com/files/arduino-0017.tgz" target="_blank">here</a> to download version 17 of the Arduino IDE. Alternatively go <a title="Arduino software" href="http://arduino.cc/en/Main/Software" target="_blank">here</a> to download a specific version.</p>
<p>5. Copy the downloaded file to your home directory ( saved by default in /home/username/downloads )</p>
<p>Extract the downloaded file into your home directory ( right-click &gt; extract here ).</p>
<p>6. To start the Arduino IDE open the arduino-0017 folder and double click the arduino file, when prompted choose Run.</p>
<p>If you want to start the Arduino IDE from the command line, cd into the folder</p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 580px; height: 24px; text-align: left;" dir="ltr">cd /home/username/arduino-0017</pre>
<p>&nbsp;<br />
and start the IDE with the command</p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 580px; height: 24px; text-align: left;" dir="ltr">./arduino</pre>
<p>&nbsp;</p>
<h3>I however prefer to have a launcher to quickstart applications.</h3>
<p>1. Download this icon to your desktop ( right-click &gt; Save image as&#8230; )</p>
<p><a href="http://www.codetorment.com/wp-content/uploads/arduino.png"><img class="alignnone size-full wp-image-483" title="arduino" src="http://www.codetorment.com/wp-content/uploads/arduino.png" alt="arduino Tutorial : Getting started with Arduino on Ubuntu 9.10" width="131" height="131" /></a></p>
<p>2. Open a terminal, go to your desktop and copy the image to /usr/share/icons</p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 580px; height: 48px; text-align: left;" dir="ltr">cd Desktop/
sudo cp arduino.png /usr/share/icons/</pre>
<p>&nbsp;<br />
3. Next right click the top panel and select Add to panel&#8230;</p>
<p><a href="http://www.codetorment.com/wp-content/uploads/Screenshot-Add-to-Panel.png"><img class="alignnone size-full wp-image-482" title="Screenshot-Add to Panel" src="http://www.codetorment.com/wp-content/uploads/Screenshot-Add-to-Panel.png" alt="Screenshot Add to Panel Tutorial : Getting started with Arduino on Ubuntu 9.10" width="562" height="518" /></a></p>
<p>5. Select the first entry &#8216;Custom Application Launcher&#8217; and hit Add</p>
<p>6.In the Create Launcher window enter</p>
<p>A name for the launcher :</p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 580px; height: 24px; text-align: left;" dir="ltr">Arduino</pre>
<p>&nbsp;<br />
The command to be executed when the launcher is clicked :</p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 580px; height: 24px; text-align: left;" dir="ltr">bash -c "cd /home/yourusername/arduino-0017/; ./arduino"</pre>
<p>&nbsp;<br />
And any comment you want to add :</p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto;  width: 580px; height: 24px; text-align: left;" dir="ltr">starts the Arduino IDE</pre>
<p>&nbsp;<br />
Now click on the spring icon and go to the /usr/share/icons/ folder and select the arduino.png image.</p>
<p>Your Launcher should look like this</p>
<p><a href="http://www.codetorment.com/wp-content/uploads/Screenshot-Launcher-Properties-1.png"><img class="alignnone size-full wp-image-493" title="Screenshot-Launcher Properties-1" src="http://www.codetorment.com/wp-content/uploads/Screenshot-Launcher-Properties-1.png" alt="Screenshot Launcher Properties 1 Tutorial : Getting started with Arduino on Ubuntu 9.10" width="434" height="225" /></a></p>
<p>That was it! You&#8217;re all setup to hack and thinker with your Arduino on Ubuntu 9.10.</p>
<p>Now run along a go blink some LEDs.</p>
<p><a title="Home" href="http://www.codetorment.com/" target="_self">Back to homepage</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.codetorment.com%2F2009%2F11%2F02%2Ftutorial-getting-started-with-arduino-ide-on-linux-ubuntu-9-10%2F&amp;title=Tutorial%20%3A%20Getting%20started%20with%20Arduino%20on%20Ubuntu%209.10" id="wpa2a_4"><img src="http://www.codetorment.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="share save 171 16 Tutorial : Getting started with Arduino on Ubuntu 9.10"  title="Tutorial : Getting started with Arduino on Ubuntu 9.10" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.codetorment.com/2009/11/02/tutorial-getting-started-with-arduino-ide-on-linux-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
	</channel>
</rss>

