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
3 votes
1 answer
8k views

Git not working on M1 chip after migration [duplicate]

I bought a new MacBook Air with the new M1 chip and I migrated my data from my previous intel mac to this. Now when I try to run git I get the following error: xcrun: error: unable to load libxcrun (...
Sami's user avatar
  • 131
0 votes
0 answers
568 views

Can PHPMailer send emails without configuring MacOS mail client on Monterey?

On a brand new Macbook running Monterey (M1), as PHP was removed by Apple on OS 12, I have removed all "AMP" preinstalled by Apple and installed HomeBrew "AMP" (with PHP 7.4), ...
Riccardo's user avatar
  • 283
0 votes
0 answers
733 views

Brew MySQL mapped as MariaDB on Monterey? Issues!

Hello I have installed Homebrew versions of Apache, PHP and MYSQL on Monterey, however I am experiencing some issues when restoring a database which was created on another "pure" MySQL ...
Riccardo's user avatar
  • 283
1 vote
0 answers
1k views

Apache stops working after installing Homebrew PHP (which is missing on Monterey)

Hello I have followed these instructions to configure builtin Apache web server on Macos 12.1, although I have realised that PHP was removed by Apple on Monterey. As such, I have installed homebrew ...
Riccardo's user avatar
  • 283
16 votes
1 answer
4k views

Homebrew PATH set in .zshenv is overridden

Following this answer about best practices for configuring Zsh, I wanted to move my Homebrew PATH initialization to the ~/.zshenv file: eval "$(/opt/homebrew/bin/brew shellenv)" This ...
rgov's user avatar
  • 589
10 votes
1 answer
7k views

Homebrew casks are not updating, how can I fix this?

System Software Overview: System Version: macOS 12.0.1 (21A559) Kernel Version: Darwin 21.1.0 I am a newbie on MacOS. Most of the time I use Linux and tend to keep my software fresh and ...
GHopper's user avatar
  • 212
8 votes
2 answers
22k views

What is xcrun and why would updating to macOS Mojave cause it to go missing? [duplicate]

I just upgraded my (Intel based) MacBookPro to macOS Mojave and now when typing git pull in a (Bash) shell, I now get the message: xcrun: error invalid active developer path (/Library/Developer/...
intel_chris's user avatar
3 votes
1 answer
690 views

sqlcmd cannot find odbc 17 on MacOS Big Sur

I installed MSSQL per directions here. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" brew tap microsoft/mssql-release https://github.com/...
fbonds66's user avatar
  • 162
0 votes
1 answer
4k views

imagick.so.so after brew update + php.ini "imagick.so" instead of imagick.so

I did a brew upgrade I have php 8.1 on osx 12.x Imagick is not working PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/pecl/20210902/imagick.so (...
AppleBee's user avatar
5 votes
1 answer
1k views

Catalina and pyenv install python versions fine, but anything needing ssl fails

I seek to use pyenv instead of manually installing an official python release. My goal is to run the included script titled “Install Certificates.command”. My assessment of the situation is pyenv is ...
element6's user avatar
0 votes
0 answers
98 views

ssh-agent running in x86 mode, not Apple Silicon, on M1 MacBook Pro

On my M1 MacBook, I'm trying to migrate as many apps and CLI utilities as I can from running the x86-based binaries to running the universal or ARM-based binaries for Apple Silicon. I noticed that ssh-...
tdc's user avatar
  • 293
0 votes
1 answer
576 views

How to install thrift 0.15 on big sur?

How can I install thrift 0.15.0 on Mac OS Big Sur? I followed the instructions as suggested in this answer but getting the below error dmanna-a02:main dmanna$ brew untap $USER/local-tap --force Error: ...
tuk's user avatar
  • 471
0 votes
1 answer
1k views

Installing Homebrew on Mac

I am recently trying to install homebrew as an easier way for me to update python (3.8.8) to the newest version (3.10).However every time I try to install homebrew, I get curl: (60) SSL certificate ...
33_Dreams's user avatar
0 votes
2 answers
453 views

Homebrew and qemu security

I want to install qemu on a Mac OS computer. I need to install this software with homebrew. You will think I am paranoid but I do not trust third party software, including homebrew, qemu and all the ...
Bob5421's user avatar
  • 119
5 votes
3 answers
8k views

upgrade bash on M1 but cannot change to the new bash

I installed new bash via brew brew install bash which bash # /opt/homebrew/bin/bash chsh -s /opt/homebrew/bin/bash I have added /opt/homebrew/bin/bash to /etc/shells $ bash --version GNU bash, ...
wsdzbm's user avatar
  • 213
1 vote
1 answer
11k views

Changing node version from node@16 to node@14 on Mac OS

I‘m using brew. As I need an older version of node I installed node@14 (brew install node@14) unlinked the recent version (brew unlink node) linked the old version that I want (brew link node@14) At ...
Mayssa Jarraya's user avatar
2 votes
2 answers
2k views

Monterey: SSH with hardware key only works once

I'm having an issue using my hardware security key with SSH on Monterey. The Apple-included OpenSSH build seems not to support hardware keys at all, as I get an error message saying Cannot load FIDO ...
tiltowait's user avatar
4 votes
2 answers
2k views

Migrate home-brew back from M1 to Intel

I needed to migrate back from a M1 MacBook to an Intel one again. Yes I do not like it either but that is my challenge. I used build in the Migration Assistant from Apple to copy over all relevant ...
soelu's user avatar
  • 490
2 votes
1 answer
2k views

How to disable a broken brew service?

For the moc music player I have installed jack and started it as a service with: brew services start jack This causes jack to be startet at login. It works for moc, but unfortunately it seems that ...
user1785730's user avatar
0 votes
1 answer
1k views

How do I use homebrew to link MacVim and Vim at the same time?

I have used homebrew to install both Vim and MacVim on my mac. Right now, MacVim is the one that is linked. When I run mvim --version, I get the most recent and installed version that appears. When I ...
coopikoop's user avatar
0 votes
0 answers
91 views

MacOSX11 sdk building syntax error

I'm trying to build GIMP from source on MacOSX and I'm getting some syntax erros at some qos.h files: GISCAN Gimp-3.0.gir /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/...
Cleber S's user avatar
0 votes
0 answers
132 views

Where did GNU sharutils go?

I have GNU sharutils installed on my system as /usr/local/bin/shar. It's been on my filesystem since 2016, so it isn't something I added recently. However, even after grepping the Homebrew Git ...
CodeGnome's user avatar
  • 393
1 vote
0 answers
207 views

Make brew use an externally installed package as if it was brew-installed

I’m still using brew on macOS 10.13.6 (High Sierra). I’m aware it has been no longer supported for some time now. I need rust and LLVM for some package support. How can I make this work with brew as ...
bento's user avatar
  • 141
5 votes
2 answers
12k views

'You should find replacements for the following formulae: ilmbase' and 'Refusing to uninstall ilmbase because it is required by vcs'

Brew doctor shows me: Warning: Some installed formulae are deprecated or disabled. You should find replacements for the following formulae: ilmbase Because I don't know the package ilmbase and didn'...
Sybil's user avatar
  • 3,937
6 votes
2 answers
6k views

Warning: Calling bottle :unneeded is deprecated! There is no replacement

I started getting warnings like these today on running brew upgrade or brew cleanup: Warning: Calling bottle :unneeded is deprecated! There is no replacement. Please report this issue to the ...
Eugene Yarmash's user avatar
11 votes
3 answers
14k views

Is the homebrew warning "We (and Apple) do not provide support for this old version." safe to ignore?

Today I ran brew upgrade on my Mojave (10.14.6) setup and was presented the following warning: Warning: You are using macOS 10.14. We (and Apple) do not provide support for this old version. You will ...
ddkk's user avatar
  • 213
1 vote
1 answer
2k views

Which of Homebrew or mas-cli to choose when a package is available via both?

I'm using the opportunity of a new Mac laptop to get to grips with automating the post-macOS-installation setup process, rather than going through the usual mind-numbing click-fest or crud-inheriting ...
tkp's user avatar
  • 317
24 votes
7 answers
61k views

homebrew. Cant start service. get "Bootstrap failed: 5: Input/output error - Postgres - Mac

I am trying to re-install Postgres via home-brew on Mac. I uninstalled Postgres, updated home-brew and ran the install command for brew install postgres when I run brew services start postgresql I get ...
edwrdcodeu's user avatar
-1 votes
1 answer
680 views

What is the current correct way to install pip on macOS? [closed]

I'm seeing a fair amount of conflicting information on Reddit and Stack Overflow on this topic. I'm a long-time Linux user, just bought my first macOS computer. For python development, I'm seeing that ...
Joseph Morgan's user avatar
0 votes
1 answer
127 views

How to make Finder not limit my file selection at all

I want to select an application installed from Homebrew for dealing with files of a certain type. At first I discovered that the "Open with..." dialog won't even show /opt and other ...
Lucky's user avatar
  • 161
3 votes
1 answer
314 views

When viewing man pages in Terminal, how to get correct man page order priority? `man` shows the correct manpage but Terminal shows an older one

I love using the Terminal's man page viewer. You can right click on anything and open its corresponding man page. Or just run open x-man-page://1/<man page> However, I'm having trouble getting ...
Chris's user avatar
  • 650
32 votes
1 answer
118k views

On Apple M1 with Rosetta, how to open entire Terminal / iTerm in x86_64 architecture? [duplicate]

As a developer, I have experienced major issues with installing languages, libraries and development tools from the command-line as Apple M1 has migrated over to using arm64 instead of x86_64 ...
sonjz's user avatar
  • 849
2 votes
0 answers
1k views

Correct packages installation without using Homebrew

I was reading this old post because I want to download a homebrew package without using brew : How to download a binary from brew without installing brew? but I'm stuck so I try to ask too. I'm on ...
federico D'Armini's user avatar
1 vote
1 answer
275 views

trying to download homebrew mac os 7.5 (lion)

i am trying to download homebrew for coilsnake (a earthbound rom editor) among other things but every time i try an install i get curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 ...
Bilbosere's user avatar
2 votes
0 answers
686 views

Error: Can't update mongodb-community via brew

I seem to have a problem with my MongoDB (mongodb-community), which I installed via brew on my Mac. I always get the following: $ brew update && brew upgrade Already up-to-date. ==> ...
Xenonite's user avatar
  • 283
1 vote
1 answer
323 views

New macOS install "missing commands" but commands already exist in /usr/bin

Mostly just want clarification on why macOS is doing this: On a fresh install I tried to use the strings command in Terminal and a pop up came up. I chose to "Install" and waited - it stuck....
John's user avatar
  • 1,071
1 vote
0 answers
397 views

Mac M1 SQL Server SQLSrv OpenSSL library could not be loaded, make sure OpenSSL 1.0 or 1.1 is installed

I just bought a M1 Mac mini running Big Sur 11.6, I've installed PHP 7.3, msodbcsql17, mssql-tools, sqlsrv and pdo_sqlsrv. But when I try to connect using sqlsrv, the following error happens [...
Jamie B's user avatar
  • 11
0 votes
0 answers
2k views

Problem with homebrew installed to a different location(not to /usr/local)

Being a standard user on Apple Macbook M1, I installed homebrew to (created Developer directory) $HOME/Developer/ using mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/...
ayush7ad6's user avatar
2 votes
1 answer
1k views

Can Homebrew be run on a MacBook too old to run Big Sur?

I am wondering if it is possible to run Homebrew on an older MacBook. I know that the current version of Homebrew only supports Big Sur (if I am reading the Homebrew page correctly). Is it possible to ...
themagicianking's user avatar
0 votes
1 answer
312 views

Permissions on `brew` and `pip3`

Somehow permissions have been altered on brew and/or pip3 and both are getting errors. brew has a lock file but when I remove it with sudo, brew commands say it iw still there. pip3 worked to install ...
WGroleau's user avatar
  • 4,919
0 votes
2 answers
820 views

Is there any valid reason to install Tigerbrew (Homebrew) on a modern Mac OS?

Perhaps you may be thinking that I'm asking why one should install Tigerbrew on their older PowerPC/Intel mac machine running Tiger or Leopard operating systems. But I'm actually wondering if there's ...
I_Don't_Code's user avatar
0 votes
1 answer
6k views

I have installed git from homebrew, and instead of installing it in /usr/local/bin it's in /opt/homebrew/bin/git, how can I move it?

I've changed my $PATH variable to /usr/local/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/bin:/bin:/usr/sbin:/sbin (previously /usr/local/bin ...
roger's user avatar
  • 13
0 votes
1 answer
816 views

Persisting Homebrew's ssh-agent

I've installed OpenSSH from Homebrew, because I need a newer version to support hardware keys (Big Sur comes with 8.1; 8.2+ is needed). However, my system insists on persisting the default ssh-agent ...
tiltowait's user avatar
1 vote
2 answers
2k views

Can not install brew on mac

when i am using /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" or ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/...
Ерванд Агаджанян's user avatar
0 votes
1 answer
123 views

Homebrew is not upgrading all packages

Installed hashcat with brew brew install hashcat it says 6.1.1 version is installed and it's the latest when v6.2.3 stable is already up. How to fix it?
2 votes
1 answer
973 views

How to prevent homebrew from deleting packages automatically?

Almost each time I install something using homebrew, after installing my desired package, it attempts to automatically delete presumably old packages. How can I stop this from occurring? I'm tired ...
gone's user avatar
  • 703
0 votes
0 answers
497 views

Why can't I execute "bundle exec rake secret"? The error “bad interpreter: No such file or directory” occured

My ruby ​​version is 2.7.3, my mysql version is 8.0.23, my mysql2 version is 0.5.3, my rails version is 5.0.7.2, and my Xcode version is 12.5. I use macOS Big Sur(version 11.4) and the text editor &...
Marchan4's user avatar
2 votes
1 answer
2k views

Why is Homebrew running MySQL service as root and how to change it?

I used brew update brew upgrade mysql to bump version from 8.0.23 to 8.0.26 and now MySQL service won't start anymore. I try brew services start mysql and after few seconds the service status goes ...
jva's user avatar
  • 141
0 votes
2 answers
3k views

I am trying to install home brew on my terminal but i also get this error below

it seems to be a problem relating to GitHub. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" curl: (7) Failed to connect to raw....
Thesonter's user avatar
  • 123
1 vote
1 answer
850 views

How to improve badblocks read/write performance in macOS

I'm running a 2016 MacBook Pro with Big Sur and testing a USB 3.0 hard drive with badblocks. A simple test with 1GB pattern takes ~1 min to write (16MB/s). When testing the same drive with a Finder ...
cmcginty's user avatar
  • 686

1
4 5
6
7 8
30