Questions tagged [homebrew]
`homebrew` is a package manager for Mac OS X, in the spirit of Linux's `apt` or `yum`.
505
questions
0
votes
0
answers
14
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....
0
votes
1
answer
351
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
30
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
133
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
249
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:
~ %...
0
votes
1
answer
663
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
213
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
170
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 ...
1
vote
0
answers
290
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
84
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
161
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
1k
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
488
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
231
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
648
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
35
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
993
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
350
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
3k
views
Homebrew: Httpd 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
629
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
474
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
272
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
995
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 ...
4
votes
1
answer
4k
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
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
202
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
22k
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
54
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
67
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
74
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
743
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
942
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 ...
1
vote
1
answer
104
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
2k
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
2
answers
1k
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
237
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 ...
1
vote
1
answer
988
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 ...
1
vote
1
answer
509
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
121
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
699
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-...