24.05.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

Firstly we need to install repositories:

curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.rpm.sh | sudo bash

After that, let's install speedtest:

sudo yum 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