Table of Contents
Like most applications, Wireshark depends on libraries provided by your operating system and by third parties, including the C runtime library, GLib, libpcap, and Qt. While running Wireshark only requires the libraries themselves, building it requires header files, import libraries, and related resources.
Binary libraries are available in different formats and are specific to the target operating system, platform, and compiler. They can be compiled by hand, but are most often installed as pre-built packages.
On most Linux systems, the required binary and development libraries can be installed using your package manager. We provide setup scripts that will install the required packages for most distributions. See Section 2.1.1, “Build environment setup” for details.
On macOS, you can install pre-built packages using a third party package manager such as Homebrew or MacPorts.
As with Linux, we provide
tools/macos-setup-brew.sh, which will install the required Homebrew packages.
We also provide
tools/macos-setup.sh, which will download, build, and install required packages.
tools/macos-setup.sh installs into /usr/local by default; you can change this with the
Windows doesn’t have a good library package manager at the present time, so we provide our own pre-built libraries.
They can be installed using
tools/win-setup.ps1 and are automatically installed when you run CMake.
With the exception of Qt, all libraries required to build Wireshark on Windows are available for download at
See Section 5.2, “Windows Automated Library Download” for details.