To install speedtest-cli
on a CentOS, RHEL, or Fedora Linux system, you need to first install the Python package manager pip
. Here are the steps:
- Update the package repository to ensure you have the latest packages:
sudo yum update
- Install the Python
pip
package manager:sudo yum install python-pip
- Use
pip
to installspeedtest-cli
:sudo pip install speedtest-cli
- Verify the installation by running the following command:
speedtest-cli
This should display information about your internet connection speed, including the download and upload speeds, and the latency.