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

learn more… | top users | synonyms (1)

48
votes
5answers
46k 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 ...
44
votes
2answers
5k 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 ...
42
votes
2answers
28k 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?
39
votes
4answers
6k 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
4answers
14k 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 ...
35
votes
5answers
11k 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 ...
33
votes
3answers
18k 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 ...
32
votes
7answers
30k 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 ...
31
votes
2answers
20k 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 ...
23
votes
1answer
16k 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 ...
14
votes
6answers
13k 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
1answer
10k 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 ...
13
votes
2answers
3k 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
2k 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 ...
12
votes
2answers
12k 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 ...
12
votes
1answer
3k 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 ...
11
votes
2answers
10k views

how can I uninstall using homebrew?

Can I uninstall something I installed via homebrew using homebrew?
11
votes
2answers
5k 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 ...
11
votes
2answers
4k 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
1answer
5k 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 ...
9
votes
2answers
10k 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?
9
votes
4answers
3k 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 ...
8
votes
5answers
3k 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. ...
8
votes
2answers
2k 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 ...
7
votes
5answers
3k 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: ...
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
3answers
4k 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 ...
6
votes
3answers
2k 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 ...
6
votes
1answer
1k views

brew link jpeg issues

I am trying to install opencv on Mac OSX Lion. brew install opencv I get the following error (and a few other similar ones) Error: The linking step did not complete successfully The formula built, ...
5
votes
3answers
3k 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 ...
5
votes
3answers
6k views

Homebrew is “cowardly refusing” to install OpenCV

I am trying to install OpenCV with Homebrew. After typing sudo brew install opencv I get this error message Cowardly refusing to sudo brew install How can I solve this?
5
votes
1answer
7k 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 ...
5
votes
3answers
4k 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: ...
5
votes
2answers
2k views

The suggested way to handle pip(easy_install) with homebrew?

I know there are brew-gem and brew-pip but it is still really easy to get confused. Let's say my Mac OS X is 10.7.2. There are at least, as far as I know, 3 locations for Python modules (assume ...
5
votes
1answer
3k 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 ...
5
votes
4answers
532 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, ...
4
votes
2answers
5k 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 ...
4
votes
2answers
667 views

Macports, Fink, Hombrew: Background Processes?

If I install a package manager such as Macports, Fink or Homebrew, how does it affect the startup and running of my system? It seems like the answer should be "Not at all when you're not using them" ...
4
votes
1answer
663 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 ...
4
votes
1answer
2k views

How do I change or edit Vim Homebrew recipe?

I use a Vim plugin that requires +clientserver, and the default brew Vim recipe does not include the appropriate flags, so I'm trying to add it to the ./configure step. I tried building Vim from ...
4
votes
1answer
3k views

Trying to install MySQL, lots of brew doctor errors

In OS X Lion I couldn't install mysql. I get this when typing brew install mysql Error: You must `brew link cmake' before mysql can be installed so then I type brew link cmake ...
4
votes
1answer
650 views

Homebrew: Terminal Emoticons How?

I use homebrew for package management on my mac. Today after updating homebrew I saw something I've never seen before; There was a tiny beer emoticon in the terminal. How is this being done!? What ...
3
votes
1answer
1k views

How do you install libtorrent-rasterbar Python bindings with a brewed Python?

The standard approach does not work: brew install libtorrent-rasterbar Will install the boost requirement (linked against the system Python), and libtorrent-rasterbar will install without any ...
3
votes
1answer
658 views

Installing and running couchdb on macosx

I am running OSX Leopard 10.5.8. I installed couchdb using brew install couchdb If I run couchdb on the command line (in accordance with the brew info instructions) 3 processes are spawned, but ...
3
votes
1answer
56 views

Tesseract OCR : Unsupported image type

I converted the PDF to TIF file using the following commands on terminal convert -density 300 -depth 4 lang.font-name.exp0.pdf lang.font-name.exp0.tif convert lang.font-name.exp0.tif -colorspace rgb ...
3
votes
1answer
728 views

Is it safe to run multiple brew install commands at the same time?

Is it safe to run multiple brew install commands at the same time?
3
votes
2answers
467 views

Can't compile tmux with iTerm support

I'm trying to compile the tmux that has iTerm2 support. This is the error I get: configure.ac:105: error: possibly undefined macro: AC_SEARCH_LIBS If this token and others are legitimate, ...
3
votes
1answer
5k views

Installing MySQL Server on a Mac with Homebrew

As a total newbie I am trying to get through this tutorial: http://net.tutsplus.com/tutorials/python-tutorials/python-from-scratch-creating-a-dynamic-website/ I'm at the point where I've used brew ...
3
votes
1answer
444 views

Macports to Homebrew conflicts?

I am currently using MacPorts on Lion but thinking of switching to Homebrew. There is a suggestion that installing to /usr/local causes problems and ~/.homebrew would be an alternative. Can I ...
3
votes
1answer
5k views

How to install PHP, Pear, PECL, and APC with Homebrew on Mac OS X?

I'm trying to install APC for PHP 5.3 in the easiest way possible. I love Homebrew so I started down that route. I was able to install PHP 5.3.6 with this command: brew install ...