Table of Contents
- 2.1. Introduction
- 2.2. Obtaining the source and binary distributions
- 2.3. Installing Wireshark under Windows
- 2.4. Installing Wireshark under macOS
- 2.5. Building Wireshark from source under UNIX
- 2.6. Installing the binaries under UNIX
- 2.7. Troubleshooting during the install on Unix
- 2.8. Building from source under Windows
As with all things there must be a beginning and so it is with Wireshark. To use Wireshark you must first install it. If you are running Windows or macOS you can download an official release at https://www.wireshark.org/download.html, install it, and skip the rest of this chapter.
If you are running another operating system such as Linux or FreeBSD you might want to install from source. Several Linux distributions offer Wireshark packages but they commonly ship out-of-date versions. No other versions of UNIX ship Wireshark so far. For that reason, you will need to know where to get the latest version of Wireshark and how to install it.
This chapter shows you how to obtain source and binary packages and how to build Wireshark from source should you choose to do so.
The following are the general steps you would use:
- Download the relevant package for your needs, e.g. source or binary distribution.
- Compile the source into a binary if needed. This may involve building and/or installing other necessary packages.
- Install the binaries into their final destinations.