9

I installed an application called Wireshark, using:

sudo apt-get install wireshark

I searched it and launched it. Then, I tried to uninstall it using GUI. But it is not removing.

I tried using:

sudo apt-get remove wireshark

And the weird thing is that the application is still in the system!

  • What happened when you did sudo apt-get remove wireshark? That should work. Also, a program will keep running after the package that it belongs to is removed; you just can't restart it after you close it. – Jos Sep 19 '16 at 20:33

5 Answers5

10

The following procedure should wipe wireshark from your system: First uninstall the wireshark package and all related configuration files:

sudo apt-get remove --purge wireshark

Then remove all dependencies that are no longer needed:

sudo apt-get autoremove
biber
  • 311
7

I wanted to simply make a comment, but seems like I have to make an answer. The method is shown here: https://www.youtube.com/watch?v=WOJWbAyjflk

sudo apt-get remove --autoremove wireshark wireshark-*

sudo rm -rf /etc/wireshark

check if everything is removed with whereis wireshark

Jecke
  • 121
  • 1
  • 2
  • 6
0

I used the following commands to remove wireshark because i had the similar problem

sudo -i

apt-get purge wireshark-* 

apt autoremove

Then i checked if everything is removed using

whereis wireshark

It is directory(without the packages) was still there at /etc/ so i removed it using

rm -rf etc/wireshark
0

I wanted to reinstall the Wireshark to restore the default config I unintentionally changed. To do so after doing what Rithik Gandhi says, remove the config folder located in ~/.config/wireshark.

0

I removed it by typing "sudo apt-get autoremove" in terminal, and then going to Ubuntu Software and search for wireshark and then uninstall. It worked for me.

Hokkis
  • 1