Linux

$avrdude -P /dev/parport0 -c dapa -p m16 -U flash:w:main.hex

$avrdude -P usb -c avrispv2 -p atmega16 -U flash:w:main.hex