Questions tagged [homebrew]
System for installing command-line Unix applications and tools on OS X. Free and open-source.
1,283
questions
0
votes
0
answers
29
views
What path is needed to run homebrew cask installed apps from the command line?
I installed Thunderbird using homebrew cask. I am using Intel Processor.
/Applications/Thunderbird.app/Contents/MacOS/thunderbird -whatever
How can I use the command line options of thunderbird on ...
0
votes
0
answers
34
views
Switching to Homebrew [closed]
Is there a best practice for switching to a Homebrew setup? Say someone has had homebrew installed for a while but often forgets to install via Homebrew, not to mention the apps installed before ...
0
votes
0
answers
17
views
'/usr/local/var/run/libvirt/libvirt-sock': No such file or directory
I installed libvirt:
brew libvirt
For starting it I am using:
brew services start libvirt
But it is not creating the socket, after running for example:
virsh -c qemu:///system
I get:
'/usr/local/...
0
votes
1
answer
28
views
How can I compile sqlite3 from source on macOS?
I'm trying to build a copy of sqlite3 from source on my M1 Mac Mini running macOS Monterey 12.4 (21F79). The reason I want to do this (instead of using a precompiled build or installing via Homebrew ...
1
vote
1
answer
66
views
youtube-dl gives errors: "command not found"
I installed youtube-dl successfully via homebrew but cannot seem to invoke the program at all.
Here are the commands I tried:
> man youtube-dl
No manual entry for youtube-dl
> type -a youtube-dl
...
1
vote
0
answers
23
views
Chrome and Safari find localhost in two different locations
I've been trying to set up MAMP (macOS, Apache, MySQL, PHP) using Homebrew on macOS Monterey.
I set the file directory for Apache as /Users/myname/Sites in httpd.conf. When I go to http://localhost in ...
-1
votes
0
answers
39
views
Problem during the running of "brew doctor"
When I run "brew doctor", I have this code lines :
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use ...
0
votes
1
answer
46
views
How do I install Torify on an M1 Mac?
Can someone explain how to download and install Torify for an M1 mac? I've tried installing via Homebrew, and got the following errors:
Warning: No available formula with the name "torify". ...
0
votes
0
answers
25
views
Help with upgrading PHP 7.3 to PHP 8
I switched from Windows to macOS. I got this MacBook M1 and tried to install multiple versions of PHP to switch between them.
I followed the steps here for PHP installation and messed up something. I ...
0
votes
0
answers
28
views
Updated installation guide on Mathics installation?
Yet again, installing Mathics is difficult. I'm running this:
git clone https://github.com/Mathics3/mathics-core
cd mathics-core
python3 mathics/main.py
But I get this error:
Traceback (most recent ...
0
votes
0
answers
10
views
How to show dnsmsaq logs in apple unified log
Dnsmasq has the option to log queries to a file or the syslog. Logging queries to a file is way too verbose and fills the disk very quickly, so I need to use the syslog facility.
Since (at least) Big ...
0
votes
0
answers
76
views
Httpd & PHP error after upgrading to Monterey version 12.3.1
I recently upgrade my Mac to Monterey v12.3.1, and when I check the httpd and php, with brew services list, its return status Error.
I try to tail -f /usr/local/var/log/httpd/error_log, its return log:...
1
vote
1
answer
58
views
Are folders under /usr/local/Caskroom needed after installation? (I'm wanting to delete them)
Running macOS 10.15.7 (Catalina). I am looking for folders which I can delete to free up some storage space. I see /usr/local/Caskroom seems to contain installation files for some packages which, I ...
0
votes
1
answer
43
views
Outdated gpg version on Big Sur
It seems that the the current gpg installed on Big Sur is a bit outdated compared with the one bottled from homebrew.
gpg --version
gpg (GnuPG/MacGPG2) 2.0.30
libgcrypt 1.7.0
Copyright (C) 2015 Free ...
0
votes
0
answers
42
views
How to correctly setup homebrew?
I own a Mac M1 with Monterey 12.3.1. I often experience problems uninstalling brew packages. Here an example:
I installed pnpm with homebrew. Then, I tried to uninstall it:
brew uninstall pnpm
If I ...
1
vote
1
answer
44
views
Homebrew to install Homebank
I'm running the latest version of MacOS Big Sur 11.6.5.
I think Homebank is properly installed after verification but is listed with packages and not cask.
Both brew and Homebank are up to date and ...
0
votes
1
answer
54
views
Getting the full list of all dependencies and sub-dependencies in Homebrew *before* installation
I notice Homebrew does a poor job of listing the actual list of dependencies of a package:
$ brew info ffmpeg
ffmpeg: stable 5.0.1 (bottled), HEAD
Play, record, convert, and stream audio and video
...
0
votes
0
answers
17
views
Homebrew Installation Problem [duplicate]
I have an old G4 MDD tower running OS 10.4x with Apache 1.3.x. I am going to use it as a Web server and am trying to install Homebrew from the command line using
/bin/bash -c "$(curl -fsSL https:/...
1
vote
0
answers
22
views
brew --head update behaviour
I understand what passing the --head option during install does, but, I'm not sure how it effect future behaviour. That is, if I pass --head explicitly when installing a package, will subsequent ...
3
votes
1
answer
61
views
Can qrencode be made portable so it will run on macOS recovery?
this question was solved and the details is at the end
question:
I want to print a qrcode to terminal in Mac Recovery. My process ends up needing dynamic linked libraries.
On Big Sur, qrencode from ...
1
vote
1
answer
61
views
Has the move to /opt/homebrew/ on Apple Silicon improved Homebrew security?
I would like to use homebrew on my new M1 mac, but I am concerned about some of the potential security vulnerabilities associated with /usr/local/. Basically this:
https://applehelpwriter.com/2018/03/...
3
votes
1
answer
246
views
what's the difference between Homebrew's sevenzip and p7zip formulae?
I want to install 7zip. Homebrew appears to have two different formulae for this.
brew install sevenzip
brew install p7zip
https://formulae.brew.sh/formula/sevenzip
https://formulae.brew.sh/formula/...
1
vote
0
answers
45
views
/usr/local/Cellar is completely empty. I expected libraries
I have been using homebrew for some time now and have never had problems. Now I am wanting to link some libraries (GLEW, GLFW) for a C++ project. I was told to look in /usr/local/Cellar but is ...
1
vote
2
answers
96
views
How to search for a homebrew package by URL with `brew` command?
It's sometimes convenient to search for a package by its homepage URL rather than its name.
I found it's possible using the search on Homebrew homepage.
The question is: How to do this with the brew ...
2
votes
1
answer
793
views
Homebrew Command error: zsh: command not found:$
On the Terminal commandline I tried:
$ brew install https://raw.githubusercontent.com/OSGeo/homebrew-osgeo4mac/master/Formula/osgeo-saga-lts.rb
But I get this response:
zsh: command not found: $
I ...
1
vote
1
answer
252
views
Installing Homebrew fails with "The unauthenticated git protocol on port 9418 is no longer supported"
I am trying to install homebrew to my mac with
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
but, I keep getting this
amaku@Davids-MacBook-...
0
votes
0
answers
234
views
Unable to Install Homebrew; Failed during: git fetch --force origin
I'm having an installation problem with Homebrew; it involves git
I ran the command from my terminal, M1pro, with git installed.
I tried to do use port but I was unable to install it
I tried to do git ...
1
vote
0
answers
150
views
How to make a virtual audio channel with PulseAudio on Mac OS?
I'm running Mac OS Monterey
I'd like to make a virtual audio channel to connect the audio output of one app to the audio input of another app.
On linux I'd use pulseaudio. I installed pulseaudio from ...
1
vote
1
answer
550
views
Brew Install PuTTY appears to install but putty command not found [duplicate]
Relatively new to the Mac world but this seems weird. Installing PuTTY with Homebrew and appears to install fine.
brew install --build-from-source putty
Following output...
==> Downloading https://...
0
votes
0
answers
18
views
php-fpm wrong version running processes
I have multiple PHP versions installed and managed through Homebrew, and I'm switching between them and it's working fine.
I have the correct version (currently PHP 8.1) in my terminal and with Apache,...
0
votes
0
answers
9
views
How do I manage cask versions with homebrew after reinstall? [duplicate]
I had to uninstall homebrew and reinstall. I had a few casks installed and the process left them available, but clearly now they aren't "linked" to homebrew, for example they don't appear ...
0
votes
0
answers
137
views
My m1 Mac throws a error When I update Podfile
When I want to update my Podfile in my Xcode iOS project, the Terminal throw a error like this:
Updating local specs repositories /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2....
1
vote
2
answers
177
views
Deleted /usr/local/Frameworks and others while uninstalling Homebrew
I am running macOS Monterey, 12.2.1 on my Mac. I had installed Homebrew a couple of years ago and had not updated it in the past few months. Now as I tried to run brew doctoror brew cleanup or brew ...
22
votes
2
answers
3k
views
Why is Homebrew installed in /opt/homebrew on Apple Silicon Macs?
The Homebrew documentation page for installation states the following:
This script installs Homebrew to its preferred prefix (/usr/local for
macOS Intel, /opt/homebrew for Apple Silicon and
/home/...
0
votes
1
answer
143
views
Error after installing brew formula in arm64 architecture
I'm trying to install sundials (a Nonlinear and differential/algebraic equations solver) using its brew formula on my M1-chip Macbook. I previously created a new installation under /opt/homebrew/ to ...
0
votes
2
answers
138
views
Unblock app Mac labels as unidentified developer with xattr
I recently asked how to unblock a binary from Mac's complaint that it's not identified. See How to unblock binary from use because Mac says it is not from identified developer.
The solution of ...
-2
votes
2
answers
35
views
Uninstalling apps in homebrew
I recently tried to install Matlab from Homebrew for macOS by running brew install matlab2tikz. Now, I would like to remove this file. How do I do it?
0
votes
1
answer
42
views
How do I make a new terminal window use a new version of nano installed with homebrew?
MacBook Air M1, MacOs Monterey
I have installed with homebrew the latest version (6.1) of the nano editor, which I can start with nano.
However, in a new terminal window, nano launches the old, pre-...
1
vote
1
answer
109
views
Deleting duplicate copy of cURL command line application and point the system to only one copy of it
I recently updated my copy of cURL via Homebrew, which it put in /usr/local/Cellar/curl (v7.80.0). I also have an older version of it (7.43.0), which is located at /usr/bin/curl. This is the version I ...
0
votes
1
answer
126
views
Homebrew: How to "unlink" an app cask?
I know app artifacts are installed into /Applications directly.
And I spot below output when uninstalling Dropbox:
==> Backing App 'Dropbox.app' up to '/opt/homebrew/Caskroom/dropbox/140.4.1951/...
1
vote
0
answers
65
views
How to install `yq` with Mach-O 64-bit executable? I got error `bad CPU executable`
I'm not very familiar with Mac system, so I used brew install jq and brew install yq,
then I got:
$ file /usr/local/bin/xxx/lib/jq
/usr/local/bin/xxx/lib/jq: Mach-O 64-bit executable x86_64
$ file /...
0
votes
0
answers
848
views
Getting SystemError: Cannot compile 'Python.h' while installing numpy==1.20.3
My Mac was bought in 2015 with macOS Catalina. I was trying to install numpy 1.20.3 but during installation I got the below error in Terminal:
SystemError: Cannot compile 'Python.h'. Perhaps you need ...
0
votes
0
answers
59
views
I did a ctrl+C when installing gpg keys because I realised that I didn't copy all the keys correctly, now I can't install them
I'm following this tutorial:
https://nrogap.medium.com/install-rvm-in-macos-step-by-step-d3b3c236953b
When I got to the part about installing the GPG keys I copy and ran it but realised I didn't copy ...
0
votes
0
answers
633
views
brew install GnuPG. doesn't work, am I missing something?
I'm using a MacBook with macOS Monterey Version 12.1
I'm doing a. simple brew install gnupg as shown here:
https://formulae.brew.sh/formula/gnupg
I've done brew install gnupg2. with the same results. ...
3
votes
2
answers
135
views
How can I point gcc and g++ to the gnu compiler collection?
I want to use the gnu compiler collection instead of the x-code compiler to compile some bioinformatics tools on the mac, which did compile on Linux but fails to build on macOS.
I did install homebrew
...
2
votes
3
answers
792
views
Homebrew: How to ignore cask formula on `brew upgrade`? (since `pin` has no `--cask` option)
How is it possible to ignore a formula by name while upgrading packages in Homebrew with brew upgrade?
Is there a command equivalent to this?:
brew upgrade --ignore <FORMULA>
This Stack ...
1
vote
1
answer
298
views
homebrew installed librdkafka to /opt/homebrew/Cellar/ instead of /usr/local/Cellar/
I'm on Mac Monterey (Apple cpu) and I've installed librdkafka:
https://github.com/edenhill/librdkafka
using homebrew. It has installed to /opt/homebrew/Cellar/librdkafka/
However, online sources ...
1
vote
0
answers
686
views
httpd showing in error state with brew services list on MacOS Monterey
When I look at my services installed with Homebrew Apache is always in an error state. When I do a syntax check on my Apache config it is fine and Apache is serving up content fine.
It's only a minor ...
2
votes
1
answer
314
views
is it possible to override the legacy app when install using brew
I am using this command to install app in macOS Monterey(the apple M1 pro chip), but facing a problem like this:
➜ ~ brew install --cask dbeaver-community
==> Downloading https://dbeaver.io/files/...
0
votes
1
answer
136
views
Why is htop and Activity Monitor showing different even when running htop as sudo?
I have installed htop using homebrew on an M1 Macbook Air. Below, one can see that the used memory reported by htop and Activity Monitor are different.
I am aware of other answers in this website ...