Questions tagged [homebrew]
`homebrew` is a package manager for Mac OS X, in the spirit of Linux's `apt` or `yum`.
481
questions
0
votes
1
answer
61
views
Homebrew pros and cons on macOS
I have to reset a MacBook Pro (15 inch mid 2012, with macOS Catalina), and to rienstall all the applications after the reset I'm considering to use Homebrew instead of the traditional method (download ...
0
votes
0
answers
15
views
Relocatable selfcontained homebrew archive with all dependencies included
I'm new to the homebrew ecosystem and I'm struggling with the following task:
I want to make an archive (tar.bz2) from a homebrew formula with all its dependencies included. This archive is going to ...
0
votes
1
answer
23
views
macOS host Problems with QEMU audio on Debian installation
I want to virtualize debian 11.2 with QEMU. However, the guest operating system has no audio. Since I'm blind and therefore work with a screen reader, it's important that the sound works. My host is a ...
0
votes
1
answer
70
views
Cannot uninstall ansible with pip or brew on Mac OSX
I cannot remove ansible from my machine.
If I run:
which ansible
/usr/local/bin/ansible
and
ansible --version
ansible 2.7.0
...
0
votes
1
answer
60
views
Use homebrew to install encfs on macOS?
I'd like to use homebrew to install encfs on macOS. Ideally, this would look like:
brew install macfuse
brew install encfs
As of macOS 12/Monterey, the first command works, but the second one does ...
1
vote
0
answers
19
views
Homebrew gives transfer closed with ... bytes remaining to read while I can manually download it. How do I do?
I'm trying to install MySQL-5.7 with homebrew on my Mac.
Firstly, I tried
brew install mysql@5.7
and I got
==> Downloading https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.37.tar
...
1
vote
2
answers
1k
views
Pip install doesn't work on m1 Mac
My pip isn't working. I tried installing it with ensurepip as well as with the official get-pip.py script. With the official installation script I get a warning:
WARNING: The scripts pip, pip3 and ...
0
votes
0
answers
5
views
How to install postgres@12.7 with brew
I am trying to install postgres@12.7 using brew.
Am able to install postgres@12, however I am not sure how to install a specific version. Does anyone know what to do / if it is possible?
1
vote
2
answers
45
views
Ncdu is filled with ?~V~H garbled symbols after a reinstall of macOS Monterey
On my newest re-install of macOS Monterey ncdu suddenly looks really weird.
A lot of the directories are shown with ?~V~H behind and next to them.
This issue persists across multiple Terminal profiles....
0
votes
0
answers
23
views
what process is calling `watchexec` in monterey (macos 12.1)?
After a routine reboot of Monterey (macOS 12.1) without having performed any software updates, I was asked to approve access for watchexec to various system locations such as ~/Documents and ~/Desktop ...
0
votes
1
answer
81
views
Cannot uninstall osxfuse from Homebrew
I have an old Macbook Pro where I apparently installed osxfuse at some point. Now I can't uninstall it, even though it's listed as installed.
I tried updating the OS to macOS Monterey 12.1, and I'm ...
1
vote
0
answers
86
views
In Homebrew, how to check if a software package is installed and if not, install it
I'd like to check programmatically if a software is installed via Homebrew, then install it only if it is NOT already installed. Here is the command I came up:
brew list gimp >/dev/null 2>&1 ...
5
votes
3
answers
929
views
Wish based tools (git-gui, gitk) showing broken/black UI on macOS Monterey
Wish based tools for instance git-gui and gitk are showing a black/broken screen after upgrading to macOS Monterey:
How can I fix this?
1
vote
0
answers
156
views
Downgrade GnuPG using brew
I need to downgrade GnuPG in my system, so what I did was to first uninstall it:
brew uninstall gnupg
it uninstalled successfully (apparently)
Then I tried to install again the needed version:
brew ...
1
vote
1
answer
45
views
How can I brew upgrade git if I can't get past this javac prompt?
I'm running into some odd issues with git today, so I thought I'd reinstall (or upgrade) it. Install and upgrade run into the same issue.
When I run java --version it says I have OpenJDK installed. OK,...
0
votes
1
answer
240
views
git-lfs unable to install in apple silicon macOS monterey
i install git-lfs using homebrew
then i follow
# Update global git config
$ git lfs install
# Update system git config
$ git lfs install --system
I get the following error
WARNING: current user is ...
0
votes
0
answers
57
views
/usr/local/opt/postgresql/*.plist no match
i'm trying to install postgres on my macOS (Monterey 12.0.1).
i've ran brew install postgres and the next step is to run ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents, but when i do,...
-1
votes
1
answer
68
views
Is it possible to turn my Mac Pro into an FTP server without using any third party FTP clients like Filezilla or VSFTPD?
I want to turn a Mac Pro Tower into an FTP server that exchanges files locally between my MacBooks and Homebrewed PS3 and Xbox 360.
I don’t want to install any third party FTP clients and am wondering ...
0
votes
1
answer
69
views
MacOS Homebrew: How to override *specific* system binaries
I've installed Homebrew 3.3.1, followed by brew install git, and my resulting path looks like this:
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/brew/bin
Naturally, this path prefers the system ...
0
votes
0
answers
16
views
Can brew install update software not installed by brew install?
So I just use brew update to update all the softwares on my Macbook, but today when I tried to use Latex, I find that I still have toupdate it manually. Does that mean homebrew can only update files ...
1
vote
1
answer
53
views
homebrew password after removal of mac users password
I installed homebrew while I had a password assigned to my mac user. Everytime I installed a cask which needed password I was able to use my mac users password. So far so good.
Problem: I recently ...
1
vote
0
answers
33
views
CURL/Mac: error while downloading. Protocol "https" not supported (error 1)
I experience issues with both Composer and Wordpress (npm doesn't seem to be affected 🤔)
The error message from Composer is exactly https://repo.packagist.org could not be fully loaded (curl error 1 ...
2
votes
2
answers
181
views
Error with "brew install openblas" in macOS
I am trying to install openblas on a macOS HighSierra 10.13.6 with the following command
brew install openblas
Unfortunately I get this error...
brew install openblas
Updating Homebrew...
==> Auto-...
0
votes
1
answer
424
views
Configuring Apache for PHP
On my MacBook Pro, I used HomeBrew to install a new version of Apache and PHP. The problem I am dealing with right now is that I've got a problem in my apache configuration file such that php files ...
1
vote
1
answer
38
views
How to choose the Homebrew installation directory for LibreOffice?
I do not want to install LibreOffice in /Applications but Homebrew insists on trying it, asking for permission via sudo.
How can I prevent brew from installing it?
(As background, I usually build my s/...
0
votes
0
answers
22
views
Homebrew cannot uninstall installed packages?
My local filesystem shows:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/macwinzipper.rb
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/winzip.rb
Yet, homebrew says I ...
0
votes
1
answer
62
views
Brew Installing Wrong Wheels On Mac
When I install numpy with pip I see it installing numpy-1.21.0-cp39-cp39-macosx_10_9_x86_64.whl however I'm not using macosx_10_9 -- I'm using Mac OS 11.4.
Why isn't it installing instead numpy-1.21.0-...
0
votes
0
answers
61
views
How to create a new bash profile in mac osx high sierra?
I am running High Sierra 10.13.6 off a fresh install. Running ls -a, I can see .bash_history and .bash_sessions, but do not see .bash_profile. Having just installed homebrew, I am following this guide ...
0
votes
0
answers
30
views
configure cannot find brews installed packages
I am trying to build the Software Snd from CCRMA on macOS 11.4.
I had to install some packages via home-brew as there were wavpack, timidity, and others. ./configure does find fftw and gsl that I ...
0
votes
1
answer
27
views
Command line permissions in Mac
I’ve tried to install yarn using Homebrew and because the brew don’t have the permission to write I’ve written this command line in Terminal $sudo chown -R $(whoami) *
After this command my Mac is ...
1
vote
2
answers
77
views
Homebrew pip issue 5599 on Intel macOS Big Sur
(I'm new here, so please be gentle)
When using topgrade in homebrew (I installed topgrade after installing homebrew with brew install topgrade) on macOS big sur on a 2020 Intel 13" default upper ...
2
votes
2
answers
5k
views
brew install fails downloading from ghcr.io - macOS Mojave
On one of the 2 macOS Mojave systems I have, several brew install commands fail downloading files from the https://ghcr.io site, but it works fine on the other computer (same OS version: 10.14.6).
For ...
0
votes
1
answer
710
views
Remove Mysql from homebrew Mac
When executing brew search mysql brew finds something but when I try to uninstall it it say it can't find it.
macbookaaa:sbin aaaa$ brew search mysql
==> Formulae
automysqlbackup ...
0
votes
2
answers
2k
views
wget cannot verify GitHub.com's certificate
I am using macOS 10.15.7. I have installed wget via homebrew. My goal is to install orpie via opam. opam uses wget. My installation of wget cannot find the certificates it needs. How can I resolve ...
1
vote
1
answer
862
views
Homebrew cannot download from homebrew.bintray.com, gives a curl error: "no alternative certificate subject name matches target host name"
When I try to install or upgrade any package hosted on homebrew.bintray.com, I get the following error:
curl: (60) SSL: no alternative certificate subject name matches target host name 'homebrew....
0
votes
0
answers
150
views
Changing the installation path of brew script in CentOS 7
I am trying to install brew using the following script:
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
However, I get the following error:
...
-2
votes
1
answer
461
views
Getting an error when attempting to install Homebrew on CentOS 7: “Error: Unknown command: shellenv”
I am trying to install brew on CentOS 7 and get the following error:
[jalal@goku ~]$ git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew
Cloning into '/home/grad3/jalal/.linuxbrew/...
0
votes
0
answers
271
views
Is it safe to change ownership of several sub directories in /usr/local on MacOS Big Sur?
When trying to install some support for FORTRAN on my macBook running Big Sur and using brew I get an error that some /usr/local folders are not writeable and am asked to use chown to change ownership ...
1
vote
0
answers
80
views
Replace fish installed with installer with fish installed using brew
I first installed fish on macos using the installer. I later installed fish using brew but my system continues to use the version installed using the installer. How do I replace the existing version ...
2
votes
2
answers
1k
views
Unable to curl anything on my Mac curl: (7) Couldn't connect to server
All of the sudden I can't curl or run brew at all. I don't have any proxies enabled and I'm just running my personal mac on my home network. How can I debug/fix this issue?
scutil -r google.com ...
1
vote
1
answer
552
views
Broken `/Library/Ruby/Site/2.6.0` on MacOS, cannot run `brew`
To start, I had these following annoying output when opening my terminal:
Ignoring bigdecimal-2.0.0 because its extensions are not built. Try: gem pristine bigdecimal --version 2.0.0
Ignoring ...
2
votes
1
answer
1k
views
Operation Not Permitted on /usr/local/, Homebrew cannot be installed
Looking for some guidance on how to fix my permissions on my /usr/bin directory. I actually recently had a data recovery on my machine where I had to have my whole home directory copied to a new mac.
...
0
votes
1
answer
919
views
Solve Error without installing PostgreSQL on Mac? dyld: Library not loaded: libpq.5.dylib
I am using a Mac OS X software called TablePlus which throws an error when trying to perform a backup of a PostgreSQL 13 database that is running inside a Docker container.
dyld: Library not loaded: ...
4
votes
1
answer
8k
views
"brew" command not found after installing Homebrew on an Arm/M1 Mac
I have installed Homebrew using:
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Why is the brew command not found?
(base) rags@Rageshs-Mac-...
0
votes
1
answer
350
views
Brew microsoft-office fail for High Sierra
I am trying to install Microsoft Office in a Late-2009 iMac version 10.13.6. From the official store or the Appstore, the downloaded .pkg does not work because it requires minimum version 10.14. I ...
2
votes
1
answer
2k
views
home-brew on macOS big sur
I installed home-brew via
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
and whenever I type in brew I get:
Warning: /opt/homebrew/bin is ...
0
votes
0
answers
166
views
Linux HomeBrew root user issues
I am new at Linux and I installed the HomeBrew to intall git, docker and so on... What I notice that has hapenned to me is... I install HomeBrew and some of what I mentioned before, the deal is that ...
1
vote
1
answer
3k
views
OpenSSL installed with Homebrew on macOS 10.15.6 appears to be stuck at version @1.1, getting the latest instead?
I'm using macOS 10.15.6 Catalina and Homebrew (latest version, 2.5.1). When I do brew list I notice there is openssl@1.1 in my list of installed formulae.
I can't recall if I ever installed openssl ...
1
vote
1
answer
32
views
Linuxbrew from scratch without /usr/bin only with userhome/usr/bin
I'm trying to install linuxbrew for normal users. I have minimally installed Oracle Linux 7.7 and put in a user test without root rights. I have gradually compiled and installed all packages that ...
1
vote
0
answers
25
views
I can't get SSL certificates in Python
I'm learning web scraping with Python on Mac OS.
When I run the script it says I need SSL certification.
I've researched and found NO way to solve this.
I've tried somethings which didn't work.
I ...