Linux (Ubuntu)

1. Install Dependencies

$ sudo apt-get install jq flex build-essential git libcap-dev libcap-dev chrpath

2. Install Node.js 6.x

See https://nodejs.org/en/download/package-manager/

3. Install libpcap

$ curl -O https://dripcap.org/storage/libpcap-1.7.4.tar.gz
$ tar xzf libpcap-1.7.4.tar.gz
$ (cd libpcap-1.7.4 && ./configure --enable-shared=no && make -j2 && sudo make install)

4.Clone Repository

$ git clone https://github.com/dripcap/dripcap.git
$ cd dripcap

5.Install Packages

$ npm install -g gulp node-gyp babel-cli
$ npm install

6. Set Capabilities to Electron

$ ELECTRON_PATH=$(node -p "require('electron')")
$ chrpath -r $(dirname $ELECTRON_PATH) $ELECTRON_PATH
$ sudo setcap cap_net_raw,cap_net_admin=eip $ELECTRON_PATH

7.Build

$ gulp

results matching ""

    No results matching ""