### Execute Wireshark Setup Script for Debian/Ubuntu Source: https://www.wireshark.org/docs/wsdg_html Run the Debian-based systems setup script to install Wireshark build dependencies. Use --install-qt5-deps to force installation of Qt5 packages. ```bash tools/debian-setup.sh --install-qt5-deps ``` -------------------------------- ### Wireshark Windows Installer Command Line Options Source: https://www.wireshark.org/docs/wsug_html_chunked/ChBuildInstallWinInstall.html These examples demonstrate how to use command-line arguments to customize the Wireshark installation on Windows, including silent installations and component selection. ```bash > Wireshark-4.2.5-x64.exe /NCRC /S /desktopicon=yes /D=C:\Program Files\Foo ``` ```bash > Wireshark-4.2.5-x64.exe /S /EXTRACOMPONENTS=sshdump,udpdump ``` -------------------------------- ### Build Wireshark Documentation Source: https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWindows.html Compile the Wireshark User's Guide and Developer's Guide by building the 'all_guides' target using MSBuild. Ensure 'Xsltproc' is installed separately. ```bash cd C:\Development\wsbuild64 msbuild doc\all_guides.vcxproj ``` -------------------------------- ### Install Optional Software on RPM-based Linux Source: https://www.wireshark.org/docs/wsdg_html Use `rpm-setup.sh` with `--install-optional` to include optional software during setup. ```bash tools/rpm-setup.sh --install-optional ``` -------------------------------- ### Build All Guides Source: https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupUNIX.html Build the Wireshark User's Guide and Developer's Guide by invoking the 'all_guides' target with make or ninja. ```bash make all_guides # or ninja all_guides ``` -------------------------------- ### Execute Wireshark Setup Script for Arch Linux Source: https://www.wireshark.org/docs/wsdg_html Run the Arch Linux setup script to install Wireshark build dependencies. Use the --install-test-deps flag to install packages required for running tests. ```bash tools/arch-setup.sh --install-test-deps ``` -------------------------------- ### Install All Dependencies on RPM-based Linux Source: https://www.wireshark.org/docs/wsdg_html Use `rpm-setup.sh` with `--install-all` to install all required and optional software. ```bash tools/rpm-setup.sh --install-all ``` -------------------------------- ### Install All Dependencies on macOS Source: https://www.wireshark.org/docs/wsdg_html Use `macos-setup-brew.sh` with `--install-all` to install all required and optional software for building Wireshark on macOS. ```bash tools/macos-setup-brew.sh --install-all ``` -------------------------------- ### Execute Wireshark Setup Script for BSD Systems Source: https://www.wireshark.org/docs/wsdg_html Run the BSD systems setup script to install Wireshark build dependencies. Other options are passed directly to the pkg manager. ```bash tools/bsd-setup.sh ``` -------------------------------- ### Run Wireshark with MATE Configuration Source: https://www.wireshark.org/docs/wsug_html_chunked/ChMateGettingStarted.html This command-line example shows how to run Wireshark with a specific MATE configuration file and a capture file. Ensure the path to Wireshark and the configuration file are correct. ```bash path_to/wireshark -o "mate.config: tcp.mate" -r http.cap ``` -------------------------------- ### Example Interface Configuration Options Source: https://www.wireshark.org/docs/wsdg_html This example shows the format of configuration options returned by the `--extcap-config` command. It includes details like option number, call name, display name, type, and validation rules. ```text $ extcap_example.py --extcap-interface --extcap-config arg {number=0}{call=--delay}{display=Time delay}{tooltip=Time delay between packages}{type=integer}{range=1,15}{required=true} arg {number=1}{call=--message}{display=Message}{tooltip=Package message content}{placeholder=Please enter a message here ...}{type=string} arg {number=2}{call=--verify}{display=Verify}{tooltip=Verify package content}{type=boolflag} arg {number=3}{call=--remote}{display=Remote Channel}{tooltip=Remote Channel Selector}{type=selector} arg {number=4}{call=--server}{display=IP address for log server}{type=string}{validation=\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b} value {arg=3}{value=if1}{display=Remote1}{default=true} value {arg=3}{value=if2}{display=Remote2}{default=false} ```