Use the default system repository to install Wireshark of Ubuntu 22.04 LTS Jammy Jellyfish or 20.04 focal fossa Linux distros.
The Sniffer Wireshark is available in all Linux distributions to easily install. Apart from it, the executable can be downloaded for Windows and Mac OS. This open-source application is very useful for network administrators. IT can record the traffic, where you can look at the contents of a data packet. The IP address of the target system is always logged. Wireshark, for example, can be used to expose notoriously programs using networks to perform some unusual tasks. You can also statistically evaluate the collected data traffic, for example by searching for particularly large packets or picking out addresses that are frequently accessed. A counter-test of who owns such an IP address may then put you on the trail of an attack.
Wireshark logs the network traffic of the interfaces of the system on which it is installed. It can therefore examine all incoming and outgoing connections of the respective computer. At the same time, it also receives all data packets that are sent to all systems in the network (broadcasts).
- Steps to install WireShark on Ubuntu 20.04 | 22.04 LTS
Steps to install WireShark on Ubuntu 20.04 | 22.04 LTS
The commands given in this tutorial can be used for other versions of Ubuntu such as 18.04 including Debian and its based systems.
#Method 1: Using Standard Repository
1. Update Ubuntu 22.04 or 20.04
We don’t need to surf some website pages or add any repository. Because Wireshark is available to install using the standard repository of Ubuntu. Hence, first of all, run the system update command that will refresh the APT package manager package index.
sudo apt update && sudo apt upgrade
2. Install Wireshark
Well, the Wireshark version is available to install using the standard repository will be the stable one but not the latest. So, if you want to avoid adding of additional repository then this method is perfect for you. Simply run the given command and you are done.
sudo apt install wireshark
#2nd Method: Using PPA for the latest version
3. Add WireShark PPA repository
Those who want to install WireShark’s latest version, need to add the PPA repository created by the developer team of WireShark.
sudo apt install software-properties-common
sudo add-apt-repository ppa:wireshark-dev/stable
sudo apt update
4. Install WireShark on Ubuntu 22.04 or 20.04
After adding the WireShark PPA repository, we can install the latest version of this program simply using the APT package manager, just like we do for any other application to get using the standard repo of Ubuntu.
sudo apt install wireshark
5. Use WireShark as a non-root user, if need
The system by default only lets users with sudo access to capture network data, if you also want the non-root users to use the Wireshark to analyze the network then select the Yes option otherwise let the No selected and simply press the Enter key.
6. Check Version
Once the installation is completed we can check its version, to know what version has been installed on our computer, run.
7. Run WireShark to capture network data
We can easily use the WireShark to capture the data from available network interfaces and analyze what is happening. Wireshark logs the network traffic of the interfaces of the system on which it is installed. The program can record data traffic, allowing you to view the content of a data packet. The IP address of the target system is always logged. For example, Wireshark can be used to unmask programs that are notorious.
sudo wireshark &
After you have started Wireshark, the software first shows you the interfaces of the computer. In the overview, mark the entry for the interface that is to be monitored.
8. Capture the data from available network interfaces
Click on the shark flipper icon in the top left corner to start recording. Continue working with the system as usual. When detecting unwanted network traffic, it is impossible to determine with certainty when a computer will call up its target host. Incidentally, at a later date, if you have a protocol or a destination under particular suspicion, Filter traffic recording from the start. In the “Record” menu you will find the entry “Recording filter“.
How to Install Ntopng on Ubuntu 22.04 LTS Jammy
10 popular Open-Source Tools to Secure Your Linux Server in 2022
4 Best Linux Open source Firewall for Cyber Security – 2022
How To Install SFTPGo on Ubuntu 22.04 LTS…
How To Install Uptime Kuma on Ubuntu 22.04…