From 6eb024378e7e0b24e91acf15875ddfece43eef1c Mon Sep 17 00:00:00 2001 From: Giuliano Bellini <100347457+GyulyVGC@users.noreply.github.com> Date: Wed, 16 Nov 2022 20:34:12 +0100 Subject: [PATCH] Update README.md --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c1ce8bac..db0b6b8e 100644 --- a/README.md +++ b/README.md @@ -48,13 +48,12 @@ The application can then be run using ```sniffnet [OPTIONS]``` Build on Linux 
- In order to build and run Sniffnet on Linux systems, install the libraries and header files for the libpcap library. For example: + + In order to build and run Sniffnet on Linux systems, install the libraries and header files for the libpcap library: + `sudo apt-get install libpcap-dev` - - On Debian based Linux: ```install libpcap-dev```. - - - On Fedora Linux: ```install libpcap-devel```. - - - Note that if you are not running as root, you need to set capabilities like so: ```sudo setcap cap_net_raw,cap_net_admin=eip path/to/bin```. + Note that if you are not running as root, you need to set capabilities like so: + `sudo setcap cap_net_raw,cap_net_admin=eip ~/.cargo/bin/sniffnet`