Necessary AVR development packages in Debian are:

In addition, some people use:

The current version of uisp has a bug in programming the ATMega48, so I use AVRDude instead. To view or edit the PCB layout, use Eagle:

If this is your first time installing Debian, do a minimal install, and then use apt-get to install packages as needed (installing packages is fast, easy, and painless, at least with a network connection). Emacs is probably the best editor. The starting screen when you run Emacs will tell you how to run a tutorial that will teach you to use it.

Useful Debian-specific commands: