1.问题描述
- Mac M1芯片在使用homebrew 安装依赖库时,出现如下提示:
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP
2.解决方法
- 根据提示的语句进行下述操作:
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
根据上述语句中的HOMEBREW_NO_ENV_HINTS
进行如下操作即可:
export HOMEBREW_NO_INSTALL_CLEANUP=TRUE
3.实际操作
- 实际操作,如下图所示:
来源地址:https://blog.csdn.net/crist_meng/article/details/127634250