如何使用自制软件安装早期版本的mongodb? [英] How to install earlier version of mongodb with homebrew?

查看:58
本文介绍了如何使用自制软件安装早期版本的mongodb?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是osx6.8,需要安装Mongodb的早期版本,如何使用HomeBrew安装早期版本?以下无效:(

I'm on osx6.8 and need to install an earlier version of Mongodb, how do I install an earlier version with HomeBrew? The below didn't work :(

dream-2:app2 star$ brew install mongodb-2.6.10
Error: No available formula for mongodb-2.6.10 
Searching formulae...
Searching taps...
dream-2:app2 star$ 

((((**我正在收到一条消息,以解释此文章与另一篇文章相比是独特的,好吧,另一个问题的答案是冗长而复杂的,它特定于postgresql,并且没有真的回答了我的问题.)))

((( **edit: I'm getting a message to explain how this post is unique compared to another one, well, the answer to the other question is super long and complex and it's specific to postgresql and doesn't really answer my question.)))

推荐答案

当尝试使用自制软件安装旧版本时,通常以brew search packagename开头很有用,在这种情况下,

When trying to install old versions of something with homebrew, it's usually useful to start with brew search packagename, in this case, there's a 2.6 version available under homebrew/versions/mongodb26

因此,要安装该版本:

brew install homebrew/versions/mongodb26

这篇关于如何使用自制软件安装早期版本的mongodb?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆