I am trying to download mongodb via my terminal, but this is what I get as a response.
I already tried to reinstall brew.
Peters-MacBook-Pro:shopify-monitor main$ brew install mongodb
Error: No available formula with the name "mongodb"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
Peters-MacBook-Pro:shopify-monitor main$
mongoDB is not open source anymore, and removed from Homebrew 。
You can refer:
https://github.com/mongodb/homebrew-brew
https://segmentfault.com/a/1190000020400235
Related
I was able to install homebrew with no issues, but when I try to install postgresql I get the below error messages:
➜ ~ brew install postgresql
Warning: No available formula with the name "postgresql".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> 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.
screen shot of error messages
Any idea how to fix this?
git -C $(brew --repo homebrew/core) checkout master
this will switch to master, then run
brew doctor
this should run without any error.
If there is no error you can install anything with brew install.
ex:
brew install postgresql
I am trying to install sdl2 on vscode mac with brew command but it's not working and I am not sure why. Below is the error message that I get.
brew install sdl2
Updating Homebrew...
fatal: Could not resolve HEAD to a revision
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> New Casks
affinity-designer maxon
==> Updated Casks
Updated 3 casks.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> 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.
I just typed brew install mongo and it it giving me this as output .
My question is what to do now , which I have to install mongo-c-driver , mongo-cxx-driver , mongo-orchestration , mongoose
Thank you
shouryasharma#Shouryas-MacBook-Air ~ % brew install mongo
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Updated Casks
Updated 3 casks.
==> Searching for similarly named formulae...
These similarly named formulae were found:
mongo-c-driver mongo-cxx-driver mongo-orchestration mongoose
To install one of them, run (for example):
brew install mongo-c-driver
Error: No available formula or cask with the name "mongo".
==> 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.
shouryasharma#Shouryas-MacBook-Air ~ %
Before execute command "brew install" just execute the command,
brew tap mongodb/brew
Also you can find all the steps on official site of mongodb ,
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/
I used the following command to install mongodb:
my-MBP:~ user$ brew install mongodb:
and this was the output
Error: No available formula with the name "mongodb"
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
These similarly named formulae were found:
mongodb/brew/mongodb-community mongodb/brew/mongodb-community#3.4
mongodb/brew/mongodb-community-shell mongodb/brew/mongodb-community#3.6
mongodb/brew/mongodb-community#3.2 mongodb/brew/mongodb-community#4.0
To install one of them, run (for example):
brew install mongodb/brew/mongodb-community
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
This same thing happens why i try to enter "brew install mongo." Is homebrew not installed properly? How specifically can I resolve this issue?**
I would follow the official installation guide, if you haven't already done so:
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/
https://github.com/mongodb/homebrew-brew
To install with brew, you must first:
brew tap mongodb/brew
Then,
brew install <mongodb>
For the input, mongodb doens't appear to be an option. It should be something like mongodb-community#4.2 as shown in the guides.
Hope this helps!
I'm getting the following error when trying to install Vapor's CTLS package.
Gertrude:ctls tanner$ brew install ctls
Error: No available formula with the name "ctls"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.
You need to add Vapor's tap first.
brew tap vapor/homebrew-tap
Then run it again
brew install ctls