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

learn more… | top users | synonyms (1)

2
votes
1answer
4k views

“Could not resolve host: github.com” error while updating Homebrew after installing git

I'm using OS X Lion (10.7.2). I installed Homebrew on my Mac, and I executed the command below. $ brew install git and then: $ brew update error: Could not resolve host: github.com; nodename nor ...
1
vote
1answer
250 views

Symlink to the latest version formula directory in Homebrew

I'm kinda just starting with OS X and Homebrew, yet I find it very useful. However I have one problem: is there a way to make Homebrew automatically create a symlink to the directory of the latest ...
1
vote
2answers
173 views

Installing the iLBC codec (libilbc) on Mac OS X for use with FFmpeg

I'm trying to use FFmpeg to encode files with the iLBC codec, e.g.: ffmpeg -i audio.wav -ar 8000 -acodec ilbc audio.lbc -y This worked fine on Windows, however on Mac OS X I'm getting the error ...
1
vote
1answer
633 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 ...
1
vote
1answer
2k views

brew hanging (seemingly frozen) when installing boost for nearly an hour

Brew has been hanging on this step for maybe an hour while trying to install the boost homebrew package: ./b2 --prefix=/usr/local/Cellar/boost/1.54.0 --libdir=/usr/local/Cellar/boost/1.54.0/lib -d2 ...
1
vote
2answers
2k views

Vim: Step by step guide on upgrading/updating vim on Mac OS X Mountain Lion with Homebrew

What is a good step-by-step guide on installing the latest version of Vim on a Mac Mini with Mountain Lion? I would prefer to use Homebrew but it's not necessary. And, I would like for it to be as ...
1
vote
3answers
1k 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, ...
1
vote
1answer
484 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 ...
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 ...
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 ...
1
vote
2answers
1k 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 ...
1
vote
1answer
264 views

Why doesn't git-svn respect my $PATH?

I have installed git and svn with homebrew on my mac running 10.7.4. There are two versions of svn on my machine and I have set up my path to check for homebrew things first. Unfortunately git is ...
1
vote
1answer
542 views

Error related to pkg-config when installing frei0r as part of another package

I am trying to build https://github.com/mltframework/shotcut on OS X Lion (using their script in scripts/build_shotcut.sh) and after numerous hurdles I'm stuck on this error: ./configure: line 16062: ...
1
vote
1answer
1k views

brew doctor giving error on a directory that has been removed

I just installed homebrew and as suggested, I ran the brew doctor command. I am linux newbie and do not know how to fix most of these things. But I would like to ask especially about the following ...
1
vote
1answer
1k views

How to commit a change to a homebrew formula?

I made a change to some homebrew formula which fixes an issue I had. I also opened an issue to get that fix into the repository. But no one has responded yet. Now I want to update my homebrew ...
1
vote
1answer
44 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?
1
vote
1answer
88 views

Use specific version of package per directory with Homebrew on Mac

I often find myself switching to a specific version of a package installed with homebrew when switching projects. $ cd ~/Desktop/projects/project1 $ brew switch phantomjs 2.0.0 Cleaning ...
1
vote
1answer
26 views

Logs of Gnuplot for startupt?

I have now many times uninstalled and installed different gnuplots. However, now, the gnuplot with qt crashes in the startup if I simply run gnuplot -e "plot 'data.dat'" The crash occurs such ...
1
vote
1answer
139 views

How to add external library to Homebrew ffmpeg install?

I successfully installed ffmpeg through Homebrew. I want to add additional libraries/codecs. FFmpeg can be hooked up with a number of external libraries to add support for more formats. None of ...
1
vote
2answers
398 views

Clang can't locate Homebrew-installed libportaudio

I installed libportaudio using Homebrew on OS X. The install succeeded and I verified there were symlinks to the actual headers and libraries in /usr/local/include and /usr/local/lib. However, I am ...
1
vote
2answers
833 views

Restore Mac preinstalled Python to standard

I have been hacking away at getting packages to work in my initial coding stages. I only recently stumbled upon virtualenv and found the need to install Python using Homebrew. I have installed ...
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 ...
1
vote
1answer
767 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 ...
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 ...
1
vote
1answer
607 views

How do I get Homebrew to recognize my Git install?

I've installed Homebrew and fixed all of the errors that brew doctor reports, except this one: martinjames$ brew doctor Warning: An outdated version of Git was detected in your PATH. Git 1.7.10 or ...
1
vote
2answers
504 views

Why build of package without brew does not work?

I am trying to build wireshark same way brew is doing it: 13:48 marko@marko-mpbr:/tmp $ brew fetch wireshark ==> Downloading http://www.wireshark.org/download/src/wireshark-1.8.6.tar.bz2 Already ...
1
vote
2answers
828 views

Error when installing CouchDB on OS X Mountain Lion

I'm trying to install CouchDB on Mountain Lion. I've followed the guide at http://wiki.apache.org/couchdb/Installing_on_OSX I get to the point where I have to do brew install couchdb, but when I do ...
1
vote
2answers
2k 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 ...
1
vote
1answer
286 views

Do I need to restore directory permissions to their state prior to a reverted homebrew installation?

I'm trying to back out of a homebrew installation on OS 10.8.2 and am not sure I understand what I need to do to (or whether I need to bother to) restore permissions to what they were before the ...
1
vote
2answers
6k views

Openssl installation using HomeBrew fails giving a make error

I am using HomeBrew as a package manager. The operating system that I am using is Mountain Lion. I just tried to install openssl using the command : brew install openssl What I am getting is the ...
1
vote
2answers
240 views

Homebrew slows my terminal down on startup

I've had some issues with my terminal being extremely slow while starting up (both new windows and new tabs), from 10 seconds and up. I've tried deleting the Apple System Logs, but it doesn't help. ...
1
vote
1answer
589 views

Using PostgreSQL on Mac OS X Lion

I just got a new Mac with Lion installed on it. I then installed Xcode (4.1 through the App Store). Next, I installed Homebrew and I was about to do brew install postgresql like I had done on Snow ...
1
vote
1answer
237 views

How to run a command inside a script without specifying the exact location?

So I have a PHP script that is using wget to download some images. It looks something like this: exec('wget -O saveImage.png http://location.of.image'); When I run my script on a different machine, ...
1
vote
1answer
14 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 ...
1
vote
0answers
110 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 ...
1
vote
2answers
121 views

Brew update: error: Your local changes to the following files would be overwritten by merge

I'm very new to homebrew and git. I've done changes to httpd24.rb formula which is in homebrew/apache tap. (Just added the --enable-so configuration argument in the existing formula file) Now when ...
1
vote
0answers
24 views

Skype keeps disconnecting on OSX

I'm having a problem with Skype on OS X Yosemite.. after logging in Skype it keeps disconnecting... I've tried it on 2 different Macs... on multiple different networks... So basically the problem is ...
1
vote
1answer
386 views

Homebrew error in OS X. Bad interpreter: Too Many levels of symbolic links. Undefined error: 0

I've been searching for an answer to this problem for a few weeks now, and while I've seen similar problems, none that I have found have been exactly like the error I'm experiencing. I've tried ...
1
vote
1answer
30 views

Homebrew script to reinstall formulas

I'd like to develop a bash script to capture the currently installed Homebrew formula, then be able to reinstall these formulas in the event that I need to reinstall my OS. I'm hoping to combine ...
1
vote
2answers
97 views

Why can't I add write permissions to this file?

I'm running Homebrew 0.9.5 under OS X Mavericks. My ultimate goal is to compile the source code for a program (not available through Homebrew) which depends on pkg-config. After installing Homebrew I ...
1
vote
1answer
20 views

Ask Homebrew to open URL of a package?

Homebrew packages include a URL to the package webpages. For example: 13:38:39 ~ $ brew info atk atk: stable 2.14.0 (bottled) http://library.gnome.org/devel/atk/ /usr/local/Cellar/atk/2.12.0 (205 ...
1
vote
1answer
99 views

Getting SugarSync to mount homebrewed osxfuse

I'm trying to get SugarSync v2.46 running on OS 10.6.8. I also use Homebrew to manage install packages. After I installed SugarSync, I came to discover that it installed osxfuse 2.6.1 on my system, ...
1
vote
0answers
217 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: ...
1
vote
1answer
369 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 ...
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 ...
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 ...
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 ...
1
vote
1answer
972 views

can Homebrew be used on a Centos computer

I just installed Centos 6.4 minimal on an old computer with an internet connection threw my iMac. Set it up as a development server. Installments required: Nginx, Apache, PHP-5, Mysql, Redis, Mongodb ...
1
vote
2answers
615 views

Change GCC version on Mac OSX Lion

I'm currently running GCC 4.2. I would like to switch to a more recent version. I have Homebrew and I have MacPorts for package management. I've followed several tutorials today for installing a ...