How to perform Internet speed test on Raspberry Pi - Linux Tutorials - Learn Linux Configuration

Performing an internet speed test from your Raspberry Pi is a good way to confirm that you are getting the expected download and upload speeds to your device. If you suspect that websites or other external connections are loading slower than they should be, performing a speed test is the first troubleshooting step to take, and allows us to see if our suspicions are correct. After the speed test, we can pinpoint the source of slow downs as either the connection to a router or other local device, or perhaps the ISP itself is the problem.


This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-perform-internet-speed-test-on-raspberry-pi

“sudo apt install speedtest” did not work for me:

asdasd@octoprint:~ $ sudo apt install speedtest
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package speedtest

I had to modify to:
“sudo apt install speedtest-cli”
and it worked:

asdasd@octoprint:~ $ sudo apt install speedtest-cli
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following NEW packages will be installed:
speedtest-cli
0 upgraded, 1 newly installed, 0 to remove and 154 not upgraded.
Need to get 24.6 kB of archives.
After this operation, 106 kB of additional disk space will be used.
Get:1 http ://quantum-mirror.hu/mirrors/pub/raspbian/raspbian bullseye/main armhf speedtest-cli all 2.1.3-2 [24.6 kB]
Fetched 24.6 kB in 0s (55.4 kB/s)
Selecting previously unselected package speedtest-cli.
(Reading database … 51496 files and directories currently installed.)
Preparing to unpack …/speedtest-cli_2.1.3-2_all.deb …
Unpacking speedtest-cli (2.1.3-2) …
Setting up speedtest-cli (2.1.3-2) …
Processing triggers for man-db (2.9.4-2) …

1 Like

Thank you… Article has been corrected…