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
27 views

Error: /usr/local must be writable! (update homebrew)

I ran: brew update in terminal (Mac OS) output: Error: /usr/local must be writable! Anyway, as you can probably tell I am new to working with this. I searched this expecting it to be a common ...
0
votes
1answer
25 views

Installing Python 3.5.6.1: python contains a recursive dependency on itself: [duplicate]

I am trying to install Python 3.5.6.1 with: $ brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/f2a764ef944b1080be64bd88dca9a1d80130c558/Formula/python.rb $ brew switch python 3.6....
1
vote
0answers
47 views

zsh (brew) and oh-my-zsh: Insecure completion-dependent directories detected (as root user)

When I run sudo -s I get those errors: [oh-my-zsh] Insecure completion-dependent directories detected: drwxr-xr-x 19 myusername MYDOMAIN\Domain Users 608 Feb 10 07:08 /Users/myusername/.oh-my-...
1
vote
1answer
202 views

How to install Python on macOS Catalina using homebrew?

I'm trying to install Python 3 in macOS Catalina (10.15.3 (19D76)) using homebrew but it is giving the below error: dmanna-a01:operations dmanna$ brew install python3 ==> Downloading https://...
1
vote
2answers
68 views

How to (and should I) put a path to user-installed python ahead of system-installed python?

I have a separate installation of Python 3.*, but the first python path in my $PATH variable is the path to system-installed Python. Is this how it should be? I have added the path to user-installed ...
0
votes
0answers
51 views

macOS Catalina Homebrew mariadb Installation Issues

So I'm running macOS 10.15.2 Catalina and try to install mariadb (10.4.11, the lastest version) with Homebrew. After running brew install mariadb, brew warned that the postinstalllation didn't ...
0
votes
0answers
12 views

Rotated logs with newsyslog, but PostgreSQL doesn't write to new one until I restart it

I installed PostgreSQL on my mac using homebrew and it's been working great. I recently increased the amount of logging going on because I need to use pgbadger, so naturally I set up log rotation ...
-1
votes
1answer
81 views

How to unite `brew` and `brew cask` into one command?

I don't know why I should care how exactly an application is distributed. How can I make Homebrew use only one command to install formulas and casks, like traditional *nix package managers do apt-get ...
1
vote
2answers
64 views

“fatal: Not a valid object name develop” error when running brew upgrade/cleanup

Whenever I run brew upgrade or brew cleanup I get this error in the output: fatal: Not a valid object name develop Although, it seems that upgrading works as expected. Where does the error come from ...
0
votes
0answers
74 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,...
0
votes
0answers
67 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++...
1
vote
1answer
38 views

Need to update Make on Catalina, other brew related answers are out of date

I am trying to run make using a script given to me by my new employer. The script relies on a feature present in gnu make v4.2+, and of course the only installed version is 3.8. I used brew to ...
1
vote
1answer
77 views

how to automate / run 'brew cask upgrade' as a cron job?

I wish to run brew cask upgrade in a cronjob, but it prompts for a password. When I run the job as root all permissions are screwed up. Howto run that command in a cronjob env? I use zsh. ~ brew ...
0
votes
0answers
22 views

How to change the User/group setting for Apache installed with homebrew?

I am running an Apache server daemon on my local Mac with Mojave installed. Apache was installed with homebrew. I want to tighten up security on the server as I occasionally make some sites publicly ...
0
votes
0answers
17 views

Suppress converting “hyphen minus” in man-db

I have MacOS Catalina. In MacOS $ /usr/bin/man -v man, version 1.6g have some problem with some man pages from HomeBrew (tmux for insance). And so I installed man-db from HomeBrew: $ brew info man-...
1
vote
0answers
27 views

Include a binary in applescript bundle?

I've got an applescript that calls a binary on my computer (installed with homebrew). I'd like to share the applescript with friends, but can't guarantee that they'll have the binary. For example, a ...
2
votes
1answer
149 views

-bash: /usr/local/bin/nmap: Bad CPU type in executable

I recently update my Mac OS to Catalina 10.15. I ran nmap I kept getting -bash: /usr/local/bin/nmap: Bad CPU type in executable I've tried reinstalling it brew uninstall nmap brew install nmap ...
0
votes
0answers
122 views

“A newer Command Line Tools release is available” but no updates in System Preferences or AppStore [duplicate]

When I upgrade a package, homebrew prompts this: ==> Upgrading mysql@5.7 Warning: A newer Command Line Tools release is available. Update them from Software Update in System Preferences or https://...
1
vote
1answer
98 views

brew search generates mail notification “You recently used a password to access an endpoint through the GitHub API using Homebrew/2.2.2”

I got a mail from GitHub: You recently used a password to access an endpoint through the GitHub API using Homebrew/2.2.2 (Macintosh; Intel Mac OS X 10.15.2) curl/7.64.1. We will deprecate basic ...
0
votes
1answer
56 views

How to restore default Apple Version of Git after renaming it in Mac OS Mojave and linking git to homebrew version?

I wanted Mac OS to use my homebrew version of git after brew install git. So I mistakenly renamed my Apple Default git by doing: $mv /usr/bin/git /usr/bin/git~apple $ git --version git version 2.25.0 ...
0
votes
0answers
35 views

QEMU MacOS host Linux quest audio

I installed qemu via brew. Successfully installed ubuntu 18.04 desktop as a qemu guest. Following is the start up command: qemu-system-x86_64 \ ...
1
vote
1answer
118 views

getting `pip` to use `python3` instead of macOS-supplied python2?

I don't really know much about python or pip so this may be an easy question but I’ve looked around and don’t really see an easy to understand solution, and the deadline is coming up soon, so it seems ...
0
votes
0answers
29 views

Eclipse can't find meson

I recently installed meson, ninja and Eclipse 2019-12. In order to get meson and ninja installed, I used brew. Eclipse was installed by using the dmg file, provided by the official eclipse page. It ...
1
vote
1answer
44 views

How do I let preinstalled python 2.7 access pip installed modules?

I installed python3 using brew, all the modules installed thru pip are located at /usr/local/lib/python3.7/site-packages How do I let the macOS preinstalled python 2.7 access those modules (b/c I ...
2
votes
1answer
155 views

How to make auto-complete work for AWS on ZSH?

I installed awscli from brew. The amazon instructions refer to a shell script, aws_zsh_completer.sh that doesn't appear to be included. I do have an /usr/local/bin/aws_completer. How do I make the ...
1
vote
1answer
61 views

502 Proxy error when trying to use Homebrew php72 with Server.app websites

I'm having a puzzling issue with a website on macOS server (server.app 5.6, High Sierra 10.13). All works fine when the url length is below 70 characters. 70 and up and I'm getting a Proxy error. The ...
0
votes
1answer
41 views

Mosquitto link troubleshooting

brew install mosquito Returns: Warning: mosquitto 1.6.8 is already installed, it's just not linked You can use `brew link mosquitto` to link this version. Link attempt: Users-MacBook-Air:~ user$ ...
0
votes
2answers
68 views

Homebrew services - how to stream its log?

If I run command line service like mongod , my terminal window will continue to show its log output. If i run it as a homebrew service, which is what mongodb itself recommends for mac, brew services ...
0
votes
1answer
28 views

Basic 'print' & 'puts' Mac OS terminal commands not found

I followed this article to install & update ruby with a package manager but I clearly messed up somewhere. https://stackify.com/install-ruby-on-your-mac-everything-you-need-to-get-going/ If I ...
1
vote
1answer
44 views

macOS Catalina software updates issue

During parallel downloading Xcode and installing homebrew, I stopped installing Command Line Tools for Xcode. Now I can see in Software Update two items related to that. With different versions. After ...
0
votes
1answer
63 views

Brew cask install emacs takes control of the emacs command line command

I'm currently using Homebrew to install both the command line version of Emacs and the GUI version of emacs, with the following commands: brew install emacs brew cask install emacs When I first ...
2
votes
0answers
41 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 ...
0
votes
0answers
118 views

brew upgrade: A full installation of Xcode.app 9.0 is required to compile this software. Why?

I did a brew upgrade ==> Upgrading 4 outdated packages: mysql-client 5.7.28 -> 8.0.18 rclone 1.50.1 -> 1.50.2 unbound 1.9.4 -> 1.9.5 imagemagick 7.0.9-4 -> 7.0.9-5 mysql-client: A full ...
1
vote
1answer
66 views

Where does Homebrew store its installed packages list?

I found myself with this problem: https://stackoverflow.com/questions/46459152/cant-chown-usr-local-for-homebrew-in-mac-os-x-10-13-high-sierra The recommended solution was to uninstall and then ...
2
votes
1answer
449 views

rsync in cron on Catalina no longer working

I have various rsync entries in crontab that worked reliably right up until the moment I upgraded to Catalina. 00 04 * * * /usr/local/bin/rsync --archive /Volumes/FOO me@remote.example:BAR Here ...
1
vote
0answers
29 views

Homebrew - OpenNLP installing to hidden folder

I used this command to install OpenNLP and it installed to a hidden Library folder (Users/me/(hidden)Library/Caches/Homebrew). ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/...
3
votes
1answer
72 views

How to remove a service from launchd added by mistake?

By mistake I added an invalid (non-existing) service to launchd: sudo launchctl enable system/homebew.mxcl.cntlm The above should be system/homebrew.mxcl.cntlm instead. However, after removing the ...
0
votes
1answer
42 views

How to generate list of Homebrew formulas/packages sorted by “most recently updated” (by package provider)?

How can one generate a list of Homebrew all formulas/packages sorted by "most recently updated" (by package provider)? I see no such sort/report at https://formulae.brew.sh/analytics. Maybe I missed ...
2
votes
1answer
90 views

How to install specific version of ocaml on MacOS?

I am trying to install version 4.02.3 of ocaml on MacOS 10.14.6 with the following command brew install ocaml@4.02.3 but I get an error Error: No available formula with the name "ocaml@4.02.3" I ...
2
votes
1answer
907 views

Connection refused: MongoDB 4.2 on Mac OS

I am trying to set up a MongoDB 4.2.X Community instance on my local computer. However, I am getting the following error message: Error: couldn't connect to server 127.0.0.1:27017, connection ...
0
votes
1answer
54 views

newly installed python3 using brew failing when I try to run pipenv install

When I run pipenv i get the below error, Termination Reason: DYLD, [0x1] Library missing Application Specific Information: dyld: launch, loading dependent libraries Dyld Error Message: Library ...
2
votes
1answer
74 views

Resetting /usr/bin

So I was installing python3, pip, and a few other applications through Homebrew when I first got my Mac. I realized I was doing all this in /usr/bin and not /usr/local/bin, and I wanted to just to ...
2
votes
1answer
146 views

pip3 abort signal on startup

I've just upgraded to macOS Catalina, I've used brew install dpkg, and homebrew decided it was time to run brew cleanup. After running it, I've not been able to run pip3 anymore. Tried running brew ...
1
vote
0answers
26 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 ... =...
2
votes
1answer
95 views

revoke forbiddance to send Apple events to System Events

I have been using Gitk provided by Git provided by Homebrew with success, for several years. A couple of days ago, it suddenly prompted a security window when called. I did not allow access, hoping ...
13
votes
2answers
4k views

Duplicate keyboard input after upgrading to macOS Catalina

After updating to macOS Catalina – when I type, macOS will randomly repeat keypresses and sequences of keypresses. Below are some examples of some mistypes just while writing this article: macOS =&...
1
vote
1answer
525 views

Warning: Cask 'xxx' is unreadable: undefined method `method_missing_message' for Utils:Module

$ /usr/bin/find "$(brew --prefix)/Caskroom/"*'/.metadata' -type f -name '*.rb' -print0 | /usr/bin/xargs -0 /usr/bin/perl -i -pe 's/depends_on macos: \[.*?\]//gsm;s/depends_on macos: .*//g' $ brew ...
1
vote
0answers
76 views

Postgresql 11 on Lion

We may be receiving a 1,1 Xserve running OSX Lion 10.7.6 (newest for the hardware) and need to run Postgres on the system. Will the newest version (11.5_1 at the time of writing) work on Lion if ...
3
votes
1answer
708 views

brew cleanup: Warning: Skipping XXX: most recent version X not installed

Did upgrade all formulas: > brew upgrade Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/cask). No changes to formulae. Why this upgrade did not install the latest ...
0
votes
1answer
37 views

Can we add formula (tool) in brew list?

According to brew document(https://docs.brew.sh/Manpage) we can install tools which Apple didn’t include with macOS. Can we add our custom (third party) tool in brew list (https://formulae.brew.sh/...

1 2 3 4 5 20