You are here

Arduino on CentOS 5 32bit Cut and Paste

For those that simply want something to cut and paste into a putty window to install Arduino on CentOS 5
 
Initial Setup

useradd mockbuild
cd /usr/src
optional

export http_proxy=proxy:8080
 
java

yum -y install java
 
gmp 4.3.2

wget http://dl.fedoraproject.org/pub/fedora/linux/releases/16/Everything/source/SRPMS/gmp-4.3.2-4.fc16.src.rpm
rpm -ivh --nomd5 gmp-4.3.2-4.fc16.src.rpm
rpmbuild -ba redhat/SPECS/gmp.spec
rpm -Uvh redhat/RPMS/i386/gmp-4.3.2-4.i386.rpm redhat/RPMS/i386/gmp-devel-4.3.2-4.i386.rpm
 
mpfr-3.0

wget http://download.fedora.redhat.com/pub/fedora/linux/releases/16/Everything/source/SRPMS/mpfr-3.0.0-4.fc15.src.rpm
rpm -ivh --nomd5 mpfr-3.0.0-4.fc15.src.rpm
rpmbuild -ba redhat/SPECS/mpfr.spec
rpm -Uvh redhat/RPMS/i386/mpfr-3.0.0-4.i386.rpm redhat/RPMS/i386/mpfr-devel-3.0.0-4.i386.rpm
 
libmpc 0.9-1

wget http://dl.fedoraproject.org/pub/fedora/linux/releases/16/Everything/source/SRPMS/libmpc-0.9-1.fc16.src.rpm
rpm -ivh --nomd5 libmpc-0.9-1.fc16.src.rpm
rpmbuild -ba redhat/SPECS/libmpc.spec
rpm -Uvh redhat/RPMS/i386/libmpc-0.9-1.i386.rpm redhat/RPMS/i386/libmpc-devel-0.9-1.i386.rpm
 
avr-binutils-2.20-2

wget http://download.fedora.redhat.com/pub/fedora/linux/updates/16/SRPMS/avr-binutils-2.20-2.fc16.src.rpm
rpm -ivh --nomd5 avr-binutils-2.20-2.fc16.src.rpm
rpmbuild -ba redhat/SPECS/avr-binutils.spec
rpm -ivh redhat/RPMS/i386/avr-binutils-2.20-2.i386.rpm
 
avr-gcc-4.6.1

wget http://download.fedora.redhat.com/pub/fedora/linux/releases/16/Everything/source/SRPMS/avr-gcc-4.6.1-3.fc16.src.rpm
rpm -ivh --nomd5 avr-gcc-4.6.1-3.fc16.src.rpm
rpmbuild -ba redhat/SPECS/avr-gcc.spec
rpm -ivh redhat/RPMS/i386/avr-gcc-4.6.1-3.i386.rpm redhat/RPMS/i386/avr-gcc-c++-4.6.1-3.i386.rpm
 
avr-libc-1.7.2

wget http://download.savannah.gnu.org/releases/avr-libc/avr-libc-1.7.2rc2252.tar.bz2
tar jxvf avr-libc-1.7.2rc2252.tar.bz2
cd avr-libc-1.7.2rc2252
./configure --prefix=/usr --host=avr --build=`./config.guess`
make
make install
 
arduino 1.0

cd /opt
wget http://files.arduino.cc/downloads/arduino-1.0-linux.tgz
tar zxvf arduino-1.0-linux.tgz
 
avrdude 5.11

cd /usr/src
wget http://download.savannah.gnu.org/releases/avrdude/avrdude-5.11.tar.gz
tar zxvf avrdude-5.11.tar.gz
cd avrdude-5.11
./configure
make
cat avrdude > /opt/arduino-1.0/hardware/tools/avrdude

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer