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

learn more… | top users | synonyms (1)

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 ...
1
vote
1answer
329 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
199 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 ...
56
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
842 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
1answer
1k 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 ...
2
votes
1answer
5k 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 ...
0
votes
1answer
807 views

Installing aria2 on OS X using Homebrew fails

I have been a Linux user for a long time now mainly using Debian based systems. Recently I also bought a 15" MacBooK Pro with Retina Display and now, I am trying to install my lovely command line ...
0
votes
1answer
1k views

Install octave using homebrew

I found a blog on how to do this here https://www.nesono.com/node/356 but when I do brew install octave I get Error: No available formula for octave I am on Mountain Lion 10.8.5
1
vote
1answer
767 views

Hosting IRC server on Mac

Not having found any, I stumbled upon this post that explains how to install ngIRCd with homebrew and I decided to give it a try. First off I ran the ruby script and successfully installed HomeBrew: ...
3
votes
2answers
2k 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: ...
1
vote
2answers
640 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 ...
1
vote
1answer
742 views

GNUPLOT on Lion using Homebrew

After upgrading to OSX 10.7.4 I had to reinstall GNUPLOT which is always a hassle. I decided that I would try Homebrew instead of Fink or MacPorts. Ofcourse, before installing Homebrew one needs the ...
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 ...
2
votes
1answer
1k 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 ...
0
votes
0answers
37 views

Uninstalling Homebrew messed up git [duplicate]

I uninstalled Homebrew using http://superuser.com/a/203740. After running the above commands, I can't find .bashrc and .bash_profle. When I do git status on /Users/ava it shows: # On branch master ...
0
votes
2answers
1k views

Uninstalling Homebrew messed up git

I uninstalled Homebrew using http://superuser.com/a/203740. After running the above commands, I can't find .bashrc and .bash_profle. All files are gone from Documents , Desktop and Downloads :'( ...
0
votes
1answer
870 views

Can I install Nautilus on a Mac using Homebrew? (I see it's included in MacPorts but I'd rather not switch.)

As the title says, I would like to install Nautilus on a Mac which is currently using HomeBrew as its package manager. nautilus doesn't appear in the HomeBrew repository. I could try compiling it ...
0
votes
2answers
125 views

Broken OS X terminal prompt after installing GRASS via homebrew

I'm using GRASS on OS X. After installing GRASS I can no longer open my terminal to a prompt. On opening the terminal, the following line runs by itself ...
2
votes
0answers
234 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 ...
1
vote
0answers
113 views

Webalizer via brew, trying to build with libpng15

I updated brew sometime ago and recently tried to run webalizer and now get this error: libpng warning: Application built with libpng-1.2.41 but running with 1.5.10 gd-png error: cannot ...
9
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. ...
2
votes
1answer
3k 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 ...
1
vote
2answers
505 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 ...
0
votes
1answer
57 views

Homebrew not listing Git but it's installed

Ok, so, I've just noticed that when I do a brew list, Homebrew does not list me Git anymore... But, when I try brew install gitit says that Git is already install and my prompt is using the right Git ...
0
votes
1answer
314 views

Possible Homebrew and Rubie issues after the installation of RVM on Mountain Lion

I've installed RVM via the line offered on the rvm.io homepage: curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled In order of the installation process RVM automatically ...
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 ...
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?
0
votes
2answers
477 views

php54 not recognizing php code in file with html extension

For example, echo phpinfo() returns nothing in my .html file but index.php returns with the info wich setting needs to be adjusted? thanks
0
votes
2answers
6k views

How to exit VIM and get back to 'normal' terminal?

I did find this answer here: Vim Stuck In Insert Mode However none of the commands listed worked for me. Exit, cntrl + [, cntrl + q I'm a totally terminal newb, trying to learn how to setup git ...
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 ...
1
vote
1answer
257 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
1answer
616 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
0answers
71 views

Mac: create group for use with mobile & local accounts

I need to create a group that will contain the local admin of a machine and one or more Network (Mobile account) users (from a Mountain Lion Server). I'm wondering where to create the group brewers ...
1
vote
1answer
550 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
508 views

OSX Mountain Lion - .profile doesn't do anything? [duplicate]

Recently tried the package manager Homebrew to grab things like PyQt4. It also recommended grabbing Python; no problem, done. So a simple python at the Terminal window didn't open the recently ...
2
votes
1answer
282 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 ...
57
votes
2answers
40k 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 ...
8
votes
3answers
5k 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 ...
0
votes
1answer
237 views

Upgrading PostgreSQL via Homebrew

I'm attempting to update PostgreSQL from my system's version (9.1.5) to the latest release (9.2.3). I've followed the directions on this railscast and am encountering issues. After installing psql ...
1
vote
2answers
846 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
1answer
273 views

Despotify segfaults when playing song

On my mac I installed despotify using brew install -HEAD despotify when playing a song I get Ouch, I segfaulted. How embarrassing. :-( Abort trap: 6 I have these brew packages installed, I couldn't ...
2
votes
1answer
429 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 ...
0
votes
0answers
157 views

Using Brew in Fish

I'm using the Fish shell in OSX but my brew installation is broken and I'm struggling to get it working again. Below is the error I get when I try to use brew. Any ideas? If I switch shells (back to ...
5
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 ...
3
votes
1answer
6k 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 ...
2
votes
2answers
683 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 ...
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 ...