13

I can't install Ettercap to my OSX 10.7.8 using homebrew. Homebrew allowed me to install Ettercap but I can't rub it with graphical mode somehow.

➜  ~  ettercap -G

ettercap 0.7.6 copyright 2001-2013 Ettercap Development Team

GTK support is not compiled in ettercap

I would appreciate it if you can guide me through the steps to successfully install ettercap with graphical mode at my OSX mountain lion.

Thanks in advance

2 Answers 2

24

To install Ettercap with the graphical mode with Homebrew, you can use the option --with-gtk+

$ brew install ettercap --with-gtk+

For your own information, you can get details about options on any Homebrew formula with brew info [formula]

Issuing brew info ettercap in the Terminal will show something like

ettercap: stable 0.8.0, HEAD
http://ettercap.github.io/ettercap/
/usr/local/Cellar/ettercap/0.8.0 (69 files, 2,1M) *
  Built from source with: --with-gtk+, --with-ipv6
From: https://github.com/Homebrew/homebrew/commits/master/Library/Formula/ettercap.rb
==> Dependencies
Build: cmake ✔, ghostscript ✘
Required: pcre ✔, libnet ✔, curl ✔
Optional: ghostscript ✘, gtk+ ✔, luajit ✘
==> Options
--with-ghostscript
    Build with ghostscript support
--with-gtk+
    Build with gtk+ support
--with-ipv6
    Install with IPv6 support
--with-luajit
    Build with luajit support
--without-curses
    Install without curses interface
--without-plugins
    Install without plugins support
--HEAD
    install HEAD version

Note: in order to use this graphical mode, you also need to install XQuartz

3
  • 8
    For anyone who already installed. brew reinstall ettercap --with-gtk+
    – Jin Kwon
    Dec 24, 2016 at 19:20
  • 1
    This solution no longer works Error: invalid option: --with-gtk+
    – spuder
    Nov 16, 2019 at 22:49
  • The new version has the GTK3 built-in. It's just needed to install the icons manually: brew install adwaita-icon-theme May 12, 2021 at 8:53
3

Newer version of ettercap now work when installed from homebrew, however you must ensure you have the adwaita-icon-theme package installed aswell

brew install ettercap
brew install adwaita-icon-theme

https://github.com/Ettercap/ettercap/wiki/macosx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.