Tag Archives: brew

Mac installation opencv brew tap homebrew / Science

MAC use brew to install opencv, look up information when a blog said the need to add the command:

brew tap homebrew/science

always gives an error when trying:

Error: homebrew/science was deprecated. This tap is now empty as all its formulae were migrated.

, meaning homebrew/science has been removed, meaning that the brew tap step is not required.


solution: remove this step, directly brew install xx, xx refers to your package.

above.

Mac install yarn 2020-10-18

brew install yarn 

if the save Failed to connect to port 443 raw.githubusercontent.com: Connection refused, because no Homebrew

normally installs Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

but due to some of the you understand factors, lead to a lot of raw.githubusercontent.com DNS has been polluted.

solution

is solved directly using this open source script with one click:

https://gitee.com/cunkai/HomebrewCN

Homebrew domestic automatic installation script

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

is then loaded with yarn

brew install yarn