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

learn more… | top users | synonyms (1)

1
vote
2answers
1k views

Package cairo was not found in the pkg-config search path

On Mac OS X 1.7.5 / Lion I am trying to install cairo package using homebrew brew install cairo => PASSED ==> Downloading http://cairographics.org/releases/cairo-1.12.16.tar.xz Already ...
3
votes
2answers
139 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 ...
0
votes
0answers
100 views

I broke grep, and I need it to work in order to configure X11 (XQuartz) to run Wireshark. How can I mend it?

This was an X-post from apple.se, now deleted there, since it hadn't attracted any sufficient help. I need to work with Wireshark for my Web Programming class, so any help will be most appreciated. ...
0
votes
1answer
35 views

When downloaded code from SourceForge does not reflect the latest edits, what could be the issue and how can I solve it?

In the following sourceforge hosted libdc1394 library, Damien Douxchamps correctly added some lines of code to /usb/control.c on 2014-3-6. The latest 2.2.2 package of this library, was modified and ...
3
votes
1answer
2k 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 ...
0
votes
0answers
419 views

Installing Homebrew on OSX 10.9

I am trying to install Homebrew with this commands: ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" # Add Homebrews binary path to the front of the $PATH echo 'export ...
73
votes
6answers
85k 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 ...
0
votes
0answers
76 views

brew link error - installing freetype for Circos

I am wanting to use Circos and have been following a tutorial on how to do the initial setup. (http://kylase.github.io/CircosAPI/os-x-installation-guide/) I went to use: $brew install freetype and ...
0
votes
0answers
220 views

SSL certificate error attempting to download Homebrew?

I've been trying to download and install Homebrew for my Mac (OS 10.9.4) using the install script on the home page, but the download fails with a SSL certificate error (see log below). I understand ...
1
vote
0answers
216 views

Questions on compiling homebrew php with postgres support on Mavericks

I recently upgraded to Mavericks on my MacBook Pro and a few things broke in the process. One of these was the ability to load a drupal page that sits on a postgres database. I get this message on a ...
1
vote
2answers
114 views

Choose which binary is default binary on Mac OS X Mavericks

I have installed the latest SVN 1.8 via homebrew on my Mac. However now If I run svn --version I get back that I have 1.7. Next thinng I run which -a svn which then shows me I have it twice: ...
6
votes
1answer
4k 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 ...
3
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 ...
0
votes
2answers
162 views

I accidentally deleted nano on my Mac OS, how can I restore it?

I had to copy the binary version of nano to my dev server -- and I accidentally deleted my local copy of nano in the process. I tried to recompile nano from the original site, but now whenever I'm ...
0
votes
1answer
1k views

brew/mongodb doesn't stop when I close terminal

I installed mongodb with brew and I didn't load the launchctl plist. When I run the mongod command to start the server in foreground and suddenly close my iTerm the mongodb process stays up and I ...
0
votes
1answer
87 views

Switch from ZSH to default OS X

http://stackoverflow.com/questions/13476232/make-iterm2-launch-with-zsh I used chsh -s /bin/zsh as described above to set zsh as default. I'd like to switch back to default standard terminal that ...
0
votes
0answers
793 views

Tesseract couldn't load any languages

Running tesseract makebox command produced me the following error Error opening data file /opt/local/share/tessdata/eng.traineddata Please make sure the TESSDATA_PREFIX environment variable is set to ...
5
votes
1answer
2k 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 ...
0
votes
1answer
137 views

Can I delete .dylibs in usr/lib after uninstalling Homebrew?

I am in the process of uninstalling Homebrew from my Mac Lion 10.7.5. I see that there are 181 .dylibs in the Macintosh HD/usr/lib folder that has the same "date created" when I installed Homebrew. ...
1
vote
1answer
366 views

How to delete python interpreters

So, I made a few bummers while installing latest version of Python. Somehow I have managed to install Python more than once, and now I have several Python interpreters lying around (at least I have a ...
6
votes
2answers
9k 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 ...
0
votes
1answer
281 views

Issue with RVM conflicting with Brew?

Please bare with me as I am not an expert on bash. In fact I'm fairly new to OSX < 1 year. I ultimately would like your help to get my system configured optimally, thus removing unnecessary tools. ...
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
3answers
6k 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: ...
1
vote
1answer
271 views

Python IDLE won't launch - (Using MAC 10.8.5 /Python and UNIX noobie)

Months ago, I installed Python 2.7 on my MacBook Pro (OS 10.8.5) and was using IDLE to run programs for classes I was taking on Udacity. One morning IDLE would no longer start, it would just bounce ...
0
votes
1answer
1k views

How does one change the editor that brew uses?

When I run brew edit _some_formula_, it opens up vim. I tried changing the $EDITOR variable of my terminal to emacs, but it still uses vim. How can I change the editor that brew uses when calling brew ...
2
votes
1answer
293 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? ...
5
votes
1answer
4k 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 ...
4
votes
2answers
629 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, ...
1
vote
0answers
182 views

How can I get Homebrew and MAMP (Pro) to play nicely together?

I am using MAMP Pro for most of my local application development and am trying to install ruby , etc via homebrew however homebrew will give me the following warning: Warning: "config" scripts exist ...
3
votes
1answer
811 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 ...
5
votes
1answer
5k 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 ...
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 ...
0
votes
1answer
38 views

Exact location of usr/local

I can't seem to find the exact location of usr/local on OS X. I want to install homebrew because I installed it in a bad way and want do do a reinstall. Homebrew recommends installing in usr/local ...
0
votes
1answer
251 views

How can we “persuade” fink, port, & brew to coexist in parallel on OSX Mavericks?

We like to use brew, but it doesn't have a lot of gnome toolset formulae, and we can install a gnome-terminal very quickly with FinkCommander. We've built various parts of gnome from scratch, but ...
2
votes
1answer
136 views

How can I fix a partial Homebrew installation OSX 10.9?

Im new to command line stuff and I was trying to install Homebrew in order to install gstreamer on my Mac. I was following instructions and got to the point where brew doctor gave me a list of errors ...
1
vote
1answer
95 views

Homebrew, spotlight and upgrading software under /usr/bin/

My OS X comes with a version of git installed in /usr/bin. However, this version is older than the official stable one. I would like to upgrade it. Can I use Homebrew to upgrade this version? Or ...
0
votes
1answer
210 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 ...
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: ...
2
votes
0answers
373 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 ...
3
votes
4answers
6k 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 ...
1
vote
1answer
76 views

Managing Subversion installs on OS X

I'm fairly new to OS X. I've updated SVN on my Mac using Homebrew. I now have a copy of svn in /usr/bin (v1.7.10) and a copy in /usr/local/bin (v1.8.5). This copy is a symlink to ...
19
votes
2answers
10k 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
5k 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 ...
1
vote
1answer
322 views

Installing ffmpeg through Homebrew with options fails

Trying to install ffmpeg on osx 10.8.5 using homebrew. If I perform a default install without optional stuff it installs just fine. But if I want to add an optional component it fails with the ...
9
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 ...
1
vote
0answers
193 views

Homebrew with custom CFLAGS

How do I compile some specific package with my custom CFLAGS? Other searches suggest that I should just edit the formula by hand but I don't want to do because I want a solution that easily works in ...
54
votes
2answers
8k 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 ...
0
votes
2answers
1k views

Undefined symbols for architecture x86_64: Mac OSX when installing ImageMagick

I am trying to install imagemagick and on my snow leopard MacOSX with homebrew. when i run: sudo brew install imagemagick it breaks at this point with the following error log. ld: warning: ...
1
vote
1answer
765 views

Errors installing ocaml using homebrew on OS X

I'm trying to install objective-ocaml on my Mac to compile another application (Unison) I would like to install however I'm getting errors doing so. imrans-mac:/ Imran$ brew doctor Warning: You ...