In this tutorial, we will show you how to install Nload on Ubuntu 20.04 LTS. For those of you who didn’t know, Nload is a command-line-based real-time network traffic and bandwidth usage monitor. It visualizes the in and outgoing traffic using two graphs and provides additional info like the total amount of transferred data and min/max network usage.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of Nload monitors network traffic and bandwidth usage on Ubuntu 20.04 (Focal Fossa). You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian-based distribution like Linux Mint.
Prerequisites
- A server running one of the following operating systems: Ubuntu 20.04, 18.04, and any other Debian-based distribution like Linux Mint.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Nload on Ubuntu 20.04 LTS Focal Fossa
Step 1. First, make sure that all your system packages are up-to-date by running the following apt
commands in the terminal.
sudo apt update sudo apt upgrade sudo apt install net-tools
Step 3. Installing Nload on Ubuntu 20.04.
- Install Nload from Default Ubuntu Repository.
By default, Nload is available Ubuntu 20.04 base repository. Now run the following command below to install the latest version of Nload:
sudo apt install nload
- Install Nload Using Source Code.
Now we download the Nload source code using wget
command:
wget http://www.roland-riegel.de/nload/nload-0.7.4.tar.gz
Next, extract it using the command:
tar xvf nload-0.7.4.tar.gz cd nload-0.7.4/
After that, run the configure script using the command below:
./configure sudo make sudo make install
Step 3. Accessing Nload on Ubuntu.
Once successfully Nload, to use Nload run the simple command:
nload
Alternatively, you can start the Nload by specifying the network devices name like:
nload wlo1
To display network statistics of all the devices at the same time, use the -m option as follows:
nload -m
Congratulations! You have successfully installed Nload. Thanks for using this tutorial for installing the Nload monitoring network bandwidth on Ubuntu 20.04 LTS Focal Fossa system. For additional help or useful information, we recommend you check the official Nload website.