This article covers the different methods through which you can install the Speedtest utility on your CentOS 8 system.
Also, we have also shown how to test the internet speed through the Speedtest-cli utility and how to generate URLs to share with others.
To Install Speedtest-cli on CentOS 8:
1. Open the terminal to make sure that Python is installed and working properly. Type the following command to check Python version:
$ python --version
If python is not installed on your system then first you will install python on your system.
For this purpose, you need to run the below-mentioned command on the terminal to install python on CentOS 8.
$ sudo yum install python2
2. Download the speedtest_cli.py file using 'wget' command:
$ wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
After successfully saved the downloaded file, you will type the following command on the terminal:
$ chmod +x speedtest-cli