Homebrew install specific version of formula?

后端 未结 27 2139
渐次进展
渐次进展 2020-11-21 11:21

How do I install a specific version of a formula in homebrew? For example, postgresql-8.4.4 instead of the latest 9.0.

27条回答
  •  醉梦人生
    2020-11-21 12:03

    I've discovered a better alternative solution then the other complex solutions.

    brew install https://raw.github.com/Homebrew/homebrew-versions/master/postgresql8.rb
    

    This will download and install PostgreSQL 8.4.8


    I found this solution by starting to follow the steps of searching the repo and a comment in the repo .

    After a little research found that someone has a collection of rare formulars to brew up with.


    If your looking for MySQL 5.1.x, give this a try.

    brew install https://raw.github.com/Homebrew/homebrew-versions/master/mysql51.rb
    

提交回复
热议问题