简体   繁体   中英

Brew + suite-sparse421

I have installed brew on OSX and I have installed successfully several things.

However when I try to install suite-sparse421 (hard constraint on the version):

brew tap homebrew/versions
brew install suite-sparse421

I get the following error:

Error: No available formula with the name "suite-sparse421" 
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.

Running brew doctor shows no problem ( Your system is ready to brew. )

Running brew update shows no problem ( Already up-to-date. )

Any idea?

Have a look at this

https://github.com/Homebrew/homebrew-science/blob/master/suite-sparse.rb

Homebrew-science/suite-sparse.rb has updated it url to download the 4.5.3 package, " http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-4.5.3.tar.gz "

If you want a specific version , why not download and build on your own. The commands to build are pretty self explanatory there in the rb script.

As you can see in the error message there's no formula named suite-sparse421 . There's nothing wrong with your Homebrew installation; it just doesn't exist. See this other SO answer on how to install a previous version of a formula.

In addition to the previous right answers, the formula suite-sparse421 was removed . And all archived versions of SuiteSparse are listed on the official website .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM