Questions tagged [homebrew]
`homebrew` is a package manager for Mac OS X, in the spirit of Linux's `apt` or `yum`.
162
questions with no upvoted or accepted answers
8
votes
1
answer
2k
views
OSX: gpg command error, dyld: Library not loaded:
After I migrating my MacBook, I found out I miss the command gpg.
And it threw this error when I wanted to install rvm
⋊> ~ gpg 15:...
8
votes
0
answers
1k
views
Change compile flags for Homebrew
We're building a large C++ application on OS X Yosemite 10.10. This application relies on a number of third-party libraries which we install using Homebrew prior to building our application. Our ...
4
votes
0
answers
1k
views
pip3 is not installed with the latest python3 via Homebrew (macOS)
pip3 disappeared after the latest Homebrew python3 update.
user:~$ python3 --version
Python 3.7.3
user:~$ pip3 --version
-bash: pip3: command not found
Homebrew claims that it installed the ...
4
votes
1
answer
2k
views
Debugging wine on OS X?
I installed wine using homebrew, and now I've been working on getting SolidWorks to run on OS X through wine, fixing the errors one by one.
Here's the error I'm currently stuck on:
err:winediag:...
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 ...
3
votes
0
answers
5k
views
Mac OS Mojave: "brew install --HEAD valgrind" fails. Suggested online solutions do not work
When attempting
brew install --HEAD valgrind
I get this error:
==> Deleted Formulae apache-arrow cputhrottle liblastfm [email protected] apache-arrow-glib hyper ...
3
votes
1
answer
6k
views
Removing all but original system-default python on macOS
I am trying to clean up the various Python installations on my MacBook Pro (macOS 10.13.4) by removing everything except the original system python (2.7.2 for the current version of macOS). I have ...
3
votes
2
answers
2k
views
brew: bash completions broken on macOS
I am using following bash completions installed via brew: bash-completion and bash-completion@2. My .bashrc looks like:
if [ -f /usr/local/share/bash-completion/bash_completion ]; then
. /usr/local/...
3
votes
0
answers
2k
views
brew doctor errors - safe to remove files?
It seems that I made a mess as the brew doctor returns a number of errors:
brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an ...
3
votes
0
answers
2k
views
How to fix Homebrew error "/usr/bin occurs before /usr/local/bin"
I am sure this is not a new question, and have ben answered on this website before. I have tried the solutions prescribed but unfortunately the error is still persisting. Hence, approaching the ...
3
votes
0
answers
4k
views
Python Can't Find Platform Dependent Libraries -- Mac Homebrew Install
In an effort to purify my environment I have recently eliminated MacPorts and all traces therein from my Mac OS 10.6.6 box, replacing it with the hip new Homebrew (https://github.com/mxcl/homebrew).
...
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 ...
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
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 ...
2
votes
0
answers
64
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 ...
2
votes
1
answer
2k
views
Neither proxychains and torsocks work in Mac
I installed proxychains via brew:
$ brew install proxychains-ng
and torsocks:
$ brew install tor torsocks
But they either don't work.
If I test with:
$ proxychains4 http https://check....
2
votes
1
answer
2k
views
Having trouble installing ruby gem for iStats
I am trying to install iStats via a ruby gem.
First I ran the command:
xcode-select --install and the output was:
xcode-select: error: command line tools are already installed, use "Software Update"...
2
votes
0
answers
3k
views
FFMPEG not found on MACOS 10.13.6 after a brew install
I want to use ffmpeg to convert a video into a gif.
I have installed it with brew using
brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-...
2
votes
1
answer
2k
views
Are here any problems with MacPorts and Homebrew installed together?
Here's the problem: some days ago I installed macports on my MacBook Air because I needed some c++ libraries but for some reason I wasn't able to use them. Then I upgraded my Mac to Mojave and the day ...
2
votes
0
answers
822
views
How to install two versions of MySQL on MacOS (High Sierra)?
I need two separate development environments in MacOS 10.13 to accommodate clients running different versions of MySQL on their servers (5.5 and 5.7.22). I've installed MySQL 5.7.22 from a package, ...
2
votes
0
answers
175
views
Assistance with Mac homebrew 'hg' command
I recently installed homebrew on my Mac while following a guide someone made to run certain things natively that couldn't be before. I also installed and updated 'pip'. I am having problems with a ...
2
votes
0
answers
621
views
Homebrew blocked by Error: invalid attribute for formula 'homebrew/php/php70': version (nil)
I've tried brew update and brew doctor, fixing all errors that have come up thus far, but I'm still getting this error anytime I try to update or remove php70:
Error: invalid attribute for formula '...
2
votes
0
answers
405
views
Error while running services using Linuxbrew on Ubuntu
I am using Linux Ubuntu 16.04.
i need to install Homebrew for installing various applications like( kafka, redis, zookeeper, consul, Cassandra), but since i don’t use Mac, i have installed Linuxbrew ...
2
votes
0
answers
2k
views
Broken zsh with chmod; trying to fix with compaudit
I have Homebrew zsh as my shell. I don't have root on my machine, but I do have an additional account with elevated privileges -- this is just how it's been set up by my work and I can't do anything ...
2
votes
1
answer
2k
views
virt-manager on Mac OS X can't connect to remote libvirtd
I have installed virt-manager 1.3.2 on Mac OS X 10.11.5 via homebrew.
When I try to connect to my remote libvirtd daemon, running on a different machine at 192.168.1.70, I cannot connect.
However, ...
2
votes
1
answer
4k
views
"Could not create unix socket lock file" with MySQL 5.7.10 on OS X 10.11.2
I've been trying to install MySQL 5.7 on OS X El Capitan using Homebrew, however when it came to getting the server up and running, I cannot seem to get a lock file created.
When I run mysqld_safe, ...
2
votes
0
answers
358
views
Installing QGIS using homebrew on El Capitan
So I have been trying to install QGIS using homebrew on El Cap for a while now, but with very limited succes (I installed it once without any of the extras; --with-grass7 --with-saga-gis --with-orfeo -...
2
votes
0
answers
398
views
How to convert a Debian package into a homebrew formula?
There's a Debian package I'm interested in for which no homebrew formula yet exists.
How can I convert a *.deb package file into a homebrew formula?
(FWIW, the Debian package I'm interested in is ...
2
votes
0
answers
674
views
How can I get Homebrew and MAMP (Pro) to play nicely together?
I am using MAMP Pro for most of my local application development and am trying to install ruby , etc via homebrew however homebrew will give me the following warning:
Warning: "config" scripts exist ...
2
votes
0
answers
968
views
Homebrew with custom CFLAGS
How do I compile some specific package with my custom CFLAGS? Other searches suggest that I should just edit the formula by hand but I don't want to do because I want a solution that easily works in ...
2
votes
0
answers
525
views
Who should I run mysql as, on a personal computer?
I just installed mysql via homebrew (with brew install mysql, on Mac OS X Mountain Lion - recently installed from scratch). Following the installation, there is a "caveats" section with ...
2
votes
1
answer
7k
views
"Could not resolve host: github.com" error while updating Homebrew after installing git
I'm using OS X Lion (10.7.2).
I installed Homebrew on my Mac, and I executed the command below.
$ brew install git
and then:
$ brew update
error: Could not resolve host: github.com; nodename nor ...
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 ...
1
vote
0
answers
430
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)...
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 ...
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 ...
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
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
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 ...
1
vote
1
answer
563
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
134
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 ...
1
vote
0
answers
189
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 ...
1
vote
0
answers
42
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 ...
1
vote
1
answer
977
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
1
answer
2k
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
1
answer
400
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 ...
1
vote
0
answers
297
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 ...
1
vote
0
answers
776
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 ...
1
vote
0
answers
28
views
Are All Items of a Package Uninstalled when Using Homebrew?
This seems like a super simple question with an obvious answer, but I'm having trouble finding a definitive answer. When uninstalling a package through Homebrew (that was initially installed by ...