Questions tagged [homebrew]
`homebrew` is a package manager for Mac OS X, in the spirit of Linux's `apt` or `yum`.
519
questions
1
vote
0
answers
23
views
brew stopped working on mMacBook Pro - kernel_require.rb:54:in `require': cannot load such file -- mach (LoadError)
Not sure when this happened, but I went to update for a project on my primary MacBook Pro (M1 Max, 64gb RAM)and I get the following error with any brew command, including just typed brew:
aarontaylor@...
0
votes
0
answers
46
views
Can't Install Iterm2 to Homebrew Using Standard User Account
Over the past year I stopped logging into my mac using an admin account and do all my day-to-day tasks with a standard user account. I use homebrew, and initially installed it with my admin account. ...
0
votes
0
answers
58
views
When I try to install any package with Homebrew, I get these permission denied errors and it can't install anything
When I try to install any package with Homebrew, I get these errors and it can't install anything.
Error: Permission denied @apply2files - /opt/homebrew/share/Library/Caches/Yarn/v6/npm-tabler-1.0.0-...
1
vote
0
answers
78
views
How can I fix the frozen terminal during installation?
I'm trying to install Gforth from this page
I tried both installing from GitHub and from tarball.
In both cases just before the last step, e.g. after entering ./configure on the tarball install, after ...
0
votes
1
answer
699
views
Homebrew httpd showing Error 256 on Sonoma due to Permission denied AH00091 when opening error_log
I am creating this question because this problem caused me 2 weeks of headache, and I found many other users online who experienced the same issue and were unable to find a solution.
Computer
M1 ...
0
votes
0
answers
49
views
How can I install old version of Mosquitto on my old Mac?
I should install mosquitto 1.5.11 on my macbook running macOS Catalina (10.15.7).
The recommended approach with brew doesn't work - brew doesn't support old versions.
I tried to download old .rb file ...
1
vote
1
answer
267
views
Homebrew and Python 2.7, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11 and 3.12: How to clean them all?
After the latest Homebrew update broke all Python related stuff (ver >= 3.12), I decided to clean up Homebrew completely, by removing all brew related stuff, and also cleaning up the Python mess ...
0
votes
0
answers
39
views
Homebrew, NPM and local project directories
I understand that using Homebrew is useful as some packages are necessary to be installed globally, but I don't understand the point in using Homebrew when you still have to install NPM at the local ...
0
votes
0
answers
74
views
MariaDB - database folder changed?
I have MariaDB installed via Homebrew on MacOS.
I have local databases in /usr/local/var/mysql but a day or two ago, my local MariaDB now points to /opt/homebrew/var/mysql and does not find any of my ...
0
votes
1
answer
259
views
brew install fails with "no space left on device" on RHEL 9, how do I fix it?
I'm not so familiar with how to solve issues like this, anyone knows what might needs to be done to fix this?
[randomusr@jumphost ~]$ brew install hello
==> Downloading https://ghcr.io/v2/homebrew/...
1
vote
1
answer
210
views
What does it mean to "run something in a shell profile"
I'm installing Homebrew and I get a message that says:
Next steps:
⁃ To add Homebrew to your PATH run brew shellenv in your shell profile (e.g. ~/.bash_profile or ~/.zprofile)"
What does it ...
0
votes
1
answer
35
views
Xcode repetitive installations
Xcode releases usually follow macOS releases. Until recently macOS Sonoma updated and I have to reinstall all my Xcode packages or simulators again. In addition to linking brew over again to recognize ...
1
vote
1
answer
297
views
How to keep Homebrew apps clean and current - How to find installed apps no longer used
How do I know if I can or should clean up anything? I have a ton of installed apps, and a brew update takes forever.
I'd like to at least find which apps I no longer use.
I did brew autoremove, one ...
0
votes
1
answer
65
views
Homebrew - different packages on different computers, same MacOS
I'm trying to install far2l on two different computers, but the result is different. Screenshot from the first computer:
Screenshot from the second:
In the first case it installs from yurikoles/...
0
votes
0
answers
210
views
How to remove left-over files from an Homebrew installation
My current homebrew has its files installed in /opt/homebrew which is correct. However, I have several hundred leftover homebrew files in /usr/local/Cellar which are still symlinked to in /usr/local/...
0
votes
1
answer
132
views
How to run Homebrew service with flags?
I'm running on macOS Sonoma and trying to run this service called AutoRaise. Someone made a Homebrew package for it here. I installed it using Homebrew with my desired flag, brew install autoraise --...
0
votes
0
answers
395
views
Cannot connect to a fresh brew install of mysql from a client on the same host
I just did a fresh install of mysql on a mac using brew.
brew install mysql
We've installed your MySQL database without a root password. To secure it run:
mysql_secure_installation
MySQL is configured ...
0
votes
0
answers
27
views
Install a shell script with homebrew -- to install darktable (1_install_hb_dependencies.sh)
I want to build darktable from source w/ homebrew, like so: doc on Github. I have installed homebrew (step 0). Now I'm stuck at the first step where I need to install ''required homebrew packages'', i....
4
votes
1
answer
4k
views
GPG stops doing anything on Mac
Twice now GPG has completely stopped working for me after some time (days or weeks) of not using it. When trying to use it, no errors show up and it simply sits and does nothing until i use ctrl-c to ...
0
votes
0
answers
125
views
Very weird linuxbrew installation issue
I am installing linuxbrew in a linux machine. I typed
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
in the console. However it says
==> /...
0
votes
1
answer
263
views
bash scripts not loading any of ~/.bash*
Context:
M1 MacBook
macOS Ventura 13.5.2
zsh as default shell
GNU coreutils installed by homebrew
/opt/homebrew/opt/coreutils/libexec/gnubin added to path in ~/.bashrc, ~/.bash_profile, and ~/....
1
vote
2
answers
1k
views
How to write a Terminal command to unrar a file in specific location?
On my Mac, I want to decompress a .rar in Downloads. I have hombrew and an unrar script already installed from GitHub; unfortunately, when I prompt the Terminal to unrar the file, I constantly get:
~ %...
1
vote
1
answer
1k
views
Error: qemu exited unexpectedly with Could not open edk2-aarch64-code : No such file or directory
After brew upgrade podman machine no longer works.
podman machine start
Starting machine "podman-machine-default"
Waiting for VM ...
Error: qemu exited unexpectedly with exit code 1, stderr: ...
0
votes
1
answer
835
views
How to publish binary executables as homebrew taps for both MacOS and Linux?
I have a CLI tool, written in Rust, which I have successfully compiled and uploaded as my own Homebrew "tap" on GitHub at https://github.com/RandomStudio/homebrew-tether
Installation is as ...
2
votes
1
answer
421
views
nano : where are "morespace" and "smooth" settings gone
In the transition from Cygwin+Windows to MacOS Monterey, I also tried to port my configuration of the nano editor. On the Mac, I had to use Homebrew (brew install nano) to get a decent nano, because ...
3
votes
0
answers
737
views
Homebrew cask install without multiple password prompts
When installing certain casks, homebrew asks for the password multiple times. For example with zoom, it prompts for password 11 times before it installs (snippet attached)
How can I get homebrew to ...
1
vote
0
answers
187
views
How does dependency uninstalls occur while uninstalling a software in OS?
I installed mono and using homebrew and its dependencies is installed with it as a prerequisite. After uninstalling the mono again I realized it does not uninstall dependencies it installed initially ...
2
votes
1
answer
181
views
What is active-trader-pro cask in Homebrew?
Could not find any useful information about it. Also https://formulae.brew.sh/ does not have any cask named as it is.
❯ brew install docker
Running `brew update --auto-update`...
==> Auto-updated ...
1
vote
2
answers
3k
views
How to untap all unused brew taps?
brew bundle dump outputs a bunch of taps for apps I installed, then uninstalled.
I could just try untapping every tap, and brew will refuse to untap anything in use. Like this without echo:
brew ...
0
votes
1
answer
860
views
Java folder missing from openCV installation with homebrew
On my old MacBook Pro mid 2012 I was able to easily install openCV 4.5.2 with homebrew. After installation I had a java folder with a dylib file and a jar.
Now I bought a MacBook Pro M2 2022, ...
0
votes
0
answers
418
views
What can I do to fix ImageMagick in Catalina?
I tried to check installations of ImageMagick then brew. In a classic case of knowing just enough to cause trouble the diagnoses are more complicated than I know how to treat. Hoping for a second ...
1
vote
2
answers
1k
views
unable to uninstall youtube-dl using brew uninstall command?`
brew uninstall youtube-dl
Warning: Unexpected method 'arch' called on Cask visual-studio-code.
Follow the instructions here: https://github.com/Homebrew/homebrew-cask#reporting-bugs Error: Cask '...
1
vote
1
answer
3k
views
Is it that bad to use Homebrew on an outdated macOS?
I had problems on macOS Monterey and had to downgrade back to Catalina due to performance issues (found out it was just my MBP 2016 needing some hardware cleaning, so I'm considering going back to ...
0
votes
0
answers
1k
views
How do I eliminate errors? - zprofile no such file or directory - macOS
I met the errors with .zprofile. I see this one every time I open the macOS terminal.
Terminal
/Users/leo/.zprofile:6: no such file or directory: /opt/homebrew/bin/brew
/Users/leo/.zprofile:7: no such ...
0
votes
0
answers
71
views
/bin/ls -al --full-time does not recognize full-time in MacOS
I have 128,000 image file I recovered from a hard-drive failure. The software I used treated duplicates and deleted files the same way. ie it restored everything. As a result I have up to five ...
1
vote
1
answer
2k
views
No available formula with the name "testdisk" when using Homebrew in macOS
when I try to install Testdisk, I get the error message -"No available formula with the name "testdisk".
I have installed brew satisfying all the criteria:
64 Bit CPU
macOS Monterey ...
1
vote
0
answers
581
views
Homebrew installation of ffmpeg is not detecting librsvg-2.0
I'm attempting to use homebrew to build and install ffmpeg (homebrew currently uses 5.1.2) with SVG support on macOS (12.5.1, M1 Pro) . This requires the use of librsvg (homebrew currently uses 2.55.1)...
3
votes
1
answer
3k
views
Error: Could not cleanup old kegs! Fix your permissions on:
I'm trying to run brew cleanup, yet running into following error:
Error: Could not cleanup old kegs! Fix your permissions on:
% brew cleanup
Removing: /usr/local/Cellar/ansible/6.6.0... (28,050 ...
0
votes
0
answers
5k
views
Homebrew installed HTTPD somehow cannot be started
After upgrading my macOS to Monterey, I am unable to start apache. When I run the sudo brew services start httpd command, httpd looks like started:
Warning: Taking root:admin ownership of some httpd ...
0
votes
0
answers
1k
views
Update or disable built-in library sqlite3 on MacOS?
On MacOS Monterey I installed subversion with brew install svn.
When I do an svn checkout in a terminal I get:
svn: E200029: Couldn't perform atomic initialization
svn: E200030: SQLite compiled for 3....
0
votes
0
answers
640
views
`Please try installing a newer version of bash under /usr/local/bin/bash` message on mac
I am getting this error message, even though I have the updated bash running:
You are running on a Mac and your bash version is too old (< 4).
Please try installing a newer version of bash under /...
1
vote
0
answers
346
views
Opening a terminal on mac gives error messages
I have recently started working with the terminal in an attempt to install homebrew. After installing homebrew, I've encountered an issue where every time I open the terminal, it gives me a long list ...
1
vote
0
answers
2k
views
Terminal commands (which, dirname, curl, and more) are all being killed by Zsh and don’t work in macOS on an M1-based Mac
I've recently-ish updated from an Intel-based Mac to an M1-based Mac and I was also switching off a beta 12.x OS to regular 12.x macOS.
I have no idea what is going on but it seems like my shell ...
2
votes
1
answer
6k
views
Why can't I start MariaDB as a service on macOS with brew?
I am trying to start mariaDB on macOS with brew services.
I run brew services stop --all
jenkins-lts none
mariadb none
memcached none
mysql none
[email protected] ...
2
votes
1
answer
1k
views
brew uninstall does not work cause of no space left on device
I have low space left on my device and it was time to made some cleanup...
I removed a lot of things, trash, uninstall unused apps, caches, ... BUT
I installed "League of legends" for Mac a ...
0
votes
1
answer
1k
views
zsh: command not found: brew while it exists
I remember that I used brew some time ago. But now when I try to run it I get
➜ ~ brew
zsh: command not found: brew
but there is an alias /usr/local/bin/brew which I can run.
Also it's ...
3
votes
1
answer
7k
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 ...
2
votes
1
answer
2k
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 ...
2
votes
1
answer
3k
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
...
2
votes
1
answer
3k
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 ...