Skip to content

Required dependencies

GyulyVGC edited this page Jun 29, 2025 · 10 revisions

Are you ready to start using Sniffnet?
First of all we have to make sure your environment is correctly set up — no worries, this will take at most 5 minutes.

Depending on your operating system, you may need to install some dependencies to run the application:

Windows dependencies 
  • Install Npcap, making sure to check the box Install Npcap in WinPcap API-compatible Mode during the installation.

If you are a user of the app, that's all you need to do!
If you are a developer and you want to build the project, you also need to:

  • Download the Npcap SDK.

  • Add the SDK's /Lib/x64 (or /Lib) folder to your LIB environment variable.

Linux dependencies 
  • On Debian-based distributions:
    • libpcap-dev
    • libasound2-dev
    • libfontconfig1-dev
    • libgtk-3-dev
  • On RPM-based distributions:
    • libpcap-devel
    • alsa-lib-devel
    • fontconfig-devel
    • gtk3-devel

Note

If you just need to run the app, the -dev / -devel part of the dependencies is not needed (it's required only for development).

Note that if you are not running as root, you need to set capabilities to inspect a network adapter:

sudo setcap cap_net_raw,cap_net_admin=eip <your/Sniffnet/executable/path>

Alternatively, you can run the app with sudo privileges:

sudo -E sniffnet
MacOS dependencies 

MacOS natively has all the dependencies you need to build and run Sniffnet!
However, remember to run the app with administrator privileges: this is needed to analyze the activity of your network device.

Clone this wiki locally