Skip to content

Instantly share code, notes, and snippets.

@afahitech
Created March 30, 2020 13:02
Show Gist options
  • Select an option

  • Save afahitech/11b112ae2c41eb287779ab58d1b92843 to your computer and use it in GitHub Desktop.

Select an option

Save afahitech/11b112ae2c41eb287779ab58d1b92843 to your computer and use it in GitHub Desktop.
Install Wireshark on Ubuntu
# Update system
sudo apt update && sudo apt upgrade
sudo add-apt-repository ppa:wireshark-dev/stable
sudo apt update
sudo apt -y install wireshark
wireshark --version
# Configure and start Wireshark
sudo usermod -a -G wireshark $USER
# change dumpcap binary file permissions
sudo chgrp wireshark /usr/bin/dumpcap
sudo chmod 750 /usr/bin/dumpcap
sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpca
# Verify
sudo getcap /usr/bin/dumpcap
---/usr/bin/dumpcap = cap_net_admin,cap_net_raw+eip
# Start wireshark
wireshark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment