Installing WhatPulse on Ubuntu (or on any other Linux distribution) is not as easy as installing it on Windows or Mac. Here is the procedure I use every time I have to install it.
First you need to download the binaries from the official WhatPulse site (http://whatpulse.org/downloads/) and extract the files into a folder. You will have to install the dependencies using the terminal. These dependencies are required to allow WhatPulse gather different stats (i.e. network stats):
sudo apt-get install libqtcore4 libqtwebkit4 libqt4-sql libqt4-sql-sqlite libssl-dev libqtscript4-core libqtscript4-gui libqtscript4-network libqtscript4-webkit libpcap0.8 libpcapnav0
You will need to run the the setup-input-permissions.sh script and follow the instructions:
sudo sh setup-input-permissions.sh
[block id=”google-ads”] Make sure you add your username when requested and select Yes for other questions. Press Ctrl + C to finish the installation.
What to do if network traffic is not captured
In case your network stats are not captured (network traffic is monitored but not captured) you will be asked if you want to fix it automatically. If you still have issues, then you need to tun the following command (CD to the executable directory in a terminal):
sudo setcap cap_net_raw,cap_net_admin=eip ./whatpulse
Now restart WhatPulse and everything should be OK.