ubuntu (Linux Mint 19 Tara) 18.04 iperf 或 iperf3 缺失

ubuntu (Linux Mint 19 Tara) 18.04 iperf 或 iperf3 缺失

我正在尝试检查我的 wifi 速度,但是在 OpenWrt 上使用 opkg 我可以找到它,但在 Bionic 中我找不到它,这是输出:

root@bitang:~# apt update && apt list | grep iperf
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

root@bitang:~#

答案1

使用 Linux Mint 19 Cinnamon 64 位的标准安装,这些软件包包含在标准存储库中。在几乎干净、未修改的 LM19 安装上执行上述命令会产生以下结果:

root@steve-VirtualBox:/home/steve# apt update && apt list | grep iperf  
Hit:1 http://archive.canonical.com/ubuntu bionic InRelease  
Ign:2 http://packages.linuxmint.com tara InRelease                                
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease                
Hit:4 http://packages.linuxmint.com tara Release                                 
Hit:5 http://ppa.launchpad.net/ichthyo/zeug/ubuntu bionic InRelease              
Hit:6 http://archive.ubuntu.com/ubuntu bionic InRelease                          
Hit:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease                  
Ign:8 http://dl.google.com/linux/chrome/deb stable InRelease               
Hit:10 http://archive.ubuntu.com/ubuntu bionic-backports InRelease         
Hit:11 http://dl.google.com/linux/chrome/deb stable Release                
Reading package lists... Done                        
Building dependency tree         
Reading state information... Done  
5 packages can be upgraded. Run 'apt list --upgradable' to see them.  

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.  

iperf/bionic-updates 2.0.10+dfsg1-1ubuntu0.18.04.1 amd64  
iperf3/bionic 3.1.3-1 amd64  
libiperf-dev/bionic 3.1.3-1 amd64  
libiperf0/bionic 3.1.3-1 amd64  
root@steve-VirtualBox:/home/steve#  

请注意这里的区别,更新部分实际上是从存储库解析和更新的,要么您忽略了将此输出复制并粘贴到您的问题中,要么您似乎没有任何活动的存储库。

我建议在 GUI 中打开更新管理器,然后转到编辑 - 软件源,在选项Official repositories卡底部单击Restore the default settings,然后关闭窗口并选择刷新。

软件管理器应用程序还显示 iperf 和 iperf3 位于存储库中并可供安装。

软件管理器搜索 iperf 的截图

相关内容