`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
504 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? ...
1
vote
1answer
386 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 ...
0
votes
1answer
4k views

Can't find zlib when installing other libs with brew

I'm new to both *nix and brew. I tried to install many things with Homebrew, but it always said: configure: error: *** Working zlib library and headers not found *** Then I tried install zlib ...
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 ...
4
votes
2answers
3k views

install GNU m4 1.4 or later on OSX

I'm interested to install GNU m4 1.4 or later into /usr/bin/, I installed Homebrew, like this, ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)", to be able to insall bfgminer, but when ...
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 ...
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
0
votes
1answer
2k 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 ...
1
vote
2answers
2k 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 ...
8
votes
1answer
4k 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 ...
7
votes
2answers
12k 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 ...
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: ...
4
votes
2answers
1k views

How to find out a file belongs to which package in Mac OS X?

Is there a way to find out which Application / package owns or creates a specific file? For example, in Linux these commands will show the package owner apt-file /bin/progname rpm -qf /bin/progname ...
1
vote
2answers
795 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 ...
2
votes
2answers
4k views

Why can't I delete this file?

When I run brew doctor, I get this warning: Warning: Unbrewed dylibs were found in /usr/local/lib. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, ...
1
vote
1answer
4k 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 -...
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
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
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 #...
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 -...
5
votes
1answer
7k views

Install GParted on a mac with Homebrew or Macports?

I'd like to install Gparted on my mac, and I thought I could use Homebrew or Macports to help with that, but I can't seem to figure it out. I tried using Homebrew because I haven't really heard good ...
10
votes
2answers
8k views

Can I install Homebrew without sudo privileges?

Homebrew nicely allows package installations without sudo privileges, but it seems that I need admin privileges to install Homebrew itself. I'd like to install Homebrew in a Mac environment where I ...
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 ...
84
votes
6answers
99k 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 &...
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 ...
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
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
6
votes
1answer
8k 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 /usr/local/Cellar/...
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 ...
6
votes
1answer
2k views

Why did NTFS-3G via Homebrew stop working?

I followed the directions here: NTFS-3G via Homebrew installation If you have [Homebrew][5], installing NTFS support is as easy as running the following in a terminal: brew install ntfs-3g ...
1
vote
1answer
356 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
973 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: ...
1
vote
1answer
749 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
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 ...
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 ...
7
votes
3answers
11k views

How can I install PHPmyadmin on Mac Lion using Homebrew

How can I install PHPmyadmin using homebrew, if that possible. I'm using Mac 10.7. I installed Homebrew, and it's working perfectly. I use it to download php 5.4 and mysql. Both are working perfectly,...
1
vote
2answers
536 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 ...
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/...
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
986 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 ...
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 ...
0
votes
0answers
174 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 ...
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 ...
11
votes
3answers
2k views

Installing Homebrew packages without linking

I'd like to install several versions of Ruby (or really any Homebrew package) without linking any of them. Basically, I'd like to treat any formula as keg-only. I can't seem to find a way to do this, ...
6
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 ...
2
votes
2answers
3k 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 ...
27
votes
5answers
29k views

“FATAL: lock file ”postmaster.pid“ already exists”

I just reinstalled postgres via brew install postgres I ran initdb /usr/local/var/postgres -E utf8 but got this: The files belonging to this database system will be owned by user "atal421". This ...