![]() It will take a few seconds for this utility to fetch real-time data from the Internet after which you will be able to see a full-fledged report on your Ubuntu 20.04 terminal as shown in the image below: Now, we can easily use the Speedtest CLI utility for testing the Internet speed of our Ubuntu 20.04 system with the following command: speedtest-cli Step # 4: Use the Speedtest CLI Utility for Testing the Internet Speed on your Ubuntu 20.04: The successful installation of the Speedtest CLI utility on your Ubuntu 20.04 system will display messages similar to the ones shown in the image below on your terminal: Step # 3: Install the Speedtest CLI Utility on your Ubuntu 20.04 System:Īfter the successful installation of Python, we can conveniently install the Speedtest CLI utility on our Ubuntu 20.04 system with the following command: sudo pip3 install speedtest-cli It will take around two to three minutes for the Python installation to complete on your Ubuntu 20.04 system after which you will be able to see the messages shown in the image below on your screen: ![]() Python can be installed with the following command: sudo apt-get install python3-pip This step is mandatory for the successful installation of the Speedtest CLI utility on our Ubuntu 20.04 system. Now, we need to install Python on our Ubuntu 20.04 system. Step # 2: Install Python on Ubuntu 20.04 System: Once your Ubuntu 20.04 system is fully updated, its terminal will look something like this: Since we will be installing some new packages in the upcoming steps, therefore, it is highly advisable that we update our system first with the command shown below: sudo apt update Method of Installing and Using the Speedtest CLI for Testing the Internet Speed on Ubuntu 20.04:įor installing and using the Speedtest CLI for testing the Internet speed on your Ubuntu 20.04 system, you have to perform the following steps: Step # 1: Update your Ubuntu 20.04 System: Today, we will be installing and using the Speedtest CLI to test our Internet speed on Ubuntu 20.04. Therefore, the Speedtest utility also comes in a CLI version that can conveniently be used with the Linux terminal. However, while working with Linux based systems, most of the users prefer such tools that can be used via the terminal. This Speedtest CLI tool will come in handy when you want to measure your Linux server internet speed when writing any scripts.Speedtest is a very useful utility for testing your Internet speed in real-time. $ speedtest-cli | wc -l # Total server count You can get the list of speed net servers by running the following command. $ speedtest-cli -jsonĬheck Speedtest in JSON Format Check List of Speed Net Servers You can also get output in JSON format by adding the -json flag. If you look at the output it gives a lot of verbose which can be simply omitted using the -simple flag. You can choose to test only upload or download speed by adding the below flags. Test Linux Internet Speed Check Linux Internet Download and Upload Speed From the below image you can see this command measures your internet upload and download speed. To measure your internet speed run the following command. Speedtest CLI Help Check Linux Internet Speed Try running -help to get a list of flags available to use along with the utility. Python 3.8.5 (default, Jan 27 2021, 15:41:15) How to Use Speedtest CLI in Linux Terminal ![]() Once installed, you can verify if the installation is successful by running: $ speedtest-cli -version To download and install the package from GitHub run the following command. Install Speedtest CLI from GitHub in Linux Depending upon how you configured pip in your machine you have to either use pip or pip3. To install the package via pip run the following command. Install Speedtest CLI in Redhat/Fedora & CentOS $ curl -s | sudo bashĪlternatively, you can install the Speedtest CLI package using PIP or downloading a package from GitHub. Install Speedtest CLI in Debian/Ubuntu & Mint $ curl -s | sudo bash There are common ways that can be used irrespective of the distribution you are using or you can use your distribution package manager to install the package as shown. There are many ways to install Speedtest CLI in your Linux distribution. This utility is written in Python and you need Python 2.4 and above to make it work. Speedtest CLI is a command-line utility for system administrators, software developers, and computer users to measure their Internet download and upload speed, latency, and packet loss from the Linux terminal. ![]() Instead of using the utility from the web now, you have the option to use it from the terminal using Speedtest CLI. Many times to check our Internet speed we used to use a speedtest website to measure our network speed. ![]()
0 Comments
Leave a Reply. |