Mac系列之:Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW

Mac系列之:Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW

一、mac使用brew install安装依赖出现的提示

brew install lz4
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

二、根据提示执行命令

export HOMEBREW_NO_INSTALL_CLEANUP=TRUE

三、再次安装包即能成功安装

brew install lz4