Avr on Linux

AVR Studio on Linux

written by Iurii Sokyrskyi aka devmind

It is a fact that Atmel produces AVR Studio only for Windows platform. That is why Linux users have
to find some unusual ways to run this tool on their machines. There are two evident solutions. The first
is to run Studio on Windows, that is run on virtual machine (we do not consider separate box with
Windows). The second is to run program with Wine.

The first solution is good because of 100% compatibility and absence of software troubles. Hardware
problems in this way aspire to the zero. However, virtual machine takes valuable resources from host-
machine. Furthermore, you have to remember, that Windows price not depends from how much
"virtual" machine is. Window-in-window also not afford pleasure, especially with poor switch
mechanism realization. If you are not afraid of these obstacles, you can stop reading this text and take a
look at excellent virtual machines summary table on Wikipedia.

Running any program with Wine is quite all-sufficient method. Wine project develops constantly. Wine
today is not like the Wine that was few years ago. Project homepage: http://www.winehq.org/. This
article describes exactly this method.

First of all you need to update Wine. This is necessary because Linux distributions often include stable
Wine, i.e. too old release. Last stable release is 1.0.1 (October 2008). I have installed 1.1.33. When I
am writing this article, there is Wine 1.1.36 available (January 8, 2010). Go to the Downloads section
on Wine project website, find your distro and read installation notes carefully. I have Debian, so I will
describe sequence for this distribution. If you have different distro - follow instructions from Wine

Connecting Wine repository. You need to add repo location to /etc/apt/sources.list file (as superuser):

#echo "deb http://www.lamaresh.net/apt lenny main" >> /etc/apt/sources.list

$wget http://www.lamaresh.net/apt/key.gpg...