speedtest-cli is a command-line utility that allows you to test the speed of your internet connection from the terminal. It is a Python-based tool that uses the Speedtest.net platform to measure the download and upload speeds of your internet connection.
To install speedtest-cli on Ubuntu, you will need to have Python and the pip package manager installed on your system. speedtest-cli is written in Python and requires Python and pip to be installed to run.
Uninstalling speedtest-cli package from Ubuntu
You can uninstall speedtest-cli package itself from Ubuntuthrough the terminal:
$ sudo apt-get remove speedtest-cli
Uninstall speedtest-cli including dependent package
If you would like to remove speedtest-cli and it’s dependent packages which are no longer needed, use the below command to remove the speedtest-cli package:
$ sudo apt-get remove --auto-remove speedtest-cli
Use Purging speedtest-cli
If you use with purge options to speedtest-cli package all the configuration and dependent packages will be removed.
$ sudo apt-get purge speedtest-cli
If you use purge options along with auto remove, will be removed everything regarding the package, It’s really useful when you want to reinstall again.
$ sudo apt-get purge --auto-remove speedtest-cli
Conclusion
To use speedtest-cli, simply run the speedtest-cli command in your terminal window. This will initiate a speed test and display the results, including the download and upload speeds, as well as the ping time and other relevant information. For more information on using speedtest-cli and the available options and commands, you can consult the speedtest-cli documentation.