For the installation example, we will use the Ubuntu 20.04 LTS operating system.

Moving on to Installation

First, we need to update the system's package lists and repositories. Use the following command:

sudo apt-get -y update


After a few minutes, the process will complete. Next, we need to install the curl utility:

apt-get install -y curl


Done!

Now, let's download the files for the Speedtest software itself:

curl -s https://install.speedtest.net/app/cli/install.deb.sh | sudo bash


The files have been successfully downloaded.

Next, use this command to unpack and install Speedtest:

sudo apt-get install speedtest


Speedtest is now installed.

Now, you can use a simple command to check your network speed:

speedtest


Enter the command and accept the license agreement.

The network speed measurement process will begin.

Upon completion, you will be provided with comprehensive information about the test results.