标签:tar mongodb update community gz wuyueping brew
参考:
菜鸟教程 https://www.runoob.com/mongodb/mongodb-osx-install.html
https://juejin.cn/post/6974036633205080095
- 简化
wuyueping@wuyueping ~ % xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
wuyueping@wuyueping ~ % brew tap mongodb/brew
wuyueping@wuyueping ~ % brew install mongdodb-comminity@6.0
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "mongdodb-comminity@6.0".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
wuyueping@wuyueping ~ % brew install mongodb-community@6.0
==> Installing mongodb-community from mongodb/brew
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula with the name "mongosh" (dependency of mongodb/brew/mongodb-community).
It was migrated from mongodb/brew to homebrew/core.
wuyueping@wuyueping ~ % echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles/' >> ~/.zshrc
wuyueping@wuyueping ~ % source ~/.zshrc
wuyueping@wuyueping ~ % brew update -v
......
==> Outdated Formulae
consul ghc openjdk python@3.9 redis sqlite xz
gdbm jmeter openssl@1.1 readline sphinx-doc tcl-tk zookeeper
You have 14 outdated formulae installed.
You can upgrade them with brew upgrade
or list them with brew outdated.
wuyueping@wuyueping ~ % brew install mongodb-community@6.0
==> Downloading https://fastdl.mongodb.org/tools/db/mongodb-database-tools-macos-x86_64-100.6.0.zip
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles//brotli-1.0.9.catalina.bottle.tar.gz
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles//c-ares-1.18.1_1.catalina.bottle.tar.gz
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles//icu4c-70.1.catalina.bottle.tar.gz
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles//libnghttp2-1.48.0.catalina.bottle.tar.gz
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles//libuv-1.44.2.catalina.bottle.tar.gz
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles//ca-certificates-2022-07-19_1.all.bottle.tar.gz
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles//openssl%401.1-1.1.1q.catalina.bottle.tar.gz
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles//node%4016-16.17.0.catalina.bottle.tar.gz
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles//mongosh-1.5.4.catalina.bottle.tar.gz
######################################################################## 100.0%
==> Downloading https://fastdl.mongodb.org/osx/mongodb-macos-x86_64-6.0.1.tgz
######################################################################## 100.0%
==> Installing mongodb-community from mongodb/brew
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 12.4.
==> Installing dependencies for mongodb/brew/mongodb-community: mongodb-database-tools, brotli, c-ares, icu4c, libnghttp2, libuv, ca-certificates, openssl@1.1, node@16 and mongosh
==> Installing mongodb/brew/mongodb-community dependency: mongodb-database-tools
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 12.4.
标签:tar,mongodb,update,community,gz,wuyueping,brew
来源: https://www.cnblogs.com/wuzimeimei/p/16616023.html
本站声明:
1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。