Compiling for ATmega328P under linux

We’ve been experimenting with the new ATmega328 processors from Atmel, which are successors to the ATmega168 with double the memory (32k program space, 2k RAM, 1k EEPROM). The latest version of AVR Studio with WinAVR has full support for them, but I needed to install the packages from source to develop under Linux. I’ve put together a step-by-step guide on how to install all of the necessary software here:

Developing for the ATmega328P under Linux

Please let me know if you have any questions or results to report!