Questions tagged [homebrew]
`homebrew` is a package manager for Mac OS X, in the spirit of Linux's `apt` or `yum`.
36
questions
235
votes
3
answers
96k
views
How can I remove outdated installed versions of Homebrew packages?
How can I remove outdated versions of Homebrew packages that are installed side-by-side with current versions?
105
votes
11
answers
268k
views
How should I set the PATH variable on my Mac so the Hombrew-installed tools are found?
Trying to set up Homebrew on a new Mac (on previous Macs I would install packages from source).
The first package I tried to install was Git:
$ brew install git
Installation went OK, but which git ...
87
votes
6
answers
110k
views
How do I install ant on OS X Mavericks?
After upgrading to OS X 10.9 Mavericks, ant is no longer on my path.
[126] 11:23:26 rkarl-mba-4:~/mobile-baselayer > ant
zsh: permission denied: ant
[126] 11:23:50 rkarl-mba-4:~/mobile-baselayer &...
74
votes
6
answers
84k
views
Where can I find a list of all formulas available for homebrew?
Is there a way to get a list of all formulas (packages) I can install using homebrew for Mac OS X?
25
votes
2
answers
18k
views
Symlink error when installing MySQL via Homebrew
Trying to install MySQL via Homebrew. The install seems to work fine but i get an error:
"Error: The linking step did not complete successfully
The formula built, but is not symlinked into /usr/local
...
14
votes
2
answers
5k
views
How can I use the Homebrew Python with Homebrew MacVim on Mountain Lion?
I originally asked and answered this question: How can I use the Homebrew Python version with Homebrew MacVim?
These instructions worked on Snow Leopard using Xcode 4.0.1 and associated developer ...
7
votes
1
answer
6k
views
Homebrew doesn't find XCode 4.3
When I try to install something with homebrew I get an error message that it does not find XCode. But I just installed XCode 4.3 and also did a reboot.
admins-MacBook-Pro-2:~ ernst$ brew install ...
2
votes
2
answers
20k
views
How to exit VIM and get back to 'normal' terminal?
I did find this answer here:
Vim Stuck In Insert Mode
However none of the commands listed worked for me. Exit, cntrl + [, cntrl + q
I'm totally a terminal newb, trying to learn how to setup git ...
153
votes
2
answers
193k
views
How do you re-install a package with Homebrew (Mac)?
Struggling to find good Homebrew documentation (or tutorial)...
In the mean time I need to reinstall ImageMagick that was installed with Homebrew (brew install imagemagick) and not sure if I should ...
96
votes
11
answers
63k
views
brew upgrade broke Vim on OS X (dyld: Library not loaded)
I've not run brew update && brew upgrade for a long time.
I just did a massive upgrade which turned out to broke my Vim.
This is what I got after running vim:
dyld: Library not loaded: /usr/...
87
votes
2
answers
64k
views
How to clean unused homebrew dependencies
How to remove all homebrew packages wich are not used by any other package?
Some packages are installed as dependency of other package. When packages are removed, dependent packages stay as leftovers.
...
79
votes
9
answers
83k
views
How to install Meld with Homebrew on Mac OSX?
To install meld on Mac OSX I try to run:
brew install meld
but I got the following error:
Error: No available formula for meld
What is the right way to install meld?
54
votes
1
answer
55k
views
Can't install Brew formulae correctly (Permission denied in /usr/local/lib)
I am installing a few Homebrew packages on a brand new Mac. However, there are some errors while linking:
ln: ./libsvn_wc-1.dylib: Permission denied
Error: The linking step did not complete ...
29
votes
5
answers
12k
views
How to determine which brew package provides a given file?
Is there a way to figure out which brew package provides a given file (like apt-file on Ubuntu or pkgfile / pacman -F on Arch)?
I'm not talking about querying which locally installed package owns a ...
19
votes
10
answers
26k
views
How to install matplotlib on OS X?
I want to install matplotlib on OS X. If possible, using homebrew.
I installed Python 2.7.1 using brew install python, I modified my path to use it
I installed pip using brew install pip
I installed ...
14
votes
3
answers
7k
views
Enable multiple users to install software using homebrew
I installed homebrew using my other user account (which I use during work), but it is impossible to install software from my newly created personal account:
$ brew install unrar
Error: Cannot write ...
14
votes
1
answer
8k
views
How can I use the Homebrew Python version with Homebrew MacVim on Snow Leopard?
Note: For Mountain Lion, see: How can I use the Homebrew Python with Homebrew MacVim on Mountain Lion?
I've installed Python 2.7 with Homebrew on Mac OS X Snow Leopard. When I install MacVim using ...
13
votes
1
answer
24k
views
How do I use xdg-open from xdg-utils on Mac OSX?
I'd like to use the command line xdg-open. The command line is not known to my computer (Mac OSX) so I have to install the package (not sure this is the right term) that contains this command line. I ...
12
votes
3
answers
5k
views
How can I install GNU Parallel alongside Moreutils?
Homebrew has a formula for moreutils and GNU parallel.
GNU Parallel conflicts with Moreutils since it also has a binary called parallel, which is just less useful. However I'd still like to install ...
12
votes
3
answers
35k
views
Homebrew gives SSL error (SSL_ERROR_SYSCALL) on home network
As the title says, when I try to install packages via homebrew through my home network, I get the following error:
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to akamai.bintray....
11
votes
3
answers
25k
views
Homebrew doesn't install new apps in El Capitan
just upgraded to beta El Capitan for developers.
Deniss-MBP:src me$ brew install hg
Warning: You are using OS X 10.11.
We do not provide support for this pre-release version.
You may encounter build ...
11
votes
3
answers
10k
views
How to get Fish shell and NVM both installed with Homebrew to work together?
I am trying to manage my packages for OSX using Homebrew as much a I can. I have installed both the Fish Shell and NVM using Homebrew but cannot get Fish to recognize my NVM installation. NVM ...
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?
9
votes
1
answer
2k
views
launchd seems ignore StartCalendarInterval on Yosemite
I tried to update Homebrew on time with launchd. My plist file is presented here:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www....
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....
6
votes
2
answers
3k
views
Can pkgsrc, Homebrew, Fink, and MacPorts peacefully coexist?
I heard that some people like to use both Fink and Macports since some packages exist in one and not the other.
Recently I've had trouble building and running packages like GRASS and Digikam w/ ...
6
votes
1
answer
3k
views
Can't start mongodb by launchctl on OS X Yosemite (10.10.2)
I've installed mongodb 2.4 via homebrew:
brew install homebrew/versions/mongodb24
Then I've made a simlink to the config provided by homebrew:
ln -sfv /usr/local/opt/mongodb24/homebrew.mxcl....
3
votes
2
answers
3k
views
List and install older unison version through OS X brew
I'm trying to get unison to sync files between my new OS X el capitan MBP and my work computer running ubuntu 14.04. When I run my sync profile I get a the following traceback
Fatal error: Received ...
3
votes
1
answer
26k
views
How should I install homebrew into /usr/local subdirectory manually?
Manual installation directions in docs.brew.sh are very brief and unsatisfactory, resulting in some errors if I try it in a subdirectory of /usr/local without using sudo. Directions in this question ...
3
votes
1
answer
2k
views
Should I change ownership of files in /usr/local/share/locale?
I'm trying to install Homebrew, and brew doctor returns a lot of warnings, one of which is this:
Warning: Some directories in /usr/local/share/locale aren't writable.
This can happen if you "sudo ...
1
vote
2
answers
692
views
Running “brew install moreutils --without-parallels” fails
I’ve recently upgraded to macOS High Sierra. I’ve updated and upgraded homebrew. I’ve done:
brew install parallel
And now I need to:
brew install moreutils --without-parallel
This fails. Looking ...
0
votes
1
answer
238
views
How to build php70-xdebug from master via Homebrew?
I've php70-xdebug package and I did the following steps:
Edited formula by brew edit php70-xdebug
Then replaced the following line:
url "https://pecl.php.net/get/xdebug-2.5.5.tgz"
with:
url "https:...
0
votes
1
answer
355
views
Upgrading PostgreSQL via Homebrew
I'm attempting to update PostgreSQL from my system's version (9.1.5) to the latest release (9.2.3). I've followed the directions on this railscast and am encountering issues.
After installing psql ...
0
votes
2
answers
1k
views
Uninstalling Homebrew messed up git
I uninstalled Homebrew using https://superuser.com/a/203740.
After running the above commands, I can't find .bashrc and .bash_profle. All files are gone from Documents , Desktop and Downloads :'(
...
0
votes
1
answer
1k
views
What is the djvu2pdf.rb in Homebrew?
I recently downloaded a textbook as a .djvu file (sighs, not a PDF. wth is this). I found a way to view it and a way to convert it on the Internet (cool).
Recently however, I downloaded Homebrew for ...
-2
votes
1
answer
1k
views
Getting an error when attempting to install Homebrew on CentOS 7: “Error: Unknown command: shellenv”
I am trying to install brew on CentOS 7 and get the following error:
[jalal@goku ~]$ git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew
Cloning into '/home/grad3/jalal/.linuxbrew/...