How To Install ntopng on Debian 10

Learn how to install ntopng on Debian 10 with this tutorial. ntopng is High-Speed Web-based Traffic Analysis and Flow Collection Tool

Introduction

In this tutorial we learn how to install ntopng on Debian 10.

What is ntopng

ntopng is:

ntopng is the next generation version of the original ntop, a network traffic probe that shows the network usage, similar to what the popular top Unix command does. ntop is based on libpcap and it has been written in a portable way in order to virtually run on every Unix platform, MacOSX and on Win32 as well.

ntopng users can use a web browser to navigate through ntop (that acts as a web server) traffic information and get a dump of the network status. In the latter case, ntop can be seen as a simple RMON-like agent with an embedded web interface. The use of:

  • a web interface
  • limited configuration and administration via the web interface
  • reduced CPU and memory usage (they vary according to network size and traffic)

What ntopng can do:

  • Sort network traffic according to many protocols
  • Show network traffic and IPv4/v6 active hosts
  • Store on disk persistent traffic statistics in RRD format
  • Geolocate hosts
  • Discover application protocols by leveraging on nDPI, ntop??s DPI framework
  • Characterise HTTP traffic by leveraging on characterisation services provided by block.si. ntopng comes with a demo characterisation key, but if you need a permanent one, please mail [email protected]
  • Show IP traffic distribution among the various protocols
  • Analyse IP traffic and sort it according to the source/destination
  • Display IP Traffic Subnet matrix (who??s talking to who?)
  • Report IP protocol usage sorted by protocol type
  • Act as a NetFlow/sFlow collector for flows generated by routers (e.g. Cisco and Juniper) or switches (e.g. Foundry Networks) when used together with nProbe
  • Produce HTML5/AJAX network traffic statistics

There are three methods to install ntopng on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ntopng Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install ntopng using apt-get by running the following command:

sudo apt-get -y install ntopng

Install ntopng Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ntopng using apt by running the following command:

sudo apt -y install ntopng

Install ntopng Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install ntopng using aptitude by running the following command:

sudo aptitude -y install ntopng

How To Uninstall ntopng on Debian 10

To uninstall only the ntopng package we can use the following command:

sudo apt-get remove ntopng

Uninstall ntopng And Its Dependencies

To uninstall ntopng and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove ntopng

Remove ntopng Configurations and Data

To remove ntopng configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge ntopng

Remove ntopng configuration, data, and all of its dependencies

We can use the following command to remove ntopng configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ntopng

Dependencies

ntopng have the following dependencies:

References

Summary

In this tutorial we learn how to install ntopng package on Debian 10 using different package management tools: apt, apt-get and aptitude.