Questions tagged [homebrew]

`homebrew` is a package manager for Mac OS X, in the spirit of Linux's `apt` or `yum`.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 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
1answer
386 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
2answers
33 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
1answer
172 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
0answers
20 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
1answer
39 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
0answers
52 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
0answers
16 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 ...
0
votes
2answers
76 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 ...
0
votes
1answer
110 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 ...
1
vote
1answer
135 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
0answers
16 views

Homebrew package versions broken due to erroneous permissions

I recently was setting up macOS with Homebrew for a multiuser setup. I created a group called brew and assigned write privileges for the users of that group to $(brew --prefix)/*. Unfortunately I also ...
0
votes
1answer
63 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: ...
3
votes
1answer
3k 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
1answer
156 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 ...
1
vote
1answer
1k 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
0answers
12 views

How Can I Retain Config Files and Settings When Reinstalling Homebrew?

Long story short, I accidentally ran a sudo rm -rf on my /System/Volumes/Data folder by mistake, while trying to remove the /System/Volumes/Data/data folder. I was given mostly "Permission Denied&...
0
votes
0answers
20 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 ...
0
votes
0answers
25 views

How can I fix running terminal (command not found). I can not run with any IDE?

When I run ls command, terminal works normally, but it shows "command not found" for these commands ffpmeg, brewhome, code blocks, and more. eclipse says "not found path".
0
votes
1answer
786 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 ...
0
votes
0answers
77 views

Completely remove/uninstall openSSH from Mac

I have installed openSSH on my Mac and unfortunately, it's intruding in my previous tasks. I would like to completely remove it but it still exists. I have searched for openssh keyword and deleted all ...
0
votes
1answer
14 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 ...
0
votes
0answers
115 views

Installing Xcode, Xcode CLT, Homebrew, and R via terminal

So I'm a newbie when it comes to programming but I want to learn. I want to install R on my Macbook Pro I had Xcode, homebrew, and R/Rstudio installed on my MacBook Pro a few years ago but deleted ...
1
vote
0answers
23 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 ...
0
votes
0answers
73 views

homebrew messed up php

I'm working on macOS version 10.12, and can't upgrade for the time being. About six months ago, I installed php 7.4.1 via homebrew, and it has worked fine. Today, I tried to upgrade some other package ...
2
votes
1answer
1k views

cmath compilation errors with clang-10 on Mac OS Catalina

I recently installed llvm via brew with brew install llvm, in order to use clang with OpenMP, on Mac OS 10.15.4 Catalina $ which clang /usr/local/opt/llvm/bin/clang $ clang -v clang version 10.0.0 ...
0
votes
0answers
380 views

Brew LLVM: library not found for -lomp

On my Mac OS 10.15.4 Catalina, I installed LLVM via brew using brew install llvm. My clang is located here: /usr/local/opt/llvm/bin/clang and the version is: $ /usr/local/opt/llvm/bin/clang -v ...
0
votes
0answers
380 views

Issues installing homebrew on macOS Catalina

I had installed Homebrew some months ago but right now whenever I type the brew command in the terminal it says command not found. I tried reinstalling several times and I get the same error: Warning: ...
0
votes
0answers
190 views

Homewbrew Debugging request: Failed to connect to raw.githubusercontent.com port 443: Connection refused

I am trying to install homebrew on my Macbook pro but it failed, even though I copy/paste the exact same command line insturcted on homewbrew home page: /bin/bash -c "$(curl -fsSL https://raw....
0
votes
1answer
161 views

ffmpeg command line error in MacOS Mojave: dyld: BIND_OPCODE_DO_BIND

I have a problem with the command line ffmpeg throwing an error whenever it is run. I'm a long time video / mac / occasional linux user so I'm at home in CLI, but have very definite limits to my ...
1
vote
1answer
459 views

Cannot log in using Pure-FTPd

I have installed Pure-FTPd on my MacOS Catalina using brew and started it using brew services start pure-ftpd. The configuration in /usr/local/etc/pure-ftpd.conf sets NoAnonymous to be no and MinUID ...
1
vote
1answer
619 views

Why apt needs sudo for almost every package install/update but Homebrew doesn't?

Why Homebrew doesn't even allow installing packages using sudo brew install foo, but almost every single apt package or tutorial tells to install with sudo apt-get install bar? What's so drastically ...
1
vote
1answer
102 views

Understanding “whereis apachectl” output on my Mac

I installed apache using Homebrew on my Mac giving resulting in currently 2 instances of apache on my Mac. I have disabled the auto loading of the Mac installed instance of Apache. When I run ...
2
votes
2answers
168 views

Install GNU “script” command on Mac

I have a Mac. I would like to use the GNU script that comes with CentOS as it is more full-featured than the BSD Mac version. Specifically, man script on a CentOS box gives: -c, --command command ...
1
vote
1answer
38 views

How to programmatically get the list of directories that brew installs to?

I am writing a script that automates setting up my mac dev environment. I want to place the directories that brew installs first on my path, so that the default system commands are overridden by brew ...
0
votes
0answers
57 views

Homebrew trying to load removed packagaes on login

Some time ago, I uninstalled PHP from my machine as it was no longer needed. I did so with brew uninstall php@5.6 and brew uninstall php. However, after a few brew updates, I started getting an error ...
29
votes
2answers
18k views

How to clean unused homebrew dependencies

How to remove all homebrew packages wich are not used by any other package? Some packages are installed as dependency of other package. When packages are removed, dependent packages stay as leftovers. ...
0
votes
2answers
764 views

How to tell which Apache is running

I just updated to macOS Catalina (10.15.1). I got me own Apache installed by HomeBrew. This Apache seems not to accept my configuration. I somehow think that Apple reenabled its default Apache and I ...
2
votes
0answers
51 views

How do I run Python 3.7.5 (installed with Homebrew) on MacBook that already has Python 3.7.3 (installed with Catalina)

Thanks in advance for any help you can provide. I've just successfully installed Python3 on my MacBook using Homebrew. This is so I can access the latest version (3.7.5). However I've also recently ...
1
vote
1answer
802 views

JRELoadError when trying to open the jEdit text editor in MAC OS

I am getting JRELoadError when trying to open the jEdit application But, I am able to open the application using the command from terminal: java -jar /Applications/jEdit.app/Contents/java/jedit.jar ...
0
votes
1answer
1k views

macOS: brew upgrade doesn't upgrade outdated software

I am used to Debian. But now I have to use a MacBook with macOS 10.14.6 (fresh install) from time to time. MacOS has no apt-get. So I downloaded and installed brew. I installed software like: > ...
1
vote
1answer
195 views

Building inkscape beta with homebrew

I was wondering if I could use homebrew to get inkscape's beta. I know I can use it to get their current version with brew cask install inkscape but is there any way to get their beta? Thanks in ...
0
votes
1answer
489 views

How do I fix Hydra not working in macOS?

I have already installed hydra with brew install hydra . But when I run $ hydra in my terminal this error shows up. dyld: Library not loaded: /usr/local/opt/libgcrypt/lib/libgcrypt.20.dylib ...
1
vote
0answers
101 views

Why Won't Deleting vimrc Reset Vim Settings? (Mac)

I reinstalled Macvim using Homebrew, deleted and reinstalled both the vim folder at /usr/shared/vim and vimrc. When I open text files with vim the settings are the same and any changes I make to the ...
0
votes
1answer
218 views

Git installed via Homebrew has suddenly stopped working

I have already installed git some time ago, now I want to update it, but I get error Error: git not installed. How to fix it? git --version git version 2.21.0 (Apple Git-122) type -a git git is /usr/...
0
votes
1answer
659 views

Do I need to delete the pre-install of git on mac OS before installing git via homebrew?

I don't want to have two versions of git on my machine that might interfere with one another. I heard the best way to install git is via homebrew. However, my mac OS comes with git pre-installed (...
0
votes
1answer
428 views

Mac OS X: brew reports python 3.7.3, python3 --version reports python 3.6.3. How to fix?

I'm running Mac OS X High Sierra 10.13.6. When I do a "brew list python" from the terminal, it shows that I have python 3.7.3 installed: user@laptop:~$ brew list python /usr/local/Cellar/python/3.7....
1
vote
0answers
478 views

html.entities not found although using Python3

I wanted to get back into using Python regularly, for webscraping in particular. I installed pipenv with Homebrew and began installing requests and BeautifulSoup, but when I try to import ...
2
votes
1answer
10k views

HomeBrew error message OSX

I have installed the latest Brew on OSX. On running update or installing new formulas I get the following error: Error: The following directories are not writable by your user: /usr/local/share/man/...
0
votes
1answer
657 views

Troubles when trying to install Homebrew

When I try to install Homebrew on my mac, I get this error message: ==> Downloading and installing Homebrew... error: could not lock config file /usr/local/Homebrew/.git/config: Permission denied ...

1
2 3 4 5
10