Datasheet

Appendix A: Platform Dependent Information 26
Appendix A Platform Dependent Information
A.1 Unix
A.1.1 Unix Installation
To build and install from the source tarball on Unix like systems:
$ gunzip -c avrdude-5.8.tar.gz | tar xf -
$ cd avrdude-5.8
$ ./configure
$ make
$ su root -c ’make install’
The default location of the install is into /usr/local so you will need to be sure that
/usr/local/bin is in your PATH environment variable.
If you do not have root access to your system, you can do the the following instead:
$ gunzip -c avrdude-5.8.tar.gz | tar xf -
$ cd avrdude-5.8
$ ./configure --prefix=$HOME/local
$ make
$ make install
A.1.1.1 FreeBSD Installation
AVRDUDE is installed via the FreeBSD Ports Tree as follows:
% su - root
# cd /usr/ports/devel/avrdude
# make install
If you wish to install from a pre-built package instead of the source, you can use the
following instead:
% su - root
# pkg_add -r avrdude
Of course, you must be connected to the Internet for these methods to work, since that
is where the source as well as the pre-built package is obtained.
A.1.1.2 Linux Installation
On rpm based linux systems (such as RedHat, SUSE, Mandrake, etc), you can build and
install the rpm binaries directly from the tarball:
$ su - root
# rpmbuild -tb avrdude-5.8.tar.gz
# rpm -Uvh /usr/src/redhat/RPMS/i386/avrdude-5.8-1.i386.rpm
Note that the path to the resulting rpm package, differs from system to sys tem. The
above example is specific to RedHat.