`homebrew` is a package manager for Mac OS X, in the spirit of Linux's `apt` or `yum`.

learn more… | top users | synonyms (1)

84
votes
6answers
99k 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 &...
78
votes
2answers
58k 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 ...
69
votes
6answers
26k views

Mac Homebrew and Wireshark

I've installed Wireshark(.org) using Homebrew. brew install wireshark at the end the script says ==> ./configure --prefix=/usr/local/Cellar/wireshark/1.2.7 --disable-dependency-tracking --...
66
votes
2answers
11k views

How can Homebrew print a beer mug in Terminal?

Homebrew has a neat trick of printing out little icons next to its output. Like this: If I copy paste the icon it on its own and hit enter I get the result: -bash: $'?\237\215?': command not found ...
59
votes
5answers
55k 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?
58
votes
8answers
81k 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 ...
55
votes
6answers
25k views

Is it safe to install both Homebrew and Macports on the same machine?

I have MacPorts installed on my iMac with a fair number of ports installed. I'm interested in trying out Homebrew, though, as I've heard many good things about it, and because I've noticed that it ...
47
votes
2answers
46k 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 ...
40
votes
4answers
7k views

How to install software packages on a Mac? (MacPorts, Fink, anything better?)

On my Mac OS X machine, how would you recommend I install command line software and other packages? I've been using MacPorts and it always seems quite slow, presumably because it has to compile the ...
39
votes
3answers
53k views

how can I uninstall using homebrew?

Can I uninstall something I installed via homebrew using homebrew?
36
votes
3answers
21k views

Homebrew vs Fink vs Macports? [closed]

I am using Fink to install Unix apps on my mac, I just came across Homebrew and saw some good reviews about Homebrew. So, my question is: What package manager do you guys use for Mac? I use Fink ...
29
votes
5answers
30k views

“FATAL: lock file ”postmaster.pid“ already exists”

I just reinstalled postgres via brew install postgres I ran initdb /usr/local/var/postgres -E utf8 but got this: The files belonging to this database system will be owned by user "atal421". This ...
29
votes
4answers
30k views

How do I restart redis that I installed with brew?

I used brew to install redis (a key/value store database server) for my node.js app. brew install redis However, it seems to disappear and is very volatile. Because I'm using redis as my session ...
24
votes
2answers
15k 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 ...
23
votes
6answers
24k 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?
21
votes
1answer
24k views

is there any equivalent/branch of Homebrew for Windows? [duplicate]

Possible Duplicate: Package managers for Windows Homebrew is a package manager for macOS mimicking Linux ones (think about apt-get as a canonical example). Obviously, it has some trendy ...
18
votes
3answers
19k views

Errors in Homebrew on OS X Lion

I just ran the Homebrew script as described in the installation page. I then ran brew doctor in Terminal, and it returned several errors. I'm not sure how to fix those errors, please help. brew ...
18
votes
1answer
15k views

PostgreSQL homebrew installation lacks config files

So I successfully installed PostgreSQL 9.1 on MacOSX Lion. Unlike people say, I didn't have to change the PATH and no other version of PostgreSQL was installed on the system ($ psql --version shows ...
17
votes
10answers
19k 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 ...
15
votes
2answers
6k 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?
15
votes
1answer
5k views

MySQL Preference Pane control for MySQL installed via Homebrew

this is a repost of my question at apple.stackexchange.com I have installed MySQL via homebrew: brew install mysql. I'd like to get the MySQL preference pane hooked up to my installation of MySQL ...
13
votes
2answers
4k 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 ...
13
votes
1answer
5k 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 ...
11
votes
3answers
2k views

Installing Homebrew packages without linking

I'd like to install several versions of Ruby (or really any Homebrew package) without linking any of them. Basically, I'd like to treat any formula as keg-only. I can't seem to find a way to do this, ...
11
votes
2answers
6k views

Homebrew won't link git

When I installed git or upgrade git via brew I couldn't link it with brew link git. If I try sudo brew link git I get: cowardly refusing to sudo brew link It says that I have to check the ...
10
votes
2answers
9k views

Can I install Homebrew without sudo privileges?

Homebrew nicely allows package installations without sudo privileges, but it seems that I need admin privileges to install Homebrew itself. I'd like to install Homebrew in a Mac environment where I ...
10
votes
3answers
7k views

Homebrew installation of git won't take precedence over system version (in /usr/bin/)

OS X (or Xcode) comes bundled with git 1.7.something, but after brew install git (1.8.0), which git keeps returning the old /usr/bin/git. This is what I get when I echo $PATH right now: /usr/local/...
10
votes
4answers
4k views

$PATH is driving me nuts

OK, apologies if this is something dumb, but I'm running out of ideas. Goal: prepend /usr/local/bin to $PATH Problem: $PATH won't do what I want or expect How I got here: I want to start learning ...
10
votes
2answers
3k views

Forcing Homebrew and Macports to coexist?

I have a MacOSX system that I've been using for a number of years, and during this time, I have installed quite a few packages via Macports. I now want to try Homebrew, but it's clear from what I've ...
9
votes
1answer
9k views

brew install gettext, should i force link it?

I am doing some web development and the translation engine requires gettext. Should I force link it? $ django-admin.py makemessages -l es CommandError: Can't find xgettext. Make sure you have GNU ...
9
votes
3answers
13k views

OS X Yosemite - Too many files open

I recently upgraded from Mavericks to Yosemite....headaches ensued I'm pretty sure my problem lies w/ the number of files I can open - but I'm not sure how to solve it. I'm also pretty sure I've ...
9
votes
4answers
8k views

Removing git from /usr/bin

I'm on OS X 10.8 and I'm using Homebrew. brew doctor tells me that I have 2 git installations, one in /usr/bin and the other one in /usr/local/bin. Is it a bad idea to remove git from /usr/bin? If no,...
9
votes
5answers
4k views

Homebrew keeps saying XCode is not installed

I'm trying to installed Ruby using Homebrew, the OSX package manager. When I run 'brew install ruby' I keep getting the message 'Warning: XCode is not installed!'. XCode is installed, it's lying. ...
9
votes
3answers
4k 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 ...
9
votes
1answer
4k views

Using git-gui on Mac with Homebrew

I have Git installed with Homebrew. However, git-gui doesn't seem to come stock in /usr/local/bin. This answer suggests I should create an alias to usr/local/git/libexec/git-core/git-gui, but this ...
9
votes
1answer
1k 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....
8
votes
3answers
6k views

Can't use homebrew installed git

I'm encountering a really weird issue when I try to use the latest version of git I just installed via homebrew. which git is pointing me to the homebrew install, but calling git returns the original ...
8
votes
3answers
6k views

Homebrew build with different arch?

I tried to install mysql-connector-c recipe via homebrew, and it builds just fine, but produces x86_64 library: $file ~/brew/lib/libmysql.dylib .../brew/lib/libmysql.dylib: Mach-O 64-bit ...
7
votes
3answers
11k views

How can I install PHPmyadmin on Mac Lion using Homebrew

How can I install PHPmyadmin using homebrew, if that possible. I'm using Mac 10.7. I installed Homebrew, and it's working perfectly. I use it to download php 5.4 and mysql. Both are working perfectly,...
7
votes
3answers
22k 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 ...
7
votes
5answers
4k views

How do I alias a Homebrew installed Ruby 1.9 gem binary in /usr/local/bin?

Homebrew's Ruby 1.9 ships with rubygems. Doing gem install ... installs files and binaries into some long-winded path. For example, bundler is installed at: /usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/...
7
votes
2answers
12k views

Warning: Unbrewed dylibs were found in /usr/local/lib

When I enter the command brew doctor I get the error below. This this something to worry about? Im very new to command line stuff. Im using homebrew to install Drush (for Drupal). Last login: Wed ...
7
votes
1answer
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 ...
7
votes
1answer
12k views

How do I fix “Library not loaded: libssl.1.0.0.dylib” with PostgreSQL?

After deleting Macports, I've had some strange behaviour. When I try to run PostgreSQL via CLI, I get: pawel:~ pawel$ psql dyld: Library not loaded: /opt/local/lib/libssl.1.0.0.dylib Referenced ...
7
votes
1answer
7k views

brew install gcc /Mac OS 10.9 Mavericks

I'm doing a clean install of Mavericks, and accidentally did brew install gcc which is taking over half an hour, maybe more. Should I terminate it? I know now that I should have installed a ...
7
votes
1answer
8k views

How to install htop on OS X using Homebrew?

I am trying install htop using brew: ➜ ~ brew install htop Error: You must `brew link autoconf' before htop-osx can be installed Then I am doing brew link autoconf Linking /usr/local/Cellar/...
6
votes
2answers
7k views

pip not working on hombrew python 2.7 install

I've installed python using homebrew and I can't invoke pip from the bash. I've tried amending my .bash_profile to include /usr/local/bin/python and /usr local/share/python to no avail. When I use ...
6
votes
1answer
579 views

homebrew show all pinned formulas

Homebrew has command, which tells it to stop upgrading mentioned formulas: $ brew pin $FORMULA Does anyone know if there is any homebrew command which shows the list of pinned formulas?
6
votes
4answers
2k views

OS X 10.11 (El Capitan) Making Zsh Very Slow

I just freshly installed El Capitan on my MacBook Pro. I had trouble earlier with the my terminal being too slow while typing in simple commands. I thought it might have been that I need to format my ...
6
votes
1answer
7k views

Install GParted on a mac with Homebrew or Macports?

I'd like to install Gparted on my mac, and I thought I could use Homebrew or Macports to help with that, but I can't seem to figure it out. I tried using Homebrew because I haven't really heard good ...