07.06.2023

How to Test Internet Connection Speed in CentOS 8

The way to test the speed of the Internet connection in CentOS 8 is different from that in desktop systems, where it can be done simply in a browser. In this tutorial, we will install the Speedtest CLI and test the speed of the Internet connection using it.

Installing Speedtest CLI in CentOS 8

First download the Speedtest CLI repository.

wget https://bintray.com/ookla/rhel/rpm -O speedtest.repo

Now move it to the system repository list.

sudo mv speedtest.repo /etc/yum.repos.d/

Check if other versions are installed on the system.

rpm -qa | grep speedtest

Remove them if found.

sudo dnf remove speedtest-cli

Now install the official version of Speedtest CLI.

sudo dnf install speedtest

Internet connection speed test

To run the test, enter the following command and accept the license:

speedtest

Result:

Do you accept the license? [type YES to accept]: yes
License acceptance recorded. Continuing.
Speedtest by Ookla
Server: Server’s name and ID
ISP: Itglobalcom Bel LLC
Latency: 1.32 ms (0.07 ms jitter)
Download: 90.73 Mbps (data used: 109.7 MB)
Upload: 92.45 Mbps (data used: 41.7 MB)
Packet Loss: 0.0%
Result URL: https://www.speedtest.net/result/c/605ca0ec-...

To see all available Speedtest CLI options, enter:

speedtest -h