{"id":12468,"date":"2022-05-01T13:27:14","date_gmt":"2022-05-01T10:27:14","guid":{"rendered":"https:\/\/kifarunix.com\/?p=12468"},"modified":"2024-03-09T14:52:04","modified_gmt":"2024-03-09T11:52:04","slug":"install-wireshark-on-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-wireshark-on-ubuntu-22-04\/","title":{"rendered":"Install Wireshark on Ubuntu 22.04"},"content":{"rendered":"\n

In this guide, you will learn how to install Wireshark on Ubuntu 22.04. Wireshark<\/a> is the world\u2019s foremost and widely-used network protocol analyzer. Note that it is a criminal act to scan or sniff on any network traffic without any authorization.<\/p>\n\n\n\n

Install Wireshark on Ubuntu 22.04<\/h2>\n\n\n\n

Wireshark is available on the default Ubuntu 22.04 repositories. However, the available versions may not be the up-to-date. Wireshark 3.6.3 is the current stable release as of this writing.<\/p>\n\n\n\n

Well, to confirm this, run the commands below to check the available version of Wireshark on Ubuntu 22.04;<\/p>\n\n\n\n

apt-cache policy wireshark<\/code><\/pre>\n\n\n\n

Command output;<\/p>\n\n\n\n

wireshark:\n  Installed: (none)\n  Candidate: 3.6.2-2\n  Version table:\n     3.6.2-2 500\n        500 http:\/\/ke.archive.ubuntu.com\/ubuntu jammy\/universe amd64 Packages\n<\/code><\/pre>\n\n\n\n

As you can see, the latest version of Wireshark available onthe default Ubuntu 22.04 repositories is Wireshark 3.6.2<\/p>\n\n\n\n

To install this version, simply run the command below;<\/p>\n\n\n\n

apt install wireshark<\/code><\/pre>\n\n\n\n

Otherwise, if you want to install the latest stable release version as per the release page<\/a>, currently 3.6.3 as of this writing, then you have to build from the source code.<\/p>\n\n\n\n

Build and Install Wireshark from the Source Code<\/h3>\n\n\n\n

Before you can proceed with compilation and installation of Wireshark on Ubuntu 18.04, you need to install the required dependencies. Some of the dependencies are optional. You can see a list of all required dependencies for compiling and installing Wireshark on the Library reference page<\/a>.<\/p>\n\n\n\n

apt install qttools5-dev qttools5-dev-tools libqt5svg5-dev \\\nqtmultimedia5-dev build-essential automake autoconf \\\nlibgtk2.0-dev libglib2.0-dev flex bison libpcap-dev \\\nlibgcrypt20-dev cmake libc-ares-dev -y<\/code><\/pre>\n\n\n\n