Gangmax Blog

自由之思想,独立之精神

Install Wireshark on Ubuntu

| Comments

Refer here.

Wireshark is a network “sniffer” - a tool that captures and analyzes packets off the wire. Here is the instructions how to install it on Ubuntu.

1
2
3
4
5
6
7
8
9
10
11
# 1. Install the Wireshark package.
sudo apt-get install wireshark
# 2. Choose to allow the nonsudo users can capture.
sudo dpkg-reconfigure wireshark-common
# 3. The installation of Wireshark will create the 'wireshark' group. Run this command to make sure the 'wireshark' group is empty.
grep 'wireshark' /etc/group
# 4. Add your account('auser' for an example) into the group.
sudo usermod -a -G wireshark auser
# 5. Logout and login again, to make if take effect.
# 6. If you want to remove WireShark, please remove the user from the group first:
gpasswd -d auser wireshark

Comments