Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install Wireshark on MacOS X via brew [closed]

I installed Wireshark on my mac with the command

brew install wireshark 

but after that, a message told me that I had to curl and install ChmodBPF, so I did that too.

But there is no command named Wireshark on terminal. What is wrong with that?

like image 913
Aryan Avatar asked Oct 07 '14 17:10

Aryan


People also ask

Can you install Wireshark on Mac?

The official macOS packages can be downloaded from the Wireshark main page or the download page. Packages are distributed as disk images (. dmg) containing the application bundle.

How do I open Wireshark on a Mac?

Simply type sudo 644 /dev/bpf* and hit enter. This will not, however, execute until the administrators password is inputted. This step is show below in Figure 4. Since the Terminal is already open, Wireshark can be opened by opening the Applications folder using cd /Applications and then typing open Wireshark.

Is homebrew automatically installed on Mac?

By default, it installs Homebrew so you can use the brew command without typing the sudo command and providing your password. UPDATE: The below command is no longer necessary. Homebrew Cask is now automatically installed as part of Homebrew itself.


1 Answers

The homebrew package wireshark installs the command line util tshark. If you want to enable the GUI, then install wireshark like this:

brew install wireshark --with-qt 

If you already have Wireshark installed, do

brew reinstall wireshark --with-qt 
like image 129
Allan Beaufour Avatar answered Oct 22 '22 23:10

Allan Beaufour