How to install Wireshark
Step 1: Add the stable official PPA. To do this, go to terminal by pressing Ctrl+Alt+T and run:
sudo add-apt-repository ppa:wireshark-dev/stable
Step 2: Update the repository:
sudo apt-get update
Step 3: Install wireshark 2.0:
sudo apt-get install wireshark
Step 4: Run wireshark:
sudo wireshark
If you get a error couldn't run /usr/bin/dumpcap in child process: Permission Denied
. go to the terminal again and run:
sudo dpkg-reconfigure wireshark-common
Say YES
to the message box. This adds a wireshark group. Then add user to the group by typing
sudo adduser $USER wireshark
Then restart your machine and open wireshark. It works. Good Luck.
Open terminal and type the commands:
sudo apt-get install wireshark
sudo dpkg-reconfigure wireshark-common
sudo adduser $USER wireshark
wireshark
If you getting wireshark
running error, so close it and then just do the following:
- Go to
usr/share/wireshark
- Open
init.lua
with a text editor - Change
disable_lua = false
todisable_lua = true
To do this, go to terminal by pressing Ctrl+Alt+T and run:
sudo apt install wireshark
Apt should take care of all of the dependency issues for you.
Use the following command to install downloaded Wireshark debs:
dpkg -i wireshark-common_2.0.5.0-1_i386.deb wireshark_wireshark-2.0.5.0-1_i386.deb
dpkg
doesn’t take care of all dependencies, but reports what’s missing. You can usually resolve problems by then running
sudo apt install -f