Wireshark is an open source tool for profiling network traffic and analyzing packets. Wireshark, formerly known as Ethereal, can be used to examine the details of network traffic at a variety of levels ranging from connection-level information to the bits that make up a single packet.t can parse and display the fields, along with their meanings as specified by different networking protocols. Wireshark uses pcap to capture packets, so it can only capture packets on the types of networks that pcap supports. Now to inastall wireshark in ubuntu 16.04 or latter versons, follow the below steps :
1. Add PPA repository in your system for wireshark
1. Add PPA repository in your system for wireshark
sudo add-apt-repository ppa:wireshark-dev/stable
2. Now update the repository
sudo apt-get update
3. Then install wireshark
sudo apt-get install wireshark
And that's it, the wireshark is successfully installed on your system. Now to start wireshark open your terminal and type
Note : If any error message it showed up, then click on OK button.
sudo wireshark