确定有mono-libgdiplus包,但Homebrew找不到?

引言


brew install mono-libgdiplus找不到包。搜索类似报名、搜索已经删除的包、搜索github都找不到。

Warning: No available formula with the name "mono-libgdiplus".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

这种情况大概率是因为镜像源陈旧或是配置错误,也不排除网络访问镜像源不稳定造成的。

 

正文


解决办法也比较简单,换个镜像源试一试。更换镜像源要注意之前设置过环境变量也需要改。

这里推荐清华大学开源镜像,更换镜像源配置写的比较详细:tuna homebrew

如果更换了镜像源还是找不到包,试试运行homebrew自检命令:brew doctor ,参照自检结果,执行相应的修复命令。

posted @ 2022-09-20 10:30  zhuzhijie  阅读(143)  评论(0编辑  收藏  举报