Posts tagged 'debian'

Programing the STK600 AVR board on Linux using C

Setting up the developing enviroment

Note: I’m assuming you have a .deb based distribution and a AVR STK600 board with a ATmega2560 microcontroller that you are programming using an USB cable.

Installing the software

We need to install the following programs and their dependencies:

  • gcc-avr: The GNU C compiler ...

Backup and restore installed packages on Debian/Ubuntu

If you want to reinstall a server or a desktop and want to install the same packages after reinstalling the operating system you can easily do that with dpkg.

First we need to backup the list of packages to a file and after reinstalling the operating system, in this example ...