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

learn more… | top users | synonyms (1)

6
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
1answer
2k 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 ...
6
votes
1answer
776 views

How to brew install a formula using local copy of source instead of the formula's url?

I'd like to install a formula using a local copy (put in the homebrew caches) instead of trying to download the url. In the case where the formula's url is not reachable from the device. (How to use ...
5
votes
4answers
10k views

Homebrew install problems: Permission denied - /Library/Caches/Homebrew/Formula/libksba.brewing

I've been having problems installing Homebrew since changing my home username on my Mac OSX 10.6.8 computer. After removing all files from the previous Homebrew installation since that didn't work, I ...
5
votes
3answers
7k 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
1k views

How do I find out where brew links end up?

brew link puts symlinks all over the place. How do I find out where, for a particular package? For example, I have cairo installed via brew. brew list cairo shows me a list of installed files. When I ...
5
votes
1answer
5k 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 ...
5
votes
1answer
3k 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 ...
5
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 ...
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 2.7):...
5
votes
1answer
200 views

How can I browse through Homebrew's formulae according to popularity (# downloads all time)?

Though I can easily find an alphabetical list of all available formulae, there seems to be no resource online, including at Brew's Github, or seemingly anywhere where I'm able to browse through ...
4
votes
2answers
1k views

How to find out a file belongs to which package in Mac OS X?

Is there a way to find out which Application / package owns or creates a specific file? For example, in Linux these commands will show the package owner apt-file /bin/progname rpm -qf /bin/progname ...
4
votes
2answers
2k 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 ...
4
votes
1answer
2k 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....
4
votes
1answer
3k views

Timeout with brew update

This is driving me crazy. I can't update my homebrew installation anymore. When I run brew update, it just does nothing and times out. I even tried reinstalling it, but then I run into the same ...
4
votes
1answer
744 views

No available formula for “pdfunite” in Homebrew?

I am on Mac OS X 10.10 (Yosemite) and I am new to Bash. I am trying to install pdfunite. I installed Homebrew and ran the following command: brew install pdfunite And I received Error: No ...
4
votes
2answers
3k views

install GNU m4 1.4 or later on OSX

I'm interested to install GNU m4 1.4 or later into /usr/bin/, I installed Homebrew, like this, ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)", to be able to insall bfgminer, but when ...
4
votes
1answer
2k 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/ ...
4
votes
2answers
694 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
2answers
930 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, ...
4
votes
3answers
3k 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 ...
4
votes
1answer
4k 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
2answers
134 views

How to I build/compile the latest FFmpeg snapshot for OS X?

How do I compile FFmpeg for OS X in a way that is equivalent to the Homebrew release with these settings? brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi ...
4
votes
1answer
1k 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?
4
votes
1answer
1k views

Installing and running couchdb on Mac OS X

I am running OS X 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
2answers
2k views

On Mac OS X with HomeBrew, is there any advantage to installing Git via .dmg rather than via HomeBrew?

If a Mac OS X user already has HomeBrew installed, is there any advantage to installing Git via the .dmg files for OS X linked from the Git download page rather than via HomeBrew?
3
votes
2answers
3k views

Brew installed, linked, but not found

I just installed mtr via Homebrew, and it completed seemingly successfully (i.e., nothing unusual). MBA% mtr zsh: command not found: mtr That's odd. I figured I'd try again: MBA% brew install mtr ...
3
votes
3answers
395 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 pgkfile on Arch)? I'm not talking about querying which locally installed package owns a file on my ...
3
votes
2answers
3k views

Understanding homebrew 'no-sudo' philosophy and questioning FAQ

Having fresh install of OS X, I decided to install python package manager in proper way. So I started googling and found homebrew is the best way. Now I got two questions: from homebrew FAQ: ...
3
votes
1answer
747 views

Strange issue with upgrading bash in Yosemite using Homebrew

I'm running OS X Yosemite. I need to use associative arrays in bash so I decided to use Homebrew to upgrade bash to 4.x. I performed the following steps: brew install bash I then added /usr/local/...
3
votes
1answer
871 views

Mac OSX Mavericks Upgrade Selectively Clears /usr/local/bin

I had been holding off on upgrading to Mavericks for fear that it would break thinks and it seems my fears came true. I had a stock Homebrew install with lots of compiled tools linked to /usr/local/...
3
votes
1answer
6k 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
504 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
8k 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 https://github.com/...
3
votes
0answers
319 views

Homebrew packages in PKG_CONFIG_PATH

I have a bunch of libraries installed with homebrew but I don't know what the right way to get them in pkg-config's search path. Right now I have export PKG_CONFIG_PATH=$(find /usr/local/Cellar -...
3
votes
0answers
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
0answers
3k 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
2answers
1k views

upgraded local git on Lion, now what?

I reformatted my machine with Lion which had this default version of git: $ git --version git version 1.7.7.5 (Apple Git-26) I decided to upgrade git so I did: $ brew install git ==> ...
2
votes
2answers
824 views

Can't get ffmpeg to use frei0r on OSX (through homebrew)

I am trying to get ffmpeg to use frei0r plugin and although I was able to get frei0r show up in filters list, I get the error: [frei0r @ 0x10331c1c0] Could not find module 'glow' Error initializing ...
2
votes
2answers
3k views

Is it possible to have homebrew update node to v0.4.2?

Atm I have homebrew installing node on my mac, when I run brew update node it says Already up-to-date. Then when I do node -v I get v0.2.6 Is there some way to get brew to update to v0.4.2 ...
2
votes
3answers
2k views

Fink remove all packages

I switched to HomeBrew from Fink, and I want to uninstall Fink and all of the packages I installed with it to avoid problems in the future. I found this perl snippet that should remove all pacages, ...
2
votes
2answers
202 views

May I use application's auto-update function when having them installed via Homebrew Cask?

I've just found out about Homebrew Cask and I love it. Most of my applications are now installed via Cask. I'm just wondering whether I can still use an application's auto-update function because ...
2
votes
1answer
501 views

How to use homebrew to install scripts

I have some git repos that have scripts in them (bash and ruby). Is there a way to use homebrew to tap those repos and install those scripts to /usr/local/bin? If so, how do I need to set them up? ...
2
votes
2answers
4k views

Why can't I delete this file?

When I run brew doctor, I get this warning: Warning: Unbrewed dylibs were found in /usr/local/lib. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, ...
2
votes
1answer
496 views

Installed Git via homebrew on OSX , man file problems, other potential problems?

I installed Git via homebrew, on OSX 10.8, with an already existing version of Git. The new version wouldn't show up, so I renamed the old git files (git, gitk etc...)in /usr/bin , to *-old. Now the ...
2
votes
1answer
4k views

Error installing mysql 5.5 FATAL ERROR: Could not find my_print_defaults

I installed Mysql 5.5 using Homebrew, specifically Homebrew versions - https://github.com/Homebrew/homebrew-versions. After the installation, I attempted to run the commands it suggests: Set up ...
2
votes
1answer
323 views

Adding a specific binary (zsh) to the $PATH?

I have installed a more recent version of zsh using homebrew, located at /usr/local/bin/zsh. which zsh returns /bin/zsh. How can I make /usr/local/bin/zsh the default, without adding the entire /usr/...
2
votes
2answers
3k views

Homebrew postgres won't start after uninstall, reinstall and reboot

I uninstalled and reinstalled postgresql via homebrew. It worked fine until I restarted my computer. Now I'm trying to run my tests and they're blowing up. I'm looking at the current processes and I ...
2
votes
1answer
3k views

curl: (7) couldn't connect to host

I know some people have asked this question before but I don't understand some of the answers. I'm a Mac user trying to instal Homebrew but I keep getting this error message: curl: (7) couldn't ...
2
votes
1answer
561 views

Problems with freetype on OSX 10.7.4

I'm trying to install mplayer with OSD using homebrew. I've added both --enable-menu and --with-freetype-config=/usr/local/Cellar/freetype/2.4.10/freetype-config to the brew recipe. ==> ...