OSQA is unmaintained. Help us figure out where to go from here.


Can we install wireshark on Ubuntu machine. Please share the download link if that is possible.

asked 26 Nov '12, 20:50

Gagandeep's gravatar image

accept rate: 0%

edited 26 Nov '12, 22:44

Guy%20Harris's gravatar image

Guy Harris ♦♦

I was successful with the set of commands below:

sudo apt-get install wireshark
sudo groupadd wireshark
sudo usermod -a -G wireshark YOUR_USER_NAME
sudo chgrp wireshark /usr/bin/dumpcap
sudo chmod 750 /usr/bin/dumpcap
sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap
sudo getcap /usr/bin/dumpcap
permanent link

answered 05 Dec '13, 20:43

Guy%20Kroizman's gravatar image

Guy Kroizman
accept rate: 0%

Actually there is a better way: sudo dpkg-reconfigure wireshark-common
And then choose Yes for allowing non-superusers to be able to capture packages. Taken from here: http://askubuntu.com/a/74064/24409

(05 Dec '13, 20:54) Guy Kroizman

Installed as recommended and when Wireshark starts up get:

Couldn't run /usr/bin/dumpcap in child process: Permission denied

~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise

(17 Jan '14, 08:50) ChiefDnd

On Ubuntu 13.10, you need to log out and log back in for your new group memberships (i.e. joining the wireshark group) to take effect. I needed to do this in order to be able to execute /usr/bin/dumpcap (and this may have been your problem @ChiefDnd)

(24 Mar '14, 08:51) wgeorge

Just went through this on Ubuntu 14.04 and found that even after doing the "sudo dpkg-reconfigure wireshark-common" and logging out and back in, I still wasn't in the wireshark group. I manually added myself by editing /etc/group and adding my username to the end of the wireshark line, then logged out and back in and then I was able to use wireshark OK.

(04 Aug '14, 16:30) Marnix

Please report this problem to the Ubuntu developers!

(04 Aug '14, 23:02) Kurt Knochner ♦

02/06/2016 and this bug still persist

(02 Jun '16, 04:18) razorborn

02/06/2016 and this bug still persist

As Kurt Knochner said, "Please report this problem to the Ubuntu developers!"

(02 Jun '16, 11:35) Guy Harris ♦♦
showing 5 of 7 show 2 more comments

Sure. You can install it from the Ubuntu Software center, or the Synaptic Package Manager or from the terminal by running the command: sudo apt-get install wireshark.

You can also install it from the source, you can download it from this link.

permanent link

answered 26 Nov '12, 21:10

SidR's gravatar image

accept rate: 30%

edited 26 Nov '12, 21:11

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 26 Nov '12, 20:50

question was seen: 332,407 times

last updated: 02 Jun '16, 11:35

p​o​w​e​r​e​d by O​S​Q​A