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

learn more… | top users | synonyms (1)

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
487 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
56 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
306 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
3k 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
402 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
5k 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
222 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
573 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
69 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
516 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
488 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
271 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 ...
52
votes
2answers
34k 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
221 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
761 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
264 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
387 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
142 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
1k 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
616 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 ...
1
vote
1answer
280 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
197 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
759 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 ...
0
votes
2answers
675 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 ...
2
votes
2answers
199 views

How do you set the PATH in your .profile file? [duplicate]

Possible Duplicate: What are PATH and other environment variables, and how can I set or use them? I'm currently trying out Homebrew and it has told me to list it's folder before the default ...
2
votes
1answer
456 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. ==> ...
0
votes
0answers
139 views

Why does Homebrew seem to require a /Developer folder with the Snow Leopard SDK?

I've had Xcode for a while (since Snow Leopard), and I installed Homebrew relatively recently (I currently have version 0.9.3). After an update to Xcode that recommended running an ...
1
vote
0answers
480 views

Octave Install Error on Mac OSX 10.7.5 (using homebrew)

I am trying to install octave on my mac air I have updated my homebrew, as is my XCode and its command line tools. Here is the error I am getting: ==> Using Homebrew-provided fortran compiler. ...
0
votes
1answer
526 views

Accidentally installed two versions of git

I originally had git installed via Homebrew, but on this machine I forgot to setup the bash completion. So when I attempted to download the git source I accidentally installed a second version of git ...
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 ...
1
vote
1answer
349 views

Where are the build settings in Homebrew?

I'm looking for a a settings file in Homebrew for OS X that controls the build settings, similar to make.conf in Gentoo. I want to tweak the make -j parameter to use more cores of my machine. The ...
1
vote
1answer
215 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. ...
2
votes
1answer
2k 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
0answers
387 views

Who should I run mysql as, on a personal computer?

I just installed mysql via homebrew (with brew install mysql, on Mac OS X Mountain Lion - recently installed from scratch). Following the installation, there is a "caveats" section with options around ...
0
votes
1answer
1k views

How to alter my mac os $PATH variable so that I can run the latest php version? [duplicate]

Possible Duplicate: What are PATH and other environment variables, and how can I set or use them? I've just followed this article ...
40
votes
4answers
7k views

How to install software packages on a Mac? (MacPorts, Fink, anything better?)

On my Mac OS X machine, how would you recommend I install command line software and other packages? I've been using MacPorts and it always seems quite slow, presumably because it has to compile the ...
1
vote
1answer
868 views

Homebrew requires something uninstall-developer-folder removes

I was having trouble installing irssi (brew install irssi), so I ran brew doctor, which returned a warning mentioning an outdated copy of Xcode and saying I should run ...
1
vote
2answers
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, ...
12
votes
1answer
4k views

How can I use the Homebrew Python version with Homebrew MacVim on Snow Leopard?

Note: For Mountain Lion, see: How can I use the Homebrew Python with Homebrew MacVim on Mountain Lion? I've installed Python 2.7 with Homebrew on Mac OS X Snow Leopard. When I install MacVim ...
0
votes
1answer
343 views

I cannot get pg-0.14.0 gem installed after Mountain Lion install

I have been trying for some time now to get my Rails development environment back up since I upgraded from Lion to Mountain Lion. The problem is specifically installing the pg-0.14.0 (postgresql) gem. ...
0
votes
1answer
549 views

How do I uninstall iconv from a Mac?

I'm trying to get Homebrew working, and brew doctor returns several warnings, one of which is this: Warning: The following libiconv files were detected in /usr/local: include/iconv.h Homebrew doesn't ...
2
votes
1answer
904 views

Should I change ownership of files in /user/local/share/locale?

I'm trying to install Homebrew, and brew doctor returns a lot of warnings, one of which is this: Warning: Some directories in /usr/local/share/locale aren't writable. This can happen if you "sudo ...