Error trying to install clang on Homebrew

Asked 2 years ago, Updated 2 years ago, 142 views

http://tkymx83.hatenablog.com/entry/2017/04/03/231642
I would like to install clang on Homebrew by referring to this.

$brew install clang

Error: No available formula with the name "clang"
==>Searching for a previously deleted formula...
Error: No previously deleted formula found.
==>Searching for similar named formula...
These similarly named formula are found:
clang-format✔[email protected]
To install one of them, run (for example):
brew install clang-format✔
==>Searching tapes...
Error: No formula found intaps.

I get an error. What should I do?

homebrew clang

2022-09-30 21:25

2 Answers

brew install llvm

Why don't we go in?


2022-09-30 21:25

As you can see from the Homebrew formula list at https://formulae.brew.sh/formula/, there is currently no clang formula, so the error "I can't find it."

As of July 2018, a formula can be installed in brew install llvm or brew install --with-toolchain lvm depending on how it coexists with Apple Clang in Xcode.


2022-09-30 21:25

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.