User Guide

Building and Installing Wireshark
13
rpm -ivh wireshark-1.5.i386.rpm
If the above step fails because of missing dependencies, install the dependencies first, and then retry the
step above. See Example 2.3, Installing required RPMs under Red Hat Linux 6.2 and beyond for
information on what RPMs you will need to have installed.
2.5.2. Installing from deb's under Debian
If you can just install from the repository then use:
aptitude install wireshark
aptitude should take care of all of the dependency issues for you.
Use the following command to install downloaded Wireshark deb's under Debian:
dpkg -i wireshark-common_1.5.0-1_i386.deb wireshark_1.5.0-1_i386.deb
dpkg doesn't take care of all dependencies, but reports what's missing.
2.5.3. Installing from portage under Gentoo Linux
Use the following command to install Wireshark under Gentoo Linux with all of the extra features:
USE="adns gtk ipv6 portaudio snmp ssl kerberos threads selinux" emerge wireshark
2.5.4. Installing from packages under FreeBSD
Use the following command to install Wireshark under FreeBSD:
pkg_add -r wireshark
pkg_add should take care of all of the dependency issues for you.
2.6. Troubleshooting during the install on Unix
A number of errors can occur during the installation process. Some hints on solving these are provided here.
If the configure stage fails, you will need to find out why. You can check the file config.log in the
source directory to find out what failed. The last few lines of this file should help in determining the
problem.
The standard problems are that you do not have GTK+ on your system, or you do not have a recent enough
version of GTK+. The configure will also fail if you do not have libpcap (at least the required include
files) on your system.
Another common problem is for the final compile and link stage to terminate with a complaint of: Output
too long. This is likely to be caused by an antiquated sed (such as the one shipped with Solaris). Since sed