To program an AVR, one can use the so called DonTronics parallel adapter, which connects to the parallel port of a PC:
Parallel port pinPin namePin no
2MOSI17
4/Reset1
5CLK19
11MISO18
18-25Ground10

To program the AVR, you can use a program like Avrdude, wich is downloadable here. Avrdude is a commandline program, to program a hex-file one has to invoke the following lines:

avrdude -P /dev/parport0 -E noreset -e -u -c dt006 -p t2313 -U "flash:w:myfirmware.hex:hex"
avrdude -P /dev/parport0 -u -c dt006 -p t2313 -U "lfuse:w:0xcf:m"               
avrdude -P /dev/parport0 -E noreset -u -c dt006 -p t2313 -U "hfuse:w:0xdf:m" 
Read the avrdude manual for more info. If this is all too cryptical for you, you can try using a frontend.
© 2006 J. Domburg