Building ethereal from source under unix – Lucent Technologies Ethereal User Manual

Page 33

Advertising
background image

2.4. Building Ethereal from source under
UNIX

Use the following general steps if you are building Ethereal from source under a UNIX operating
system:

1.

Unpack the source from its gzip'd tar file. If you are using Linux, or your version of UNIX
uses GNU tar, you can use the following command:

tar zxvf ethereal-0.10.12-tar.gz

For other versions of UNIX, You will want to use the following commands:

gzip -d ethereal-0.10.12-tar.gz
tar xvf ethereal-0.10.12-tar

Note!

The pipeline gzip -dc ethereal-0.10.12-tar.gz | tar xvf - will work here as well.

Note!

If you have downloaded the Ethereal tarball under Windows, you may find that
your browser has created a file with underscores rather than periods in its file
name.

2.

Change directory to the Ethereal source directory.

3.

Configure your source so it will build correctly for your version of UNIX. You can do this with
the following command:

./configure

If this step fails, you will have to rectify the problems and rerun configure. Troubleshooting
hints are provided in

Section 2.6, “Troubleshooting during the install on Unix”

.

4.

Build the sources into a binary, with the make command. For example:

make

5.

Install the software in its final destination, using the command:

make install

Building and Installing Ethereal

19

Advertising