简体   繁体   English

如何解决 sudo: port: command not found (Big Sur)

[英]How to solve sudo: port: command not found (Big Sur)

I updated macOS Big Sur Version 11.2.3 that uses zsh.我更新了使用 zsh 的 macOS Big Sur 版本 11.2.3。 While installing openmotif to have Xmgrace after that I found this sudo: port: command not found.在安装 openmotif 以拥有 Xmgrace 之后,我发现这个 sudo: port: command not found。 I dont know how to pass through.我不知道如何通过。

Please, check the MacPorts documentation.请检查MacPorts文档。

You just need to Install MacPorts for MacOS Big Sur v11您只需要为 MacOS Big Sur v11 安装 MacPorts

It helped me to go through the same error msg when I tried to have coreutils installed (via "sudo port install coreutils") in my MacOS.当我尝试在我的 MacOS 中安装 coreutils(通过“sudo port install coreutils”)时,它通过相同的错误消息帮助我 go。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM