Installation
Installation instructions are available below for all supported operating systems.
Debian/Ubuntu (x64)
Before installing ntop packages, you need to add the official ntop repository. Below are instructions for any of the supported distributions.
apt-get install software-properties-common wget
add-apt-repository universe
wget https://packages.ntop.org/apt/24.04/all/apt-ntop.deb
apt install ./apt-ntop.deb
apt-get install software-properties-common wget
add-apt-repository universe
wget https://packages.ntop.org/apt/22.04/all/apt-ntop.deb
apt install ./apt-ntop.deb
apt-get install software-properties-common wget
add-apt-repository universe
wget https://packages.ntop.org/apt/20.04/all/apt-ntop.deb
apt install ./apt-ntop.deb
Before installing the ntop repository make sure to edit /etc/apt/sources.list and add contrib at the end of each line that begins with deb and deb-src.
wget https://packages.ntop.org/apt/bookworm/all/apt-ntop.deb
apt install ./apt-ntop.deb
Before installing the ntop repository make sure to edit /etc/apt/sources.list and add contrib at the end of each line that begins with deb and deb-src.
wget https://packages.ntop.org/apt/bullseye/all/apt-ntop.deb
apt install ./apt-ntop.deb
Before installing the ntop repository make sure to edit /etc/apt/sources.list and add contrib at the end of each line that begins with deb and deb-src.
wget https://packages.ntop.org/apt/buster/all/apt-ntop.deb
apt install ./apt-ntop.deb
apt-get install software-properties-common wget
add-apt-repository universe
wget https://packages.ntop.org/apt-stable/24.04/all/apt-ntop-stable.deb
apt install ./apt-ntop-stable.deb
apt-get install software-properties-common wget
add-apt-repository universe
wget https://packages.ntop.org/apt-stable/22.04/all/apt-ntop-stable.deb
apt install ./apt-ntop-stable.deb
apt-get install software-properties-common wget
add-apt-repository universe
wget https://packages.ntop.org/apt-stable/20.04/all/apt-ntop-stable.deb
apt install ./apt-ntop-stable.deb
Before installing the ntop repository make sure to edit /etc/apt/sources.list and add contrib at the end of each line that begins with deb and deb-src.
wget https://packages.ntop.org/apt-stable/bookworm/all/apt-ntop-stable.deb
apt install ./apt-ntop-stable.deb
Before installing the ntop repository make sure to edit /etc/apt/sources.list and add contrib at the end of each line that begins with deb and deb-src.
wget https://packages.ntop.org/apt-stable/bullseye/all/apt-ntop-stable.deb
apt install ./apt-ntop-stable.deb
Before installing the ntop repository make sure to edit /etc/apt/sources.list and add contrib at the end of each line that begins with deb and deb-src.
wget https://packages.ntop.org/apt-stable/buster/all/apt-ntop-stable.deb
apt install ./apt-ntop-stable.deb
Once the ntop repository has been added, you can run the following commands (as root) to install ntop packages:
apt-get clean all
apt-get update
apt-get install pfring-dkms nprobe ntopng n2disk cento ntap
You can (optionally – on supported platforms) install the ZC drivers as follows:
apt-get install pfring-drivers-zc-dkms
To install nedge (if available for your distribution) you can run the following command. Note: ntopng cannot be installed together with nedge, remove ntopng before.
apt-get install nedge
If you want to keep your system up-to-date, you can run:
apt-get update
apt-get upgrade
Rocky/CentOS/AlmaLinux (x64)
Before installing ntop packages, you need to add the official ntop repository (as root):
curl https://packages.ntop.org/centos/ntop.repo > /etc/yum.repos.d/ntop.repo
curl https://packages.ntop.org/centos-stable/ntop.repo > /etc/yum.repos.d/ntop.repo
Then, perform the following steps, depending on your distribution.
dnf config-manager --set-enabled crb
dnf install epel-release
dnf config-manager --set-enabled powertools
dnf install epel-release
yum install epel-release
rpm -ivh http://rpms.remirepo.net/enterprise/remi-release-8.rpm
yum install dnf-plugins-core
dnf config-manager --set-enabled powertools
dnf config-manager --set-enabled remi
Before installing the ntop repository make sure to edit /etc/apt/sources.list and add contrib at the end of each line that begins with deb and deb-src.
yum install epel-release
Once the ntop repository has been added, you can run the following commands (as root) to install ntop packages:
yum clean all
yum update
yum install pfring-dkms n2disk nprobe ntopng cento ntap
You can (optionally – on supported platforms) install the ZC drivers as follows:
yum install pfring-drivers-zc-dkms
If you want to keep your system up-to-date, you can run:
yum clean all
yum update
Raspbian / rPi OS (arm64)
Before installing ntop packages, you need to add the official ntop repository. Below are instructions for any of the supported distributions.
echo "deb http://apt.ntop.org/bookworm_pi armhf/" > /etc/apt/sources.list.d/ntop.list
echo "deb http://apt.ntop.org/bookworm_pi all/" >> /etc/apt/sources.list.d/ntop.list
Once the ntop repository has been added, you can run the following commands (as root) to install ntop packages:
apt-get clean all
apt-get update
apt-get install nprobe ntopng
If you want to keep your system up-to-date, you can run:
apt-get update
apt-get upgrade
Windows (x64)
NOTE: You need to install capture drivers before installing the ntop tools.
macOS (x64/AppleSilicon)
FreeBSD/OPNsense/pfSense (x64)
NOTE: only development builds are available for this platform.
WARNING:
- As OPNsense/pfSense support a subset of the packages available on FreeBSD, ntop packages will include only features available in all distributions (i.e. features such as Kafka will not be supported as available in FreeBSD but not in the other distributions).
- ntopng will create files on your pfSense/OPNsense device to store traffic data. If you have a device with limited disk space, please configure ntopng to store only a few timeseries to disk othewise you might fill all the available disk space and make your system unstable. Please refer to the ntopng user’s guide for more information about this topic.
Before installing ntop packages, you need to add the official ntop repository. Below are instructions for any of the supported distributions.
pkg add https://packages.ntop.org/FreeBSD/FreeBSD:15:amd64/latest/ntop-1.0.pkg
pkg add https://packages.ntop.org/FreeBSD/FreeBSD:14:amd64/latest/ntop-1.0.pkg
pkg add https://packages.ntop.org/FreeBSD/FreeBSD:13:amd64/latest/ntop-1.0.pkg
NOTE: as ntopng is part of FreeBSD makes sure that you install the ntop packaged version and not the one packaged with FreeBSD (and thus obsolete).
Enable ntopng and redis (used by ntopng):
sysrc redis_enable="YES"
sysrc ntopng_enable="YES"
Run redis first, then ntopng:
service redis start
service ntopng start
Licensing
Most software work without a license. However some components require a license. They include:
- PF_RING ZC user-space libraries
- nProbe, nProbe Agent, and nProbe Cento (NetFlow/IPFIX probe)
- n2disk (packet to disk application)
- ntopng (web-based network traffic analysis)
- nEdge (web-based traffic policer)
- nScrub (Software-based DDoS Mitigation)
- ntap (Software network tap for physical/virtual systems and containers)
You can find more info on the ntop site, or purchase licenses on the ntop shop.
For Universities
We remind you that all ntop products are available at no cost to universities, no-profit, and research.
User's Guides
If you need help configuring or using ntop products, aomprehensive documentation for all our tools – including ntopng, nProbe, PF_RING, and more – is available on the User’s Guides page. Whether you’re setting things up for the first time or exploring advanced features, these guides provide step-by-step instructions and best practices to get the most out of our software.