Table of Contents
An arduino package is available in the "universe" repository of Ubuntu. Use the "Ubuntu Software Center" (or your favorite package manager, i.e. synaptic or apt-get) to install the package "arduino." Available on all architectures. For more information see the Debian entry in Playground. IMPORTANT NOTE: The "Arduino IDE" package in the Ubuntu 10.10 (Maverick) repository is version 18 and does not support the latest Arduino UNO, see below.
the Ubuntu repositories are a long way behind, so the default package in Maverick does not support those boards. Version 0018 of the IDE is from January 2010, the Uno and Mega2560 were released in September/October 2010.
To install, you have to enable the maverick-backports repository in the "Ubuntu Software Center" settings or do the following:
sudo dpkg -i *.deb
Alternatively, you can use:
Easy walkthrough with lots of screen shots of the official IDE from the main Arduino site. If you have a Uno or Mega 2560 go here first. The repository version 0018 does not work with these later boards. This is for 32 & 64 bit Ubuntu 10.10 but should work will all versions after 9.04,ideal you're new to Ubuntu."Complete Numpties Guide to Arduino on Ubuntu"
You can always install the newest version of Arduino from Debian unstable. Just download the .debs for arduino, arduino-core, and librxtx-java and double click on them or:
sudo dpkg -i *.deb
Tested with Ubuntu 10.04 LTS and Ubuntu 10.10, but should work with older releases.
sudo apt-get install gcc-avr avr-libc
sudo usermod -aG dialout <myuser>