As it’s not available in repo nor PPA you need to build it (it is really easy and quickly done).
Fetch and extract
1 2 3 4 |
wget -c https://github.com/raboof/nethogs/archive/v0.8.1.tar.gz tar xf v0.8.1.tar.gz cd ./nethogs-0.8.1/ |
Install dependencies and build
1 2 3 |
sudo apt-get install libncurses5-dev libpcap-dev make && sudo make install |
Check and run
1 2 |
nethogs -V sudo nethogs |