Questions tagged [homebrew]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
14 views

No Prompt & Password Fill Install for Homebrew

I'm trying to create a script to deploy macOS and the last piece that isn't automated is installing Homebrew. Because of the unique scenario where Homebrew shouldn't be installed with sudo, and it ...
2
votes
2answers
42 views

macOS alternative to Meld

The mojave upgrade from 10.14.5 to 10.14.6 broke my old VLC install (already fixed by upgrading the VLC install) and I think it has also broken my Meld 3.19.2.osx6 build provided through Homebrew. I ...
0
votes
2answers
24 views

Two installations of Qt on OSX?

My setup (OSX 10.13.6) appears to have two installations of Qt5: one in /Library/Frameworks (/Library/Frameworks/QtCore.framework, /Library/Frameworks/QtGui.framework, etc.), but I also have one ...
0
votes
0answers
9 views

Starting multiple HomeBrew Services

I would like to run two different mongodb databases on my Mac. I installed mongodb with the HomeBrew manager. However I was unable to find a possibility to create new homebrew services. I already ...
0
votes
1answer
28 views

Cannot `brew install` from a `bash` script

I want to create a script to setup an environment on a Mac. Here's a simple sample... #!/bin/bash brew install gcovr || exit 1 gcovr --version NOTE: Script assumes brew was previously installed . ...
1
vote
0answers
24 views

Use OpenSSH agent instead of the OSX agent

I've installed OpenSSH using homebrew (brew install openssh) and this installation provides it's own ssh-agent. Still, when I login, and see the autostarted ssh-agent, I see that the agent that is ...
3
votes
2answers
31 views

Homebrew uninstalling fails

I am trying to uninstall a cask using homebrew, but each time it fails due to (I believe) AppleScript failing to run. I believe this issue stems from my multiuser setup (I am a non admin). Error: ...
1
vote
0answers
25 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 ...
1
vote
0answers
50 views

Multiple unknown node versions from brew

I am trying to run yarn add command and I get the error: Node version 0.12.4 is not supported, please use Node.js 4.0 or higher. When I run node -v I get: v0.12.4 But when I run brew upgrade node ...
2
votes
1answer
44 views

How to run privileged programs without elevation by sudo?

I got the mtr ping-traceroute combo util through Homebrew and I'd like to run on new Terminal windows without having to become superuser (or elevation, sudoing, whatever it's called on UNIX) each time ...
0
votes
1answer
52 views

gnupg not found

I am trying to install rvm. But I don't have gnupg/gpg installed. So I tried to install it using brew: brew install gnupg But after it's installed (verified by brew list), I cannot use gnupg. which ...
2
votes
1answer
188 views

Homebrew not detecting latest Xcode and Command Line Tools, and not uninstalling them either

I have macOS Mojave version 10.14.5 installed with Xcode version 10.2.1 and Command Line Tools installed using xcode-select --install. All problem started when I tried to install youtube-dl formula on ...
0
votes
1answer
24 views

brew Install encounter error /usr/local/share/texinfo is not writable

==> Installing ffmpeg dependency: texi2html ==> Downloading https://homebrew.bintray.com/bottles/texi2html-5.0.high_sierra.b ==> Downloading from https://akamai.bintray.com/52/...
0
votes
0answers
20 views

Convert .dmg installed files to brew/brew cask installation method

Is there a way to convert .dmg installed application in to a package management installation application? ex: brew/ brew cask package management application where we can directly use those commands ...
-2
votes
1answer
400 views

Homebrew precompiled binaries for macOS 10.15 Catalina. When they will be available?

When will the Homebrew precompiled binaries for macOS 10.15 Catalina be available?
1
vote
0answers
32 views

Getting OCRmyPDF to work with PDFMiner

I'm trying to get OCRmyPDF to work on my Mac. I installed it successfully by running: brew install ocrmypdf But when I tried using it by running: ocrmypdf --redo-ocr input.pdf output.pdf I get ...
1
vote
1answer
287 views

Make Homebrew installed Vim override system installed one

I have troubling merging several version of vim on my machine. I have successfully installed vim via Homebrew. Here's the output of running brew info vim: vim: stable 8.1.1550 (bottled), HEAD Vi '...
2
votes
0answers
294 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 ...
0
votes
0answers
17 views

Homebrew SSL error (1407742E) on Mountain Lion

I get the following error trying to install Homebrew on Mountain Lion, when following Installing brew on Mac 10.6 results in syntax error localhost:~ user$ cd /usr/local localhost:local user$ mkdir ...
1
vote
1answer
52 views

Running Java / Jython process in the background

I am trying to run a Jython script in the background. This is what the script looks like, a_jython_script.py for i in range(10000): print i When I try to run it in the background, it is ...
0
votes
0answers
40 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
1answer
46 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
100 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
15 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...] ...
0
votes
1answer
27 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
152 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
52 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 #...
3
votes
1answer
181 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
206 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
228 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 ...
6
votes
1answer
822 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 ...
1
vote
1answer
88 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 (/...
3
votes
2answers
717 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 ...
3
votes
0answers
100 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 ...
3
votes
2answers
239 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
293 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
247 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
139 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
91 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
68 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
2k 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 ...
4
votes
0answers
369 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
30 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
142 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
109 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
291 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 ...
2
votes
0answers
243 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
208 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
253 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
55 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 ...