Install Latest Wireshark on Ubuntu 18.04 'Bionic Beaver' Flavour



Wireshark is the world’s foremost and widely-used network protocol analyzer. It lets you see what’s happening on your network at a microscopic level and is the de facto (and often de jure) standard across many commercial and non-profit enterprises, government agencies, and educational institutions. Wireshark development thrives thanks to the volunteer contributions of networking experts around the globe and is the continuation of a project started by Gerald Combs in 1998.


How to Install Latest Wireshark on Ubuntu 18.04 'Bionic Beaver' Flavour ?


Adding this PPA to your system
You can update your system with unsupported packages from this untrusted PPA by adding ppa:wireshark-dev/stable to your system's Software Sources :

sudo add-apt-repository ppa:wireshark-dev/stable


sudo apt-get update




Install wireshark :

sudo apt-get install wireshark

There is a series of steps to follow that implement Privilege Separation, effectively allowing the Wireshark GUI to run as a normal user while dumpcap (which is collecting the packets from your interfaces) runs with the elevated privileges required to sniff. First, try:
sudo dpkg-reconfigure wireshark-common
And select Yes when prompted as to whether non-superusers should be able to capture packets.



In the event that this doesn’t do the trick, issue the following series of commands, which will configure the dumpcap executable to run. Be sure to include YOUR_USER_NAME where indicated below:



sudo chgrp YOUR_USER_NAME /usr/bin/dumpcap


sudo chmod +x /usr/bin/dumpcap


sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/dumpcap


After setting permision is finished, run wireshark and choose interface card :