In general installing the binary under your version of UNIX will be specific to the installation methods used with your version of UNIX. For example, under AIX, you would use smit to install the Wireshark binary package, while under Tru64 UNIX (formerly Digital UNIX) you would use setld.
Building RPMs from Wireshark’s source code results in several packages (most distributions follow the same system):
wiresharkpackage contains the core Wireshark libraries and command-line tools.
wireshark-qtpackage contains the Qt-based GUI.
wireshark-gnome) package contains the legacy Gtk+ based GUI.
Many distributions use
yum or a similar package management tool to make
installation of software (including its dependencies) easier. If your
yum, use the following command to install Wireshark
together with the Qt GUI:
yum install wireshark wireshark-qt
If you’ve built your own RPMs from the Wireshark sources you can install them by running, for example:
rpm -ivh wireshark-2.0.0-1.x86_64.rpm wireshark-qt-2.0.0-1.x86_64.rpm
If the above command fails because of missing dependencies, install the dependencies first, and then retry the step above.
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_126.96.36.199-1_i386.deb wireshark_wireshark-188.8.131.52-1_i386.deb
dpkg doesn’t take care of all dependencies, but reports what’s missing.
|Capturing requires privileges|
By installing Wireshark packages non-root users won’t gain rights automatically to capture packets. To allow non-root users to capture packets follow the procedure described in /usr/share/doc/wireshark-common/README.Debian
Use the following command to install Wireshark under Gentoo Linux with all of the extra features:
$ USE="c-ares gtk ipv6 portaudio snmp ssl kerberos threads selinux" emerge wireshark