Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [homebrew]

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

0
votes
0answers
12 views

Tcl-Tk Homebrew install with X11 support

I am trying to modify the tcl-tk Homebrew formula to have tk installed with x11 instead of the default aqua. However I haven't been able to do it so far. Can anyone help? This is the tcl-tk.rb: ...
0
votes
0answers
25 views

Java JDK installed via HomeBrew, but an application is erroring out that it cannot load the JRE, is there something else i need to set?

Title says it all. Installed (successfully, no errors) Java via HomeBrew on a fresh install of Mojave. From Terminal, I get the expected responses when I run things like which java and java -version ...
0
votes
1answer
29 views

mac won't start after “sudo chown -R $(whoami) $(brew --prefix)/*” command

I tried to install a program and it alwaysed lacked permission on /usr/local. I tried sudo chown -R $USER /usr/local but then found out that doesn't work anymore with High Sierra. So I tried sudo ...
2
votes
1answer
53 views

System using old version of rSync instread of new version

I have a Mac computer and would like to send backups to a Synology NAS. Apple has rSync 2.6.9 pre-loaded with the operating system. I installed rSync 3.1.3 using HomeBrew as Synology Active Backup ...
0
votes
0answers
7 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...] ...
1
vote
1answer
13 views

Brew - Node@8 with npm v5

Using Brew I have installed Node 8.x due to a version restriction on something i am working on. I used brew install node@8 in the command line However i need npm 5.x for a similar reason, which I ...
2
votes
0answers
34 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 -...
0
votes
1answer
20 views

How to properly install freetype2 devel package?

I wish to install freetype 2 dev package so I can use the fontconvert tool in Adafruit-GFX-Library Here is what I get $make fontconvert fontconvert.c:22:10: fatal error: 'ft2build.h' file not found #...
-2
votes
0answers
36 views

byobu on macOS: Bad interpreter

I installed byobu via Homebrew and when trying to run it, I get the following error: /usr/local/bin/byobu-select-session: /usr/local/Cellar/byobu/5.127/lib/byobu/include/select-session.py: /usr/bin/...
3
votes
1answer
107 views

How do I install beta command line tools using softwareupdate -l on 10.14.5?

On a clean install of 10.14.5: Multiple reports of the beta version not working using a headless install: https://github.com/Homebrew/install/issues/206 This lead me to trying to manually do a ...
0
votes
0answers
49 views

Brew upgrade causing libraries to be unlinked

I'm running a number of services on my local - php@7.2, postgresql, node, mariadb, etc. Every time I do brew upgrade X some of the libraries that are generally used will become unlinked (?) resulting ...
0
votes
1answer
69 views

Stuck in upgrading PHP version on localhost Mojave

I'm trying to get PHP7.2 working on localhost, but phpinfo() keeps saying 7.1.19 is in place while ~php -v tells me PHP7.2.18 is in place. I run ~php -v it says: PHP 7.2.18 (cli) (built: May 2 ...
3
votes
1answer
251 views

What if there is an error message that adoptopenjdk8 exists in multiple taps?

When brew cleanup shows the following error message: Error: Cask adoptopenjdk8 exists in multiple taps: homebrew/cask-versions/adoptopenjdk8 adoptopenjdk/openjdk/adoptopenjdk8 How can I resolve ...
0
votes
1answer
32 views

How to Install Clang specifically

While trying to run a MATLAB script, I am getting the following error: Compiling minFunc files... Building with 'Xcode with Clang'. Error using mex xcrun: error: invalid active developer path (/...
2
votes
2answers
328 views

What's the best way to update Homebrew when upgrading macOS?

I'm just about to finally update my MacBook Pro to macOS Mojave, hoping that the issues have all been resolved. But when I got this new machine I changed from using MacPorts to using Homebrew. When I ...
1
vote
0answers
46 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 ...
2
votes
2answers
100 views

f3 Fight Flash Fraud: “f3probe command not found” Mac OS Mojave

I'm testing SD Flash Cards and my linux machine decided to be rude and stop operating the SD Card Reader (time for a USB device). So I switched over to the reliable old iMac to happily find that F3 ...
0
votes
1answer
130 views

_complete:96: bad math expression: operand expected at end of string in iTerm and Terminal on Tab kypresses

Mac command line say "bad math expression: operand expected at end of string" Previously asks the question however the solution of restarting my computer has not worked.. I was hoping someone might ...
1
vote
1answer
98 views

How to proper setting root mysql password

I'm trying to make Mysql and phpMyAdmin works. I installed mysql using brew Following those answers https://stackoverflow.com/questions/6474775/setting-the-mysql-root-user-password-on-os-x I tried ...
0
votes
1answer
64 views

How to Start Postgres Service in MacOs?

I already install PostgreSQL using homebrew "brew install postgresql". But after that, I will start the service of the Postgres service its give me some error message. pg_ctl -D /usr/local/var/...
1
vote
0answers
58 views

Failing to install the package “Pygments” with brew

I'm try to use the minted package in latex to display code in latex document. I get an error message "you must have pygmentize installed" to use this package. So I tried to install the package ...
1
vote
1answer
41 views

Does a wget showing full request headers, exist on mac? The GNU wget on mac doesn't but the GNU wget on windows (Wget 1.19)

Does a wget showing full request headers, exist on mac? The GNU wget on mac doesn't but the GNU wget on windows (Wget 1.19) The example output that I want, is what I get on GNU Wget in Windows (This ...
2
votes
3answers
605 views

How can I completely uninstall Xcode in macOS Mojave 10.14?

After upgrading to macOS Mojave 10.14, Xcode was no longer updating correctly and my build process was reporting that stdlib.h was missing. Thus, I attempted to uninstall it so I could reinstall it ...
2
votes
0answers
205 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. ...
1
vote
1answer
27 views

Display the app location of every cask

I know how to use brew cask list to display every installed cask. However, this only provides me with the name of each cask: 1password 1password-cli font-fira-code font-ubuntu geekbench visual-studio-...
1
vote
2answers
101 views

How to set the python environment for LaunchDaemons

I have installed Python 3 via Homebrew, on my Mojave system, and have it symlinked to /usr/local/bin/python. I have a LaunchDaemon plist as follows: <?xml version="1.0" encoding="UTF-8"?> <!...
1
vote
2answers
75 views

Erased /usr/bin/env on accident. How can I restore it?

I accidentally deleted /usr/bin/env and it causing issues when I want to run brew install python I am getting the following error: brew install python3 /usr/local/bin/brew: line 91: /usr/bin/env: ...
2
votes
2answers
180 views

Is it possible to uninstall Xcode, keep the CLI tools and have a working Homebrew installation running on macOS Mojave?

I am trying to claw back as much disk space as possible, and I have no use for Xcode aside from the fact it provides the Command Line Tools I need for using Homebrew. Can I: Remove Xcode (how to do ...
1
vote
0answers
150 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 ...
1
vote
0answers
138 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 ...
0
votes
0answers
133 views

Error while attempting to install Homebrew on Mac OS X 10.7 (Lion)

I'm attempting to update my installation of Homebrew by re-installing as prescribed by http://brew.sh: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)...
1
vote
1answer
38 views

How can I change the ownership of the unwritable directories for Homebrew?

I had admin account before and I deleted the admin and made the user as admin because it was bit of pain in neck. This is now the admin user called zuhairhallak. Before, installing Homebrew, it was ...
0
votes
1answer
485 views

Homebrew Cask: List all formula available for installation

After updating the local Homebrew cache by running brew update, I have been using brew search and brew cask search to list all the available formula for installation via Homebrew Core and Homebrew ...
0
votes
1answer
62 views

Why do I get “Warning: You are using macOS 10.9” from Homebrew when I have 10.9.5?

I have just reinstalled OS X on my Macbook, I'm trying to get homebrew to install subversion, but I encounter the following error: "Warning: You are using macOS 10.9. We (and Apple) do not provide ...
2
votes
1answer
86 views

Does Homebrew get removed after upgrading Mac OS?

I recently upgraded my Mac from 10.13 to 10.14 and I can't seem to find my Homebrew. /usr/local is practically empty; just MySQL remains. Does brew get removed after an OS upgrade? Should I install it ...
1
vote
1answer
56 views

Deleting empty Directory with File's Ghosts?

I am trying to delete bunch of directories appearing to be empty amr@MacBook ~/folders> ls -la -R total 24 drwxrwxrwx 6 amr staff 192 Mar 9 14:37 . drwx---r-x+ 40 amr staff 1280 ...
0
votes
0answers
12 views

Recovering old mysql data files with newer version of mysql installed with Homebrew

I installed mysql with Homebrew about a year or so back and created some databases with it. I uninstalled it some time last year. The data files in /usr/local/var/mysql are still around. I recently ...
2
votes
1answer
259 views

Is there any way to install homebrew on iOS (jailbroken)

I'd like to install homebrew on my iPhone running iOS 10.3.3, which is jailbroken and has Terminal and NewTerm installed. When I run /usr/bin/ruby -e "$(curl -k -fsSL https://raw.githubusercontent....
1
vote
1answer
144 views

Applications installed with brew cask install won't launch for other users

I have two users accounts on my Mac, one for personal use and one for work use. I use Homebrew to install most of my applications. However, whatever GUI application I install using brew cask install ...
0
votes
1answer
875 views

Install older removed brew formula version

While brew has an accessible simple versioning mechanism, it's restricted to versions used by a large number of people. So for popular versions, it's easy: brew search node # gives node@6, node@8, ...
1
vote
0answers
105 views

How to invoke /usr/local/bin/g++-X instead of XcodeDefault.xctoolchain/usr/bin/c++

{MacOS 10.14.1 Mojave, Xcode 10.1} I'm working on building the POPF planner under MacOS and I'm stuck on a system library include problem that I'm not sure how to overcome. I have exported export ...
3
votes
2answers
473 views

Git clone fails with “fatal: multiple updates for ref 'refs/tags/v1.0.0' not allowed” on MacOS Mojave

I did a lot of operations on my computer last night, basically updating/upgrading(?) brew, which installed a new git version, updated python, lots of stuff and today I figured I couldn't clone a ...
0
votes
0answers
30 views

Unable to start mysql 5.6

I installed mysql 5.6 using homebrew but haven't been able to start it/login using Sequel pro. When I run mysql.server start in the terminal I am getting this error - ERROR! The server quit ...
1
vote
1answer
33 views

avoiding python@2 redundant dependency

I installed gdal using homedal because I need it for ortho4xp, which uses python3. I noticed that gdal depends on both python and python@2. Gdal is not the only package doing this. It pulls in numpy, ...
2
votes
1answer
128 views

How do I prevent nginx from auto-loading using homebrew?

I'm using Mac High Sierra. I install nginx with homebrw a while back, but I can't remember how to permanently stop it from running when my computer boots. I have this file localhost:mydir davea$ ls ...
4
votes
1answer
196 views

Why are all dependencies forced in Homebrew FFmpeg 4.1?

When upgrading to the latest FFmpeg (4.1) through Homebrew, I noticed that an overwhelming number of new dependencies were installed. At the same time, brew info ffmpeg revealed that all installation ...
2
votes
1answer
60 views

Why is Homebrew lynx configuration not in my home directory

When installing lynx with Homebrew, the primary configuration (according to the lynx option screen) is at a long, version-specific path (thus the path will change every time a new version is installed)...
0
votes
1answer
26 views

Launch homebrew.mxcl.dnsmasq when NIC becomes available?

I am running homebrew dnsmasq on my Mac. Dsmasq is configured to only respond to traffic on one NIC (en7). en7 is a usb-c ethernet adapter. When this adapter is not active (not plugged in, switch ...
1
vote
0answers
136 views

Mac OS: zero-byte files in home directory

I have some strange empty (zero-byte) files in my home directory and I have no idea from where they come. I installed 'brew' on fresh Mac OS Mojave around this time. There are many 'version like' ...
0
votes
1answer
177 views

Is brew using MySQL or MariaDB

A few months ago I installed either MySQL or MariaDB via Homebrew. But I don't remember exactly which one. Now I am trying to figure it out, because MariaDB supports features that MySQL does not, such ...