In this tarticle, you will learn that how to install Speedtest-cli to test the network (Bandwidth) speed of your server and how to use it in Linux. Speedtest-cli is a command line interface to test internet providing by speedtest.net.
Install Speedtest-CLI on CentOS 8 and RHEL 8 and Fedora
This tool is written in python so we must install python before proceeding. so run below command and install python.
dnf install -y python36
![](http://1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/1-9-1024x233.png)
Create soft link for python3
- Advertisement -
ln -s /usr/bin/python3.6 /usr/bin/python
![](http://1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/2-9-1024x147.png)
Downoad speedtest_cli using below commands
cd
wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
![](http://1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/3-8-1024x340.png)
Make the script executable
chmod +x speedtest-cli
![](http://1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/4-7-1024x148.png)
Finally run below command to test internet bandwidth
./speedtest-cli
![](http://1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/5-6-1024x334.png)
Install Speedtest-CLI on Ubuntu
sudo apt-get install speedtest-cli
speedtest-cli
That’s it. Now you learned that how to install speedtest-cli command line interface for testing internet bandwidth using speedtest.net on a CentOS/RHEL/Fedora/Ubuntu Linux.
- Advertisement -
Subscribe
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
"The best Linux newsletter on the web"