cp /etc/apt/sources.list /etc/apt/sources.list_bak     
sed -e "s/lenny main$/lenny main non-free contrib/" /etc/apt/sources.list_bak >/etc/apt/sources.list
apt-get update
apt-get -y install joe
apt-get -y install build-essential cvs subversion bison flex zip unzip ant sudo 
apt-get -y install xserver-xorg gdm xterm gnome-session iceweasel
apt-get -y install minicom xpdf
apt-get -y install gcc-avr avr-libc avrdude binutils-avr avarice build-essential sdcc gputils 
apt-get -y install sun-java5-bin sun-java5-jre sun-java5-jdk
update-java-alternatives --set java-1.5.0-sun
#apt-get -y install eclipse netbeans-ide 
svn co https://reprap.svn.sourceforge.net/svnroot/reprap/trunk/reprap/firmware
svn co https://reprap.svn.sourceforge.net/svnroot/reprap/trunk/reprap/host/ reprap-host
cd reprap-host
./setup-reprap-host-dev-environment.sh
