Skip to main content

Questions tagged [homebrew]

System for installing command-line Unix applications and tools on OS X. Free and open-source.

257 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
0 answers
3k views

Homebrew dnsmasq "Service exited with abnormal code: 2" (Mac OS X Sierra 10.12.6)

Workaround (update) A quick workaround is to stop the job through brew services stop dnsmasq. Then you should first unload the launchd configuration file and then reload it. $ sudo launchctl unload -...
Marco Frisan's user avatar
5 votes
0 answers
59 views

Homebrew installs python, but not pip

I have installed python using Homebrew. python3 --version => 3.11.7 pip3 --version => pip 23.3.1 from /usr/local/lib/python3.11/site-packages/pip (python 3.11) When I am using pip3 to install ...
user1934428's user avatar
  • 1,062
5 votes
1 answer
1k views

brew gives: "Error: gocryptfs has been disabled because it requires FUSE!" during encfsgui installation

I'm receiving errors while installing pyencfsgui When I run brew install encfs or brew install encfs I get the message Error: encfs / gocryptfs has been disabled because it requires FUSE! I've ...
Scottmeup's user avatar
  • 2,633
5 votes
0 answers
3k views

How to install and maintain multiple clang versions?

On my MacBook Pro I have Homebrew as well as the CUDA toolkit. OSX and Homebrew prefer the 'latest' version of clang (currently version 9.0.0). Clang is used for several Homebrew packages that I need. ...
agtoever's user avatar
  • 173
5 votes
0 answers
883 views

Can't use launchctl as non-root user

I was trying to set up the grooved - a music player daemon. It works over dbus which I installed through Homebrew. In the caveats of the dbus formula it says: To start dbus: brew services start dbus ...
robertgzr's user avatar
4 votes
0 answers
6k views

Where do I find a version of brew for high sierra?

My laptop is using High Sierra os and I just installed homebrew. However, after running brew doctor I see the following: Warning: You are using macOS 10.13. We (and Apple) do not provide support for ...
Sidney Sousa's user avatar
4 votes
0 answers
1k views

Pip Installed Tools: "command not found" | Homebrew Installed Python Tools Work Fine

I installed Python 3 with Homebrew and a tool I was installing through Homebrew auto-installed Python 2.x. So, I have both and pip (etc) is installed for both, unlike the macOS default Python. ...
Kerlix's user avatar
  • 1,480
4 votes
0 answers
251 views

Installing iodine on High Sierra

As far as I can tell Homebrew no longer holds iodine and I can't see it in the Boneyard either. So I'm wondering if there is another good way to get it onto a computer running High Sierra?
Hammer's user avatar
  • 41
4 votes
0 answers
121 views

How can I install development tools (e.g. git, python, gcc) for a single user without requiring admin privileges?

I've just done a fresh install of High Sierra and was about to embark on setting my development environment back up. However, I wanted to ask the community if anyone's investigated a way to do this ...
Ryan's user avatar
  • 61
4 votes
0 answers
1k views

"config" scripts exist outside your system or Homebrew directories

I'm currently using pyenv and pyenv-virtualenv, which i've installed via Homebrew. I've added if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi to enable shims and autocompletion and if ...
g_rmz's user avatar
  • 553
4 votes
1 answer
1k views

macOS 11 Pyenv Python 3.9.0 Install Error

I am trying to install python 3.9.0 on macOS 11.0.1. I have the latest version of brew and the latest pyenv. sids@Sids-MacBook-Pro ~ % pyenv install 3.9.0 python-build: use [email protected] from homebrew ...
SidS's user avatar
  • 231
3 votes
0 answers
857 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 ...
Porcupine's user avatar
  • 131
3 votes
1 answer
1k 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/...
nbari's user avatar
  • 289
3 votes
0 answers
667 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 ...
Liam White's user avatar
3 votes
0 answers
4k 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. ...
filifunk's user avatar
  • 131
3 votes
0 answers
1k views

Improving security of homebrew installation (ownership of /usr/local)

I have used homebrew (https://brew.sh/) for many years and have been extremely happy with the functionality. However, I have become more and more uneasy about the advice (in fact, almost a requirement)...
Matt Denwood's user avatar
3 votes
1 answer
3k views

Catalina localhost ERR_CONNECTION_REFUSED

I have seen a number of threads that are close but no answer quite hit the mark for my issue. I have a MacOS AMP environment for testing that was setup using homebrew and that had been working ...
Papa Joe Dee's user avatar
3 votes
0 answers
491 views

State of xorg support in MacOS Catalina (10.15)

I'm currently setting up a new Mac with Catalina (10.15) and Homebrew. What is the current state of xorg support in this combination? Is XQuartz still maintained, and is it compatible with 10.15? The ...
jstarek's user avatar
  • 3,616
3 votes
0 answers
1k views

Always build package from source in Homebrew

I installed macOS Catalina by using macOS Catalina Patcher on my Mac mini 2010 and it works like a charm. But I am facing the problem described on this thread. The package bottles (prebuilt binary) ...
Gasol Wu's user avatar
  • 4,794
3 votes
0 answers
5k views

Apple clang++ error: wchar.h:119: fatal error: 'wchar.h' file not found #include_next <wchar.h>

[MacOS 10.14.5, Xcode 10.2, CLI Tools, brew clang-9/clang++] For some reason I am no longer able to build a simple hello world program using clang++ main.cpp. Instead, I am getting an error: clang++...
gone's user avatar
  • 753
3 votes
0 answers
360 views

How do I restore a backup created by 'brew cask upgrade'?

I just upgraded VMware Fusion on my system: brew cask upgrade vmware-fusion ==> Upgrading 1 outdated package: vmware-fusion 10.1.3-9472307 -> 11.5.0-14634996 ==> Upgrading vmware-fusion ... =...
Frerich Raabe's user avatar
3 votes
0 answers
1k views

Homebrew running update && upgrade error: Another active Homebrew update process is already in progress

Recently on MacOS 10.14.3 I started getting error when I run following two commands together: $ brew update && brew upgrade Error: Another active Homebrew update process is already in ...
CrnaStena's user avatar
  • 131
3 votes
0 answers
3k views

Python quit unexpectedly when running Python programs from terminal

I am using Terminal to run code on my macOS High Sierra. I use Python all the time on my laptop (all day every day) and this is the first time I have seen this and it's come somewhat suddenly. I haven'...
quanty's user avatar
  • 145
3 votes
0 answers
250 views

Flashtool does not convert .swf to .png, says JPEG library not compiled

I've made this sh script to convert a bunch of swf files in a directory to pngs. for img in *.swf; do swfrender "$img" -o "$img.png"; done; This gives Error: No JPEG library compiled inrfxswf: I've ...
bobmcpersonbob's user avatar
3 votes
0 answers
546 views

Can't UsePrivilegeSeparation sandbox with Homebrew sshd

With OSX 10.9.5, and using the latest Homebrew OpenSSH, which at time of writing is OpenSSH_7.1p2/OpenSSL 1.0.2f, I must set the following in /usr/local/etc/ssh/sshd_config: UsePrivilegeSeparation ...
courtlandj's user avatar
3 votes
0 answers
1k views

How to get a universal binary with both architectures from Homebrew on Mavericks

I need to install Cairo for the use of a 32-bit application on Mavericks. After first uninstalling libpng, I have succeeded in forcing a complete recompile of Cairo and all its dependents (libpng, ...
DejaDingo's user avatar
3 votes
1 answer
1k views

How can I install Octave with curl support via homebrew?

I've installed octave with homebrew (via brew install octave), and it seems to work fine, including gnuplot support. However, it looks like it's missing curl support. I'm getting the message "error: ...
rubysolo's user avatar
  • 131
2 votes
0 answers
46 views

Running Apple Silicon and x86 homebrew side by side, cleanly

TLDR: I am aware that there are plenty of questions from people trying to migrate from Intel to Apple Silicon installations of homebrew; and many questions that speak of confusions from unwanted ...
AnoE's user avatar
  • 618
2 votes
0 answers
111 views

How does a Homebrew-installed Emacs get the same PATH variable as set in the shell?

I am running homebrew on an M2 Mac mini under macOS Ventura. I use Emacs.app from the railwaycat/emacsmacport/emacs-mac cask and when I check in Emacs the inherited PATH environment variable, Emacs ...
halloleo's user avatar
  • 1,427
2 votes
0 answers
97 views

Is GNU assembler bundled with GCC provided by Homebrew?

I'm on Intel Mac running the latest Monterey. Already have GCC 13 installed using Homebrew. I'm trying to build sectorlisp. Unfortunately still fails, because as (the LLVM assembler) rejected it. ...
anta40's user avatar
  • 259
2 votes
0 answers
2k views

How can I mount a remote SSH folder on Mac without sshfs?

In the past I had used sshfs sshfs user@server:/remote_folder ~/local_mount and osxfuse (now macfuse). However, sshfs seems to be deprecated and I can't find an alternative. I tried using smbfs but ...
Julia MM's user avatar
2 votes
0 answers
143 views

What tools come pre-installed on Mac; what is part of the Xcode command line tools; and what should I install myself?

I'm setting up my Macbook, and in the process of installing Homebrew, I installed the Xcode commandline tools. I'm assuming the result of this is the /Library/Developer/CommandLineTools directory, ...
user avatar
2 votes
0 answers
657 views

Command failed: dyld[23446]: Library not loaded: /usr/local/opt/libidn2/lib/libidn2.0.dylib

When I tried to using this curl_chrome100 command to download html in macOS 13.2 terminal: ./curl_chrome100 https://google.com shows error: > ./curl_chrome100 https://google.com dyld[28254]: ...
Dolphin's user avatar
  • 1,165
2 votes
0 answers
107 views

How can I look for software on my machine which could be installed from Homebrew, but currently isn't?

So assume there are various apps on my machine which I installed manually at some point WITHOUT using brew. Reasons for that could include: I specifically decided not to use brew, even though I could ...
isametry's user avatar
  • 131
2 votes
0 answers
1k views

How to check if brew installs M1 or intel packages?

I have installed JetBrains Toolbox using brew install --cask jetbrains-toolbox. I am experiencing quite a lag when scrolling and overall slow interface while using WebStorm, IntelliJ and PyCharm. I ...
Lucas's user avatar
  • 21
2 votes
0 answers
1k views

Library not loaded libcrypto.1.1.dylib: incompatible architecture between x86_64 and arm64

I have a M1 Pro laptop and have been trying to install homebrew on it. However, I'm getting incompatibilities with libcrypto, probably due to Apple Silicon architecture. dyld[22223]: Library not ...
sameetandpotatoes's user avatar
2 votes
0 answers
2k views

Correct packages installation without using Homebrew

I was reading this old post because I want to download a homebrew package without using brew : How to download a binary from brew without installing brew? but I'm stuck so I try to ask too. I'm on ...
federico D'Armini's user avatar
2 votes
0 answers
691 views

Error: Can't update mongodb-community via brew

I seem to have a problem with my MongoDB (mongodb-community), which I installed via brew on my Mac. I always get the following: $ brew update && brew upgrade Already up-to-date. ==> ...
Xenonite's user avatar
  • 315
2 votes
0 answers
185 views

Multiple Jupyter recommended?

I was having some trouble with Jupyter not being able to locate python packages which lead me to find out that I am having 2 installations of it : one in /usr/local and one through homebrew. Is it ...
asymptoticallyboundedgluon's user avatar
2 votes
0 answers
956 views

How to permanently skip a package dependency installation in Brew

How can I make Brew skip attempting to install [email protected] during brew upgrade? I have [email protected] already set globally. BACKGROUND: I'm running High Sierra 10.13.6, and at this time, Brew is ...
bento's user avatar
  • 141
2 votes
0 answers
846 views

Copy file in home directory during Homebrew formula install

Is it possible to create files outside of /usr/local/Cellar during a Homebrew formula installation? Here is my code: def install cmd = "whoami; cd /Users/hughcrt; pwd; mkdir test&...
Hugh's user avatar
  • 363
2 votes
0 answers
729 views

Using LibreSSL 3.1.1 without messing with the system

I did a brew install of OpenSSL/LibreSSL (3.1.1)... it's located in /usr/local/opt/libressl/bin/openssl I also have the usual macOS Catalina OpenSSL/LibreSSL bin at: /usr/bin/openssl I don't ...
Woodstock's user avatar
  • 1,326
2 votes
0 answers
499 views

MacOS 10.15.4 dnsmasq doesn't work properly when listening on lan IP address

I have a dnsmasq set on my Mac to provide DNS lookup service to lan computers and Mac itself.The main conf script is listen-address=127.0.0.1,192.168.1.2 where 192.168.1.2is Mac's lan IP address. ...
Rpmmeetdpkg's user avatar
2 votes
0 answers
303 views

How to install SDL_bgi having SDL2 installed without Xcode (edit: with Xcode)

I would like to install SDL_bgi on macOS without Xcode. I’ve downloaded the file • Sources: SDL_bgi-2.4.0.tar.gz from the website sourceforge. But now that I have the folder, I don’t know how to ...
Maëlle's user avatar
  • 151
2 votes
0 answers
661 views

SSHd on macOS Catalina 10.15.3 (19D76)

I have SSH enabled (by checking remote login in Sharing settings). I have also secured it to be pubKey only etc. Every time macOS updates it overwrites my /etc/ssh/sshd_config with absolute nonsense,...
Woodstock's user avatar
  • 1,326
2 votes
0 answers
282 views

Uninstalling a Homebrew formula deleted the entire /usr/local directory

I tried to uninstall Homebrew installed MySQL by running: brew uninstall mysql However, this command removed the whole /usr/local directory. I checked Trash, but unable to locate it. Is there a way ...
nikkin's user avatar
  • 21
2 votes
0 answers
449 views

How to make netcat output verbose information on macOS Mojave?

I've tried to use various netcat's from Brew, MacPorts, and Apple etc., but neither of them output verbose information, like "Listening to all interfaces": nc -lvp 443 [No verbose output here...] ...
Shuzheng's user avatar
  • 1,561
2 votes
0 answers
895 views

Running a command with access to "System Events.app" granted

I am updating applications installed via Homebrew from command line. iTerm2 requires access to "System Events.app" to be correctly updated, which ends up in a process that is not fully automated and ...
syntagma's user avatar
  • 11k
2 votes
0 answers
63 views

Is quilt broken on High Sierra?

I'm trying to use quilt to manage a patch set. I installed it with brew, but I'm having problems adding files to the patch series. When I add a file, I get an error that stat cannot read file system ...
jerwood's user avatar
  • 452
2 votes
0 answers
2k views

brew install package asks to install command line tools from a path that doesn't exist

I messed up my command line tools. I already had them installed (and were working pretty great), I also installed the beta 2 macOS 10 version from the apple developers site because the command brew ...
Ishan Srivastava's user avatar

1
2 3 4 5 6