Questions tagged [homebrew]
`homebrew` is a package manager for Mac OS X, in the spirit of Linux's `apt` or `yum`.
513
questions
0
votes
1
answer
30
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
60
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
22
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
63
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
40
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
86
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
65
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
157
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
19
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....
3
votes
1
answer
2k
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
50
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
180
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 ~/....
0
votes
2
answers
651
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
409
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 ...
0
votes
1
answer
272
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 ...
2
votes
0
answers
484
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
112
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
174
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 ...
0
votes
2
answers
2k
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
643
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
319
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
791
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
2k
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
46
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
1k
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
428
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
2k
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
4k
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
964
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
533
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
293
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
1k
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
2k
views
Can't start mariadb service with brew in mac
I am trying to start mariaDB in mac 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
5k
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 ...
1
vote
1
answer
1k
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
2k
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
2k
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
207
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 [email protected]
and I got
==> Downloading https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.37.tar
...
1
vote
3
answers
24k
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 ...
1
vote
0
answers
55
views
How to install [email protected] with brew
I am trying to install [email protected] 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
69
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
90
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
829
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
1k
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 ...
9
votes
3
answers
4k
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?
2
votes
0
answers
1k
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 ...