Skip to content

Instantly share code, notes, and snippets.

@kiliczsh
Last active August 30, 2018 14:31
Show Gist options
  • Select an option

  • Save kiliczsh/f607834a03c4af3087b64bd438808837 to your computer and use it in GitHub Desktop.

Select an option

Save kiliczsh/f607834a03c4af3087b64bd438808837 to your computer and use it in GitHub Desktop.
#!/bin/sh
# make executable terminal:~chmod +x install_wireshark_ubuntu.sh
# run as terminal:~./install_wireshark_ubuntu.sh
echo "Adding Wireshark to Application Repository"
sudo add-apt-repository ppa:wireshark-dev/stable
echo "running apt-get update command"
sudo apt-get update
echo "started to install wireshark"
sudo apt-get install wireshark -y
sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
echo "installation completed"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment