Get Started with Serverspace CLI

How to Test Internet Connection Speed in CentOS 8

Joe Harris
December 30, 2020

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 -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:



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:

To see all available Speedtest CLI options, enter:

speedtest -h

Start Your Cloud Journey Migration made simplified. Take the first step right now.
We use cookies to provide our services and for analytics and marketing. To find out more about our use of cookies, please see our Privacy Policy. By continuing to browse our website, you agree to our use of cookies.