In this tutorial I will show you how to setup the Arduino IDE on Ubuntu 9.10 32-bit. I’ll also show you how to add an Application Launcher to quickstart the Arduino IDE
I’ll assume you haven’t already installed any of the necessary packages to run the Arduino IDE.
1. First open a terminal ( Applications > Accesories > Terminal ), paste the following code and hit enter :
sudo apt-get install sun-java6-jre sun-java6-bin sun-java6-jdk sun-java6-fonts sun-java6-plugin gcc-avr avr-libc
2. Next we need to uninstall Ubuntu’s braille support as it is known to cause conflicts with the Arduino IDE.
To do so go back to the terminal and enter :
sudo apt-get remove brltty
3. Now we need to setup Java
GNU’s Java doesn’t support the Arduino so to fix this run the command
sudo update-alternatives --config java
This will show you a list of java alternatives installed on the machine.
Select the entry ‘java-6-sun’
4. Now we are ready to download and install the arduino environment
5. Copy the downloaded file to your home directory ( saved by default in /home/username/downloads )
Extract the downloaded file into your home directory ( right-click > extract here ).
6. To start the Arduino IDE open the arduino-0017 folder and double click the arduino file, when prompted choose Run.
If you want to start the Arduino IDE from the command line, cd into the folder
and start the IDE with the command
I however prefer to have a launcher to quickstart applications.
1. Download this icon to your desktop ( right-click > Save image as… )
2. Open a terminal, go to your desktop and copy the image to /usr/share/icons
cd Desktop/ sudo cp arduino.png /usr/share/icons/
3. Next right click the top panel and select Add to panel…
5. Select the first entry ‘Custom Application Launcher’ and hit Add
6.In the Create Launcher window enter
A name for the launcher :
The command to be executed when the launcher is clicked :
bash -c "cd /home/yourusername/arduino-0017/; ./arduino"
And any comment you want to add :
starts the Arduino IDE
Now click on the spring icon and go to the /usr/share/icons/ folder and select the arduino.png image.
Your Launcher should look like this
That was it! You’re all setup to hack and thinker with your Arduino on Ubuntu 9.10.
Now run along a go blink some LEDs.