首先安装speedtest-cli: $ sudo apt install speedtest-cli 安装完成之后输入
$ sudo apt install speedtest-cli
$ speedtest-cli
即可看到测速了,效果如下: