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
Related
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 wanted to install code-server on my Macbook pro, mojave 10.14.6, following instructions provided here https://github.com/cdr/code-server/blob/master/doc/guide.md
While trying to install using given command: curl -fsSL https://code-server.dev/install.sh | sh I get following errors:
macOS v10.14.6 Installing from Homebrew.
brew install code-server Error: No available formula with the name "code-server"
==> 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.
What can be the issue?
brew install code-server should simply work.
installation log
$ brew install code-server
==> Downloading https://homebrew.bintray.com/bottles/code-server-3.4.1_1.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/ed/eda0ef4457730392ec9fbd0354ef3c25e67d6c658563876837c16cc994200b02?__gda__=exp=159401120
######################################################################## 100.0%
==> Pouring code-server-3.4.1_1.mojave.bottle.tar.gz
==> Caveats
The launchd service runs on http://127.0.0.1:8080. Logs are located at /usr/local/var/log/code-server.log.
To have launchd start code-server now and restart at login:
brew services start code-server
Or, if you don't want/need a background service you can just run:
code-server
==> Summary
🍺 /usr/local/Cellar/code-server/3.4.1_1: 3,984 files, 167.0MB
test log
$ code-server --version
info Wrote default config file to ~/.config/code-server/config.yaml
info Using config file ~/.config/code-server/config.yaml
3.4.1 48f7c2724827e526eeaa6c2c151c520f48a61259
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 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
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