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

learn more… | top users | synonyms (1)

10
votes
2answers
3k 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
242 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 ...
65
votes
2answers
11k 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
2k 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
1k 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
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
967 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
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: ...
1
vote
2answers
793 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
779 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 ...
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 ...
0
votes
0answers
44 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 :'( ...
1
vote
1answer
1k 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
159 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 /Applications/GRASS-6.4.app/Contents/MacOS/...
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 -...
1
vote
0answers
132 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
4k 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
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 ...
1
vote
2answers
535 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
61 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
340 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
547 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
10k 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
354 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
746 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
77 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
593 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
542 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
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/...
78
votes
2answers
57k 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
6k 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
253 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
983 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
297 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
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 ...
0
votes
0answers
173 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 ...
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/...
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 ...
1
vote
2answers
3k 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
1answer
334 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 ...
2
votes
1answer
252 views

How to trigger a script when unmounting a hard drive or restarting?

I've recently installed NTFS-3G through Homebrew in order to access NTFS drives from OSX. There's a slight problem with it: after unmounting the drive, if you take a look at /Volumes/, you can still ...
0
votes
1answer
798 views

Installing Python with homebrew on Mountain Lion

I was trying to follow this tutorial and I got stuck. After issuing the command brew install python --framework --universal I get ==> /usr/local/Cellar/python/2.7.3/bin/python -s setup.py --no-...
0
votes
2answers
1k views

Error when starting MySQL

I installed MySQL with homebrew. When I run mysql.server start I get the following error: ERROR!The server quit without updating PID file (/usr/local/var/mysql... local.pid I have searched this ...
1
vote
0answers
2k views

Homebrew complains about a non-Homebrew “pkg-config” in my PATH

I've just installed Homebrew onto my machine, after which I ran brew doctor which threw up two warnings. I didn't appear to have the command line tools for Xcode installed, which I have now. The ...