homebrew是macOS(或 Linux)缺失的软件包的管理器

Mac电脑下MTR使用报错Failure to open IPv4 sockets: Operation not permitted

mtr 123.123.123.123     
mtr-packet: Failure to open IPv4 sockets
mtr-packet: Failure to open IPv6 sockets
mtr: Failure to start mtr-packet: Invalid argument

必须用普通用户,然后加sudo:

sudo mtr 123.123.123.123

提示输入密码,就可以继续。

mtr的安装:brew install mtr