Installing things on Ubuntu
AVR32 GNU Toolchain
Everything has to be done as root, so start with sudo su
For Ubuntu 10.04 only
Add the Ubuntu 9.10 karmic sources temporarily to your sources:
Append the following to /etc/apt/sources.list:
# karmic for AVR32 deb http://archive.ubuntu.com/ubuntu/ karmic main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ karmic-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse deb http://archive.canonical.com/ubuntu karmic partner deb http://security.ubuntu.com/ubuntu karmic-security main restricted universe multiverse
Run: apt-get update
For Ubuntu 9.10 & 10.04
Find out whether you are running a 32bit or 64bit kernel:
Run uname -m, x86_64 means 64bit, otherwise you have a 32bit Linux.
Grab the toolchain zip file:
Download the file and unzip it to a temporary directory. cd to that directory.
Run the following commands:
- dpkg -i *
- apt-get -f install
- dpkg -i *
The first command will issue errors, the second and thirs shouldn't.
Remove the temporary directory with all the .deb files,
For Ubuntu 10.04 only
Remove the part you added to /etc/apt/sources.list and run apt-get update
AVR32 Studio IDE
Download avr32studio-ide-2.5.0.283-linux.gtk.x86.zip
Grab the toolchain zip file:
As root do cd /opt and run:
- unzip /path/to/avr32studio-ide-*.zip
As your regular user try starting the IDE with /opt/as4e-ide/avr32studio
If the IDE complains about missing JAVA, run as root:
- apt-get install sun-java6-jre
In case this fails, you might have to uncomment the ubuntu partner repository line in /etc/apt/sources.list run apt-get update and try again.
