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

learn more… | top users | synonyms (1)

3
votes
2answers
451 views

Can't compile tmux with iTerm support

I'm trying to compile the tmux that has iTerm2 support. This is the error I get: configure.ac:105: error: possibly undefined macro: AC_SEARCH_LIBS If this token and others are legitimate, ...
0
votes
0answers
8 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 ...
0
votes
0answers
3 views

How does one change the editor that brew uses?

When I run brew edit _some_formula_, it opens up vim. I tried changing the $EDITOR variable of my terminal to emacs, but it still uses vim. How can I change the editor that brew uses when calling brew ...
0
votes
0answers
5 views

Homebrew and RVM bickering

Homebrew requires /usr/local/bin to appear before other binary directories in PATH RVM wants to be sourced last The bottom part of my .zshrc: Alternative 1: export PATH=/usr/local/bin:$PATH [[ -s ...
0
votes
0answers
7 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 ...
0
votes
0answers
16 views

Uninstall Homebrew, which isn't located at the standard /usr/local location, completely.

When i've installed rvm a while back, it installed Homebrew, without questioning. My problem was it was installed not to the standard /usr/local location but to the user home directory ~. So far i had ...
-1
votes
0answers
20 views

Homebrew Imagemagick installation aborts with incomplete libltdl package error on Mountain Lion

I am unable to install Imagemagick with homebrew on osx 10.8.5 with the latest xode and cmd line tools installed. After i tried to install Imagemagick with brew install ImageMagick I get the ...
2
votes
1answer
57 views

Mac OSX Mavericks Upgrade Selectively Clears /usr/local/bin

I had been holding off on upgrading to Mavericks for fear that it would break thinks and it seems my fears came true. I had a stock Homebrew install with lots of compiled tools linked to ...
0
votes
0answers
26 views

ImageMagick 'convert' Doesn't Convert JPG to PNG

I'm trying to convert a JPEG to a PNG using ImageMagick. Should be easy, right? What am I doing wrong? ╭ ~/tmp2 ilesm@mb-ilesm.local ╰ % convert -version ...
0
votes
0answers
19 views

Homebrew is not installing on Mavericks

git fetch is failing during installation of homebrew. Has anyone seen this before? Here's the transcript. I've tried removing /usr/local in its entirety, I still get this problem the next time ...
4
votes
1answer
2k 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 ...
4
votes
1answer
3k views

Trying to install MySQL, lots of brew doctor errors

In OS X Lion I couldn't install mysql. I get this when typing brew install mysql Error: You must `brew link cmake' before mysql can be installed so then I type brew link cmake ...
27
votes
7answers
26k views

How should I set the PATH variable on my Mac so the Hombrew-installed tools are found?

Trying to set up Homebrew on a new Mac (on previous Macs I would install packages from source). The first package I tried to install was Git: $ brew install git Installation went OK, but which ...
5
votes
4answers
453 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, ...
0
votes
0answers
26 views

Mavericks: managing paths when using homebrew

I do not have a firm grasp of how paths work. I did a clean install of python with homebrew and had to mess around with the paths, but I am worried that they are not correct as stands. which python ...
0
votes
1answer
31 views

Exact location of usr/local

I can't seem to find the exact location of usr/local on OS X. I want to install homebrew because I installed it in a bad way and want do do a reinstall. Homebrew recommends installing in usr/local ...
1
vote
1answer
51 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 ...
0
votes
1answer
69 views

How can we “persuade” fink, port, & brew to coexist in parallel on OSX Mavericks?

We like to use brew, but it doesn't have a lot of gnome toolset formulae, and we can install a gnome-terminal very quickly with FinkCommander. We've built various parts of gnome from scratch, but ...
0
votes
0answers
47 views

Install octave with homebrew get NO GUI

I have installed Octave with homebrew. Now if I launch from the terminal the command octave it get me a shell but now a gui: ~ octave GNU Octave, version 3.8.0 Copyright (C) 2013 John W. Eaton and ...
2
votes
1answer
26 views

How can I fix a partial Homebrew installation OSX 10.9?

Im new to command line stuff and I was trying to install Homebrew in order to install gstreamer on my Mac. I was following instructions and got to the point where brew doctor gave me a list of errors ...
1
vote
1answer
2k 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 ...
1
vote
1answer
32 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 ...
0
votes
1answer
33 views

I accidentally deleted nano on my Mac OS, how can I restore it?

I had to copy the binary version of nano to my dev server -- and I accidentally deleted my local copy of nano in the process. I tried to recompile nano from the original site, but now whenever I'm ...
0
votes
0answers
116 views

Homebrew does not completely uninstall nginx

I installed yesterday nginx on my machine using brew install nginx Today I would like to remove the software, therefore I tried brew uninstall nginx which has been correctely executed. In fact ...
0
votes
1answer
38 views

What is the djvu2pdf.rb in Homebrew?

I recently downloaded a textbook as a .djvu file (sighs, not a pdf. wth is this). I found a way to view it and a way to convert it on the internet (cool). Recently however, I downloaded homebrew for ...
6
votes
5answers
2k views

How do I alias a Homebrew installed Ruby 1.9 gem binary in /usr/local/bin?

Homebrew's Ruby 1.9 ships with rubygems. Doing gem install ... installs files and binaries into some long-winded path. For example, bundler is installed at: ...
43
votes
5answers
34k 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 ...
1
vote
0answers
34 views

How to brew install a formula using local copy of source instead of the formula's url?

I'd like to install a formula using a local copy (put in the homebrew caches) instead of trying to download the url. In the case where the formula's url is not reachable from the device. (How to use ...
0
votes
4answers
2k views

Homebrew install problems: Permission denied - /Library/Caches/Homebrew/Formula/libksba.brewing

I've been having problems installing Homebrew since changing my home username on my Mac OSX 10.6.8 computer. After removing all files from the previous Homebrew installation since that didn't work, I ...
14
votes
6answers
12k views

How to install matplotlib on OS X?

I want to install matplotlib on OS X. If possible, using homebrew. I installed Python 2.7.1 using brew install python, I modified my path to use it I installed pip using brew install pip I installed ...
0
votes
0answers
71 views

How can I customise grc (generic colouriser) with Homebrew?

I've installed grc through Homebrew on Mavericks. I can't quite understand the readme. What I want to do, for example, is have the terminal output colourise the number at the start of each line when I ...
1
vote
1answer
34 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 ...
10
votes
2answers
5k views

Symlink error when installing MySQL via Homebrew

Trying to install MySQL via Homebrew. The install seems to work fine but i get an error: "Error: The linking step did not complete successfully The formula built, but is not symlinked into /usr/local ...
0
votes
1answer
59 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? ...
11
votes
2answers
4k 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
115 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 ...
8
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 ...
0
votes
1answer
648 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 ...
4
votes
2answers
3k views

How do I restart redis that I installed with brew?

I used brew to install redis (a key/value store database server) for my node.js app. brew install redis However, it seems to disappear and is very volatile. Because I'm using redis as my session ...
1
vote
0answers
82 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
389 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 ...
41
votes
2answers
4k 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: ...
0
votes
0answers
30 views

which command doesn't work after uninstalling fink

I was trying to install something using homebrew.. so it complained that I had more than one package manager (either macports or fink).. so I followed fink's uninstall instructions which instructed me ...
0
votes
1answer
224 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 ...
0
votes
1answer
163 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
3k 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
212 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 ...
19
votes
1answer
13k views

Can't install Brew formulae correctly (Permission denied in /usr/local/lib)

I am installing a few Homebrew packages on a brand new Mac. However, there are some errors while linking: ln: ./libsvn_wc-1.dylib: Permission denied Error: The linking step did not complete ...
12
votes
2answers
10k views

Errors in Homebrew on OS X Lion

I just ran the Homebrew script as described in the installation page. I then ran brew doctor in Terminal, and it returned several errors. I'm not sure how to fix those errors, please help. brew ...