Sunday, April 2, 2017

How to install Wireshark on Ubuntu 16.04

Wireshark is a free and open source packet analyzer. It is used for network troubleshooting, analysis, software and communications protocol development, and education. Originally named Ethereal, the project was renamed Wireshark in May 2006 due to trademark issues.

On Ubuntu 16.04 Wireshark can be installed via ppa : 

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

sudo apt update 

sudo apt install wireshark 

sudo chgrp myusername /usr/bin/dumpcap

sudo chmod 750 /usr/bin/dumpcap

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

Optional : CLI > GUI 

sudo apt install tshark 

After completing the setup Wireshark can be launched via Dash for those who like to use GUI or via terminal for those who prefer the command line