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
624
views
Mac OS X: brew reports python 3.7.3, python3 --version reports python 3.6.3. How to fix?
I'm running Mac OS X High Sierra 10.13.6.
When I do a "brew list python" from the terminal, it shows that I have python 3.7.3 installed:
user@laptop:~$ brew list python
/usr/local/Cellar/python/3.7....
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 ...
5
votes
1
answer
24k
views
HomeBrew error message OSX
I have installed the latest Brew on OSX. On running update or installing new formulas I get the following error:
Error: The following directories are not writable by your user:
/usr/local/share/man/...
0
votes
1
answer
1k
views
Troubles when trying to install Homebrew
When I try to install Homebrew on my mac, I get this error message:
==> Downloading and installing Homebrew...
error: could not lock config file /usr/local/Homebrew/.git/config: Permission denied
...
2
votes
2
answers
6k
views
The program “postgres” is needed by pg_ctl but was not found
I tried to install postgresql on my macbook (mojave) through homebrew:
brew install postgresql
But when I try to start postgresql manually:
pg_ctl -D /usr/local/var/postgres start
I get this ...
36
votes
4
answers
19k
views
Error: mongodb: unknown version :mountain_lion
I am running these simple commands on mac:
brew upgrade mongodb
or
brew install mongodb
I am getting this error below:
Error: mongodb: unknown version :mountain_lion
If i run the simple ...
0
votes
1
answer
3k
views
Using Homebrew PostgreSQL can't connect to server
My environment
macOS Mojave 10.14.6
Homebrew 2.1.11
PostgreSQL 11.5
I typed brew command and checked PostgreSQL server is running.
brew services start postgresql
But I can't connect ...
0
votes
1
answer
2k
views
Brew install a branch / fork
This might sound like a silly question.
I can't figure out how (if possible) to use brew on OSX to install an official branch of a GIT rep.
Is there something i'm missing?
2
votes
1
answer
2k
views
Use version of nano from homebrew
I have downloaded nano 4.3 with homebrew, which is now in /usr/local/Cellar/nano/bin/nano, but the version in /usr/bin/nano is still 2.0.6. I can't move that to /usr/bin/nano2 for example, it fails to ...
0
votes
1
answer
85
views
A search path is not honored in macOS 10.14.6 (Mojave)
I am running macOS 10.14.6 (Mojave, 18G87)
My default shell is Zsh and $PATH is set in .zshrc as follows;
/usr/local/Caskroom/miniconda/base/bin:/usr/local/Caskroom/miniconda/base/condabin:/usr/...
0
votes
1
answer
568
views
"brew install hive" failure
Here is what I've got today:
myname@mylaptop:~/tmp/123545/ brew install hive
==> Installing dependencies for hive: hadoop
==> Installing hive dependency: hadoop
==> Downloading https://www....
0
votes
1
answer
604
views
Successful installed php using brew in MacBookPro (w Mojave); but not recognized on command line
The command brew install php was successful:
==> Summary
🍺 /usr/local/Cellar/php/7.3.8: 521 files, 77.0MB
$ which php
/usr/local/bin/php
The system recognizes two installation fo php -- the old ...
0
votes
1
answer
41
views
How can I see what updates are available for a pinned HomeBrew formula?
I have pinned a HomeBrew formula, using brew pin python. How do I see which updates are available for this formula if it were unpinned?
0
votes
2
answers
2k
views
GCC not working on macOS Majave?
I am trying to download some astronomy software (PINT) and when I perform make test, as suggested, it fails. I believe the problem is with my gcc compiler on my Mac. The error I am given is
$ ...
0
votes
1
answer
1k
views
Script for reinstalling apps on macOS with brew cask
I looked around for this and couldn't find it. Before venturing into coding it, I thought I'd ask…
I regularly update my mac via terminal with brew, macports, pip, yarn, etc. So I started ...
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....
1
vote
1
answer
2k
views
osx brew mysqld ignoring configuration files
installed mysql 8.0.17 via brew on osx 10.14.6
When i start mysqld (either directly or via brew services start mysql) i can see mysql process listening on both 127.0.0.1 and *.
The brew install ...
0
votes
0
answers
285
views
Homebrew with Ansible, needs a "make install" kind of step
Ansible attempts to install software on a box non-interactively. Ansible runs on a box with a "become" mode (where commands are as root) and a general-user mode.
Homebrew requires it be run not run ...
0
votes
1
answer
1k
views
Restarted httpd with Brew and now I get ERR_CONNECTION_REFUSED
I had a successful installation of the brew formula httpd and I have been using it for a while now as my apache server. This hasn't been a problem until recently.
I tried to run httpd in the terminal,...
0
votes
1
answer
329
views
Node works globally but not in a specific directory after brew install yarn
MacOS Mojave here. When I installed yarn with brew install, I couldn't run node (and thus npm). I went through a fair amount of troubleshooting steps that essentially forced uninstalled node and ...
0
votes
1
answer
2k
views
Python 3.7.4 - Cant use installed packages (macOS)
So I have python 3.7.4 installed under macOS High Sierra 10.13.6 using brew (brew install python) and I am having some problems with it.
First off, even though this is minor, I am wondering if this ...
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 ...
1
vote
0
answers
23
views
Can I move unsupported utilities—like JDK8—into homebrew?
Maybe I'm clutching at straws and/or misunderstanding the whole Homebrew idea, but:
I need JDK8 in homebrew, which isn't available anymore to Homebrew due to some licensing issues [e.g., https://...
1
vote
0
answers
640
views
502 Error when connecting to WordPress admin using Laravel Valet
Currently experiencing issues with Laravel Valet where I am able to run some sites normally that have only a few SQL requests such as the front end of WordPress but if you navigate to /wp-admin I'm ...
1
vote
0
answers
339
views
Upgrading PostgreSQL 10 to 11
As I was installing osm2pgsql with Homebrew, brew started updating my Postgres from 10.8 to 11.3. After installation, the process, the upgrade of database failed.
Error: Upgrading postgresql data ...
0
votes
0
answers
547
views
Bash completion not working for 'aws cli' after installed via brew
After I use brew to install aws cli, here is the message form brew:
==> awscli
The "examples" directory has been installed to:
/usr/local/share/awscli/examples
Bash completion has been ...
3
votes
1
answer
11k
views
Installing Homebrew with fish-shell
I recently had a mishap with MySQL and when I uninstalled it from System Preferences it uninstalled Homebrew as well (I checked the erase all files that are related to MySQL, which was probably not ...
1
vote
0
answers
330
views
How to get localhost using PHP 7.2 on Mojave?
I'm trying to get PHP7.2 working on localhost, but phpinfo() keeps saying 7.1.19 is in place while ~php -v tells me PHP7.2.18 is in place.
I run ~php -v it says:
PHP 7.2.18 (cli) (built: May 2 ...
3
votes
3
answers
6k
views
Can’t install a specific version of VirtualBox via Homebrew: “Brew: Found a cask named ‘[email protected]’ instead”
I want to install a particular version of VirtualBox, namely 5.2.22, on my MacBook Pro via brew
This is the error message i got from
$ brew install [email protected]
Updating Homebrew...
Error: No ...
0
votes
1
answer
346
views
running sass --watch results in deleting the css file
running (Dart) SASS 1.19.0
installed via
brew install sass/sass/sass
In terminal (following the Sass documentation) from within the desired directory, if I run
sass styles.scss styles.css
or
...
0
votes
1
answer
1k
views
Error Intstalling Python3 on macOS Mojave
I'm trying to install python3 on a Mac running macOS Mojave but am running into trouble. First, I updated homebrew and ran the command xcode-select --install. Then, I ran the command brew install ...
0
votes
2
answers
671
views
php -S localhost:8888 creates local server in terminal but browser shows 404
in terminal:
Melindas-MacBook-Pro:MelindaSterne Melinda$ php -S localhost:8888
PHP 7.2.17 Development Server started at Thu Apr 25 13:39:37 2019
Listening on http://localhost:8888
Document root is /...
12
votes
0
answers
2k
views
[email protected]: "cxx11" is not a recognized standard [closed]
I'm trying to reinstall php 5.6. This is what happens using homebrew:
user$ brew reinstall [email protected]
Error: [email protected]: "cxx11" is not a recognized standard
How do you fix this issue?
0
votes
1
answer
601
views
Installing v8 on mac: v8: command not found
I am trying to use v8 on mac and I have tried installing it using homebrew.
When i run:
brew install v8
I get:
Warning: v8 7.3.492.27 is already installed and up-to-date
But, when I run v8 ...
8
votes
3
answers
18k
views
Brew install R: Permission denied
When trying to install R via Brew, I get the following output and errors:
==> Pouring pcre-8.43.mojave.bottle.tar.gz
cp: /usr/local/Cellar/pcre/./8.43:
cp: /var/folders/3l/...
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 ...
2
votes
1
answer
924
views
Prevent Homebrew from breaking pyenv installations
It's possible to use pyenv to install and switch between multiple Python versions, which is helpful when trying to develop and test software targeted against versions of Python that aren't just the ...
1
vote
2
answers
484
views
Mac OSX Homebrew r-app cask no longer exists
r-app has disappeared from homebrew, you can no longer brew cask install r-app
are there any alternatives or ways to install the cask now? I would prefer to install the r-app cask if possible.
0
votes
1
answer
84
views
MacOS Where can I find what was in /usr/etc?
I recently was trying to reinstall all of the Homebrew libraries and accidentally deleted /usr/etc instead of /usr/local/etc using rm -rf. When trying to reinstall torch-rnn, I got this error:
...
0
votes
1
answer
888
views
Unable to install pythion 3 on Mac Mojave
I recently upgraded my MAC to Mojave (Version: 10.14.3 (18D109)) and tried installing Python 3.7 immediately after by following the SO link here
However I am unable to progress because consistently ...
1
vote
2
answers
54
views
calc command line tool always becomes interactive
For some reason calc always becomes interactive (as if I had specified -i, or not specified an expression at all). I have to press CTRL-C multiple times to exit.
~ calc 5+4
9
^C
[Abort level 1]
^...
0
votes
1
answer
2k
views
macOS won't use the right PHP version
I just updated macOS to Mojave, updated brew and reinstalled php (version 7.3, still via brew).
If I run php I get
-bash: /usr/local/opt/[email protected]/bin/php: No such file or directory
But if I do ...
4
votes
2
answers
2k
views
How do I prevent a "'boneyard' not found" error when I 'brew update'?
When I
brew update
I get
remote: Repository not found.
fatal: repository 'https://github.com/Homebrew/homebrew-boneyard/' not found
Error: Fetching /usr/local/Homebrew/Library/Taps/homebrew/...
0
votes
1
answer
389
views
Homebrew not accepting valid options
I've built a script to install a bunch of packages with homebrew. The script's available here.
When installing packages that has options, such as --with-default-names I get a warning like this:
...
0
votes
1
answer
338
views
No install option displayed when installing gnuplot using brew
I want to install gnuplot with options like --with-aquaterm, --wx ..., but when I type brew options gnuplot before installation, terminal displays nothing. When I installed gnuplot before, there was ...
2
votes
2
answers
5k
views
RVM can't find installed new Ruby version (previously installed using Homebrew)
I'm a beginner, please excuse me if I'm saying or doing things you perceive as utterly stupid. I'm not doing it on purpose.
How this started: I wanted to install gems, but got the following error ...
9
votes
4
answers
17k
views
Trouble with readline library on mac
I was updating some programs on my mac and I suddenly encountered some troubles running gnuplot. The error was something like :
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7....
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 ...
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"...
0
votes
1
answer
49
views
Show homebrew upgrade information again
When upgrading a package with homebrew, there are several information shown e.g. breaking changes or things to do after installation.
Is it possible to show this information after the upgrade again? ...