[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

## A.1 Unix

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

### A.1.1 Unix Installation

To build and install from the source tarball on Unix like systems:

    $ gunzip -c avrdude-5.5.tar.gz | tar xf -
    $ cd avrdude-5.5
    $ ./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.5.tar.gz | tar xf -
    $ cd avrdude-5.5
    $ ./configure --prefix=$HOME/local
    $ make
    $ make install

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

#### 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.

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

#### 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.5.tar.gz
    # rpm -Uvh /usr/src/redhat/RPMS/i386/avrdude-5.5-1.i386.rpm

Note that the path to the resulting rpm package, differs from system to system. The above example is specific to RedHat.

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

### A.1.2 Unix Configuration Files

When AVRDUDE is build using the default ``--prefix'` configure option, the default configuration file for a Unix system is located at `/usr/local/etc/avrdude.conf`. This can be overridden by using the ``-C'` command line option. Additionally, the user's home directory is searched for a file named `.avrduderc`, and if found, is used to augment the system default configuration file.

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

#### A.1.2.1 FreeBSD Configuration Files

When AVRDUDE is installed using the FreeBSD ports system, the system configuration file is always `/usr/local/etc/avrdude.conf`.

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

#### A.1.2.2 Linux Configuration Files

When AVRDUDE is installed using from an rpm package, the system configuration file will be always be `/etc/avrdude.conf`.

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

### A.1.3 Unix Port Names

The parallel and serial port device file names are system specific. The following table lists the default names for a given system.

System | Default Parallel Port | Default Serial Port
FreeBSD | `/dev/ppi0` | `/dev/cuaa0`
Linux | `/dev/parport0` | `/dev/ttyS0`
Solaris | `/dev/printers/0` | `/dev/term/a`

On FreeBSD systems, AVRDUDE uses the ppi(4) interface for accessing the parallel port and the sio(4) driver for serial port access.

On Linux systems, AVRDUDE uses the ppdev interface for accessing the parallel port and the tty driver for serial port access.

On Solaris systems, AVRDUDE uses the ecpp(7D) driver for accessing the parallel port and the asy(7D) driver for serial port access.

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

### A.1.4 Unix Documentation

AVRDUDE installs a manual page as well as info, HTML and PDF documentation. The manual page is installed in `/usr/local/man/man1` area, while the HTML and PDF documentation is installed in `/usr/local/share/doc/avrdude` directory. The info manual is installed in `/usr/local/info/avrdude.info`.

Note that these locations can be altered by various configure options such as ``--prefix'`.

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ]

This document was generated by Joerg Wunsch on October, 30 2007 using texi2html 1.76.