homebrew - how to install older versions

后端 未结 3 1628
天命终不由人
天命终不由人 2020-12-22 20:24

I\'m trying to install memcached with older versions (ex: 1.4.5) but I\'m not sure how to do it.

brew install memcached installs the latest.

I

3条回答
  •  醉梦人生
    2020-12-22 20:47

    A more expanded version of the good answer from Adrian is also here on SO.

    https://stackoverflow.com/a/53766019/3794873

    One thing to keep in mind is that if you are installing an older Formula the Homebrew API/methods may have changed since that time so you should brew edit appFormula against the current version and compare to the brew edit app@your.version if you encounter any errors trying to brew install app@your.version after the brew extract command in the answer linked.

提交回复
热议问题