Reputation: 351
I've done this many times up until a couple of months ago.
The steps seem to have changed since versions is now deprecated?
1) brew tap homebrew/versions
2) brew search ansible
3) Returns [email protected]
as an option
4) brew install ansible20
5) Finally brew install homebrew/versions/ansible20
However I am now getting the following response
Warning: Use ansible20 instead of deprecated homebrew/versions/ansible20
Error: No available formula with the name "homebrew/core/ansible20"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.
Does /core/
not have the same formulae? What happened to versions?
Upvotes: 0
Views: 866
Reputation: 969
You can use [email protected]
in core, in place of ansible20
.
Just run brew install [email protected]
.
Excerpt from https://github.com/Homebrew/homebrew-versions:
This tap was deprecated because homebrew/core has started to support multiple versions. All widely used, buildable formulae will be migrated to homebrew/core. Learn more about this migration in the Versions documentation.
Excerpt from http://docs.brew.sh/Versions.html ("the Versions documentation" mentioned above)
In Homebrew/versions the formula for GCC 6 was named gcc6.rb and began class Gcc6 < Formula. In Homebrew/core this same formula is named [email protected] and begins class GccAT6 < Formula.
Upvotes: 1