Hi, Can we install wireshark on Ubuntu machine. Please share the download link if that is possible. asked 26 Nov '12, 20:50 Gagandeep edited 26 Nov '12, 22:44 Guy Harris ♦♦ |
2 Answers:
I was successful with the set of commands below:
answered 05 Dec '13, 20:43 Guy Kroizman 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. answered 26 Nov '12, 21:10 SidR edited 26 Nov '12, 21:11 |
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/24409Installed 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
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)
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.
Please report this problem to the Ubuntu developers!
02/06/2016 and this bug still persist
As Kurt Knochner said, "Please report this problem to the Ubuntu developers!"