Questions tagged [homebrew]

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

146 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
515 views

Confusion over scrubbing the Caskroom with `brew cleanup`

Apparently brew cleanup also cleans the cask cache. But my problem was that many casks leave their installers in /usr/local/Caskroom, which is not considered part of the cache, and thus taking up a ...
4
votes
0answers
1k 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 -...
4
votes
0answers
711 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. ...
4
votes
0answers
231 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?
4
votes
0answers
1k 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. ...
4
votes
0answers
539 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 ...
3
votes
0answers
75 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 ... =...
3
votes
0answers
2k 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'...
3
votes
0answers
598 views

how to install Open Source Samba tool 'smbget' on macOS High Sierra?

It seems smbget is not available on Homebrew. Also the Samba suite not available. This tool is part of the samba(7) suite. smbget is a simple utility with wget-like semantics, that can ...
3
votes
0answers
59 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 ...
3
votes
0answers
217 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 ...
3
votes
0answers
448 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 ...
3
votes
0answers
490 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, ...
3
votes
1answer
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: ...
2
votes
0answers
230 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 ...
2
votes
0answers
174 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. ...
2
votes
0answers
93 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 ...
2
votes
0answers
402 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,...
2
votes
0answers
898 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++...
2
votes
0answers
61 views

Strange linker error xcode 11.2.1

below I give a strange linker error that I am receiving with Xcode 11.2.1 on macOS 10.15.1. Any thoughts on the error? Some similar errors reported online suggests this is a problem that can be ...
2
votes
0answers
90 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 ...
2
votes
0answers
2k views

XQuartz cannot start on macOS Mojave 10.14.5

Recently the XQuartz cracked after I open it from the Utilities folder. And I try to install it through different methods like the pkg and "brew cask install xquartz". However, it cannot work by each ...
2
votes
0answers
511 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 ...
2
votes
0answers
617 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 ...
2
votes
0answers
54 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 ...
2
votes
0answers
1k 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 ...
2
votes
0answers
1k views

Split a large folder containing many files into a set of smaller folders

This seems like a pretty common use case: I have a folder containing multiple files which I'd like to split into multiple folders, where each output folder is no bigger than a given size. In short,...
2
votes
0answers
132 views

Error while trying to install modules via pip2 in a homebrew-based python 2.7 installation

I have installed python 2.7 using Homebrew on a Mac OSX 10.11.6 (El Capitan) $ which python2 /usr/local/bin/python2 $ ls -l /usr/local/bin/python2 /usr/local/bin/python2 -> ../Cellar/python/2.7....
2
votes
0answers
390 views

Maos 10.13.1 High Sierra: unable to start proftpd

I just upgrades to 10.13 and I need a ftp server. I installed proftpd with homebrew. brew services start proftpd (or sudo brew services start proftpd) says: ==> Successfully started proftpd (label: ...
2
votes
0answers
2k views

Can't run Jupyter Notebook after updating python on MacOS Sierra 10.12.5

So I had python 3.5 installed on my MacOS Sierra and got jupyter notebook installed via pip3 and run properly. Recently, I updated to python 3.6 and whenever I tried to run jupyter notebook and start ...
2
votes
0answers
558 views

How do you install Emacs on OS X from the console?

I'm new to OS X and need to install Emacs 24.5 and 25.1 using the console to test a package using Travis continuous integration (http://travis-ci.org). My .travis.yml file looks like this (also ...
2
votes
0answers
980 views

Unable to connect to localhost on my development machine

I'm configuring a new Web development machine using the very complete and well-written guide published by Echo Software but I cannot connect to localhost after following/checking every step. My only ...
2
votes
0answers
369 views

Macports / fink / homebrew - which allows true non-root, home-directory-only installation?

I'm looking into doing some development on my Macbook Pro running Yosemite. I've used both Macports and homebrew before, but I really don't want to install anything on my machine outside of my home ...
2
votes
0answers
84 views

Meld on OSX 10.10 - half screen

I installed Meld using homebrew on a stock OSX 10.10. It works, but it doesn't seem to understand the size of my screen (actually two screens, same behavior on both built in and secondary display). ...
2
votes
0answers
244 views

When does OS X move /usr/local during a system update (slow start with homebrew)?

I have had a recurrent problem with the login screen getting stuck at 50% for a long time. One possible cause is that after an update, OS X is attempting to move /usr/local out of the way and then put ...
2
votes
0answers
5k views

How to uninstall Jenkins in Homebrew?

I have a problem with Homebrew especially with Jenkins formula. $ brew update;brew upgrade Already up-to-date. ==> Upgrading 1 outdated package, with result: jenkins 1.598 ==> Upgrading jenkins ...
2
votes
0answers
44 views

Is there a programmatic way to identify built-in applications?

I'm trying to keep an inventory of where each application in my Mac came from (context: I'm trying to be disciplined and install things only through the App Store, Homebrew or Caskroom). Apps that ...
2
votes
0answers
278 views

Spotlight not finding .app created with appify

I've used a script called appify described here https://mathiasbynens.be/notes/shell-script-mac-apps to create /Applications/Emacs.app that runs the actual Emacs.app at /usr/local/Cellar/emacs/24.4/...
2
votes
0answers
408 views

Error: Could not symlink bin/dvipdf when installing Octave

Note: A question similar to this one was asked here about a week ago. I am attempting to install Octave on OS X Mavericks. I ran the following: brew install octave which resulted in this error: ...
2
votes
0answers
41 views

Emacs does not auto restart after reboot?

I install Emacs via Homebrew and create a symbolic link: /Applications/Emacs.app -> /usr/local/Cellar/emacs/24.3/Emacs.app What does not seem to work properly is that after restarting, other ...
2
votes
0answers
623 views

MacVim: difference in syntax highlighting in terminal and GUI

I installed MacVim with homebrew, and specified the option to override system vim. It can be confirmed by looking at the version of vim in terminal. However, I don't understand why the terminal (mac)...
2
votes
0answers
316 views

Homebrew-compiled gpg-agent fails, gpg: cancelled by user

I'm trying to get gpg-agent working on OS X, compiled with homebrew. Here's my gpg-agent.conf: djc@djc-mbp ~ $ cat .gnupg/gpg-agent.conf pinentry-program /usr/local/bin/pinentry-curses no-grab ...
2
votes
0answers
522 views

Wine missing libncurses.5.4.dylib

When I launch winecfg or some other executables, I get this terminal output- Wine cannot find the ncurses library (libncurses.5.4.dylib). It does not prevent programs from running, but it's just ...
2
votes
0answers
352 views

A little help writing a Homebrew formula for Apache Nutch?

I'm trying to automate the installation of Apache Nutch by writing a Homebrew formula. The official tutorial requires users to download a TAR.GZ / ZIP from a mirror, extract, cd, run ant runtime, and ...
2
votes
0answers
2k views

A lot of problems with Homebrew

This is probably bad form for this board, and feel free to delete it if it is, but running brew doctor reveals the following: Warning: /usr/local/lib/pkgconfig isn't writable. This can happen if you "...
2
votes
1answer
2k views

Where to find OpenSSL devel package - can't seem to find it in Brew

I'm trying to install openssl-devel on OS X El Capitan, and I can't seem to find the package on Brew nor the source anywhere online. The application I'm installing (UnrealIRCd) requires both openssl ...
1
vote
0answers
54 views

Cannot install anything because of /usr/local/ permission

I'm using OS Catalina atm. I am trying to install Node and Homebrew but I can't seem to install anything because it keeps on saying I don't have permission in /usr/local/ Installing homebrew gives me ...
1
vote
0answers
74 views

Install brew without prompt password

I want to create a script to automate the installation of brew on new workstations without entering password. In my /etc/sudoers I added the path to my file dsi ALL = (ALL) ALL dsi ALL = (root) ...
1
vote
0answers
56 views

Failed to import cxutils module into Python

I had been using Crossover for a while on High Sierra (10.13.6) without any problem but recently, I needed it again and tried to install it again but encountered a very annoying error. Looked for a ...
1
vote
0answers
65 views

Homebrew started blowing up, no idea why

I probably did some unwise things. After a brew update and a brew doctor kept throwing the same error, I tried to uninstall and reinstall it with the shell scripts for those. They mostly worked, but ...