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):
wireshark
package contains the core Wireshark libraries and command-line
tools.
wireshark
or wireshark-qt
package contains the Qt-based GUI.
Many distributions use yum
or a similar package management tool to make
installation of software (including its dependencies) easier. If your
distribution uses 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
apt install wireshark
Apt should take care of all of the dependency issues for you.
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 https://gitlab.com/wireshark/wireshark/-/blob/master/packaging/debian/README.Debian (/usr/share/doc/wireshark-common/README.Debian.gz) |
Use the following command to install Wireshark under Gentoo Linux with all of the extra features:
USE="c-ares ipv6 snmp ssl kerberos threads selinux" emerge wireshark