Installing SLiRP

Getting the source code

The easiest way to download SLiRP is to get it straight from the World Wide Web here. Alternatively, you can also download via ftp from blitzen.canberra.edu.au or peace.wit.com. The files are typically named slirp-????.tar.gz where ???? is the version number (eg., 0.95e).

When you've gotten the file, unpack it into your directory. Use the command:

    gzip -dc  | tar -xvf -

This will uncompress all the SLiRP source and documentation files in its own directory (named slirp-????).

Compiling the source code

To begin, change to the "src" directory (eg., cd slrip-0.95e/src). Compilation is a two step process. First, give the command:

    ./configure

This will generate the required make file for your platform. Next, type:

    make

If everything goes well, you should find the executable file slirp in this directory. If you wish, you may want to copy the SLiRP executable to your 'bin' directory. For example:

    cp ./slirp ~/bin/slirp