Error: No head is defined for smpeg - macos

I am trying to install SimpleCV, I am following the instructions here (https://github.com/sightmachine/SimpleCV#mac-os-x-106-and-above).
But when I try to install smpeg, using these commands:
brew tap homebrew/headonly
brew install --HEAD smpeg
I am getting this error:
Error: No head is defined for smpeg
I have tried to wait and run the command again but that did not work.

These instructions are outdated.
--HEAD is used to install a formula’s HEAD, i.e. the latest commit on its Git/SVN/etc repository. This option has been removed from smpeg, hence the error message. Using brew install smpeg is now sufficient.
I submitted a PR to fix these.

UPDATE
I removed --HEAD then it worked. I don't know why.

Related

elasticsearch-full is returing error while I am trying to install using homebrew

I am trying to install elasticsearch-full using homebrew. I am using the below command.
brew tap elastic/tap
brew install elastic/tap/elasticsearch-full
and it is returning bellow error.
Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the elastic/tap tap (not Homebrew/brew or Homebrew/core):
/usr/local/Homebrew/Library/Taps/elastic/homebrew-tap/Formula/elasticsearch-full.rb:9
Error: No such file or directory - /usr/local/var/homebrew/linked/elasticsearch-full
Please find the java version,
can anyone help me to fix this. Thanks.
I just ran into this issue today. I found a solution in an issue comment in the elastic repo. I'll link the comment below, but here are the steps I took to fix this:
brew remove elasticsearch-full
brew untap elastic/tap
brew update -v
brew tap elastic/tap
brew update -v
brew install elasticsearch-full
You can do this with any other affected packages by adding the package names after elasticsearch-full
Here's the link to the original issue comment for credit:
https://github.com/elastic/homebrew-tap/issues/110#issuecomment-964778575

why can't I install watchman using brew command?

I'm trying to run a react native app and I've been told I need to download "watchman".
When I tried to run the command brew install watchman it gave this error:
Error: The following formula cannot be installed from bottle and must be
built from source.
python#3.9
Install the Command Line Tools for Xcode 11.3.1 from:
https://developer.apple.com/download/more/
Do I need to install Xcode or I'm just missing something? Is there any easier way to install watchman?
Thank you in advance.
If you don't mind, you can try installing directly from Facebook's Homebrew Tap:
brew tap facebook/fb
brew update
brew install facebook/fb/watchman

Error: Unknown command: cask || despite the use of multiple instance trials

I am not able to do anything anymore. I keep getting the error Error: Unknown command: cask even though I have previously used a lot of different installations from this link: Homebrew cask option not recognized?
NONE OF THEM HELPED!
For example I get this output:
After the instance I want to apply this command: brew cask install cscreen to then go to cscreen -l. However, I keep getting the above error...
Please help.
I want to use this because without it I am not able to work on a closed MacBook because when I close the monitor it goes back to the dreaded setting of 75Hz.
Regards!
I was having a similar issue running brew cask install [...]. I am running macOS Catalina v10.15.7. I used brew install --cask [...] and it worked for me. In your case:
brew install --cask cscreen
For anyone like me landing here where effreety's answer does not work, try whatever command you are trying to run without cask.
cask is no longer a brew command.
Run your brew command without "cask".
Example:
Instead of brew cask install graphql-playground try brew install graphql-playground

Error installing rabbitmq on Mac using brew

Receiving the following error:
Error: No available formula with the name "rabbitmq"
Tried reinstalling brew and updating brew with no help.
its because your brew installation has some problems. Just try to reset it to master branch by running following command
git -C $(brew --repository homebrew/core) checkout master
then run
brew update
after that you can run
brew install rabbitmq
and it should be working.
Like #gino-mempin commented, you should be able to install by using brew install rabbitmq.
You can use brew doctor and brew config to verify if you have local brew setup issue.
With that being said, we failed to update rabbitmq to latest 3.8.5 (there are several failed attempts).

How do I install the latest developer package for wine with homebrew? (wine-3.0-rc2)

When I type in:
brew install wine
That should install Wine 2.0.3, right? (the latest release)
But I want to install a specific version of wine: wine 3.0 rc2
What would the command to do this be if I'm using homebrew? I've tried
brew install wine-devel
But it gives me this error:
Error: No available formula with the name "wine-devel"
Any help? Thanks!
Currently wine-devel has been moved to caskroom/versions. Therefore in order to install wine-devel you have to
Tap caskroom/versions, by running brew tap caskroom/versions
Update homebrew (...just to be sure) by running brew update
Finally install wine-devel by running brew install caskroom/versions/wine-devel
caskroom/versions was moved to homebrew/cask-versions.
The following will work:
brew tap homebrew/cask-versions
brew install homebrew/cask-versions/wine-devel
You will be asked for your password.
Then you should be able to start executables as follows:
wine /path/to/app.exe
I was trying to install wine-devel, but ran into a similar problem. It seems that the answers here may each have been relevant on a different year, as the casks have moved around back and forth. So here's the latest on the situation, and some info on how to handle it in future.
The official instructions (as of 4th April 2020) say to run brew cask install wine-stable. However, that leads to an error:
$ brew cask install wine-stable
Error: Cask wine-staging exists in multiple taps:
homebrew/cask-versions/wine-staging
caskroom/versions/wine-staging
This means that two potential casks were found, each with the same name, yet each on a different repository, and Homebrew was unsure which one to install.
Running this command gave me a clue about what was going on:
$ brew tap caskroom/versions
Error: caskroom/versions was moved. Tap homebrew/cask-versions instead.
So I learned that you can untap third-party repositories, and untapped the one that the message seemed to advise not to tap WINE casks from.
$ brew untap caskroom/versions
Untapping caskroom/versions...
Untapped 156 casks (463 files, 56.7MB).
$ brew cask install wine-stable
... Success!
To install the development version just pass --devel
brew install --devel wine

Resources