System for installing command-line Unix applications and tools on OS X. Free and open-source.

learn more… | top users | synonyms

5
votes
5answers
1k views

Why can't I use .app bundles symlinked into /Applications as default in the 'open with' dialog?

I have installed emacs with homebrew, with the --cocoa flag, which makes homebrew create an .app bundle in /usr/local/Cellar/emacs/<version>/Emacs.app. I have symlinked the .app bundle into ...
5
votes
4answers
4k views

How can I remove dependencies recursively in Homebrew?

I'm trying out Homebrew, but I can't seem to figure out when uninstalling a 'formula', how to recursively remove the dependencies as well. I.e. Macports is: $ port uninstall --follow-dependencies ...
5
votes
1answer
2k views

how do I write a homebrew recipe?

What are the key features of a homebrew recipe? If I want to contribute a recipe, e.g. this one for udunits to the the hombrew-science repository, how would I convert a command-line script like ...
5
votes
2answers
2k views

ffmpeg giving error on launch in Mac OS X Lion 10.7.1

I installed ffmpeg 0.8.5 in my Mac OS X Lion 10.7.1 with Homebrew brew install --use-gcc ffmpeg It installed without any error. But, now when I run, it gives the following - dyld: Library not ...
5
votes
3answers
3k views

Need help using Homebrew 'Services' command

I installed MongoDB using homebrew recently. A few articles on the web advise to start mongo using the following command, brew services start mongo But when I use this command, I get the following ...
5
votes
2answers
861 views

packages installed with Homebrew not found after restore

I got a new Macbook Pro and restored from the backup, all of my packages are in still there and the path is still correct, but when I type a command that was installed on the previous system it ...
5
votes
1answer
511 views

I got an image on terminal from the output of homebrew package manager

I got a strange image from the output of brew like this . I'm curious about this behaviour. Is this a feature of brew or the image comes from some special character set? If a character in some ...
5
votes
3answers
19k views

Should I be worried about 98°C CPU temperature on MacbookAir?

I'm a developer and often times I need to compile some packages or maybe even run some codes for couple of hours. Recently I have noticed that whenever I use Homebrew to install something, it ...
5
votes
1answer
1k views

How can I use RSVG with ImageMagick?

I'd like to use the RSVG for SVG processing in ImageMagick (the included library is fairly incomplete). RSVG is a supported delegate but needs to be installed separately. I've installed librsvg and ...
4
votes
2answers
3k views

Homebrew wants me to delete /usr/local/lib?

From the Homebrew installation page : We recommend you delete /usr/local/include and /usr/local/lib But my /usr/local/lib contains the following files: $ ls /usr/local/lib charset.alias ...
4
votes
2answers
171 views

Homebrew - Upgrading software in /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 ...
4
votes
1answer
5k views

How to use Homebrew to install local archive

I'm trying to use Homebrew to install wget, but something is happening where the download is always corrupt. This happens for all packages, not just wget. I can download the tar.gz fine through a ...
4
votes
4answers
8k views

Homebrew: SHA1 Mismatch Even After Update

Mac OS X 10.7.4 (Lion) Homebrew 0.9.2 Fresh install of Homebrew. No program will install on its own—the expected hash signature never matches the actual one, for whatever reason. The only answer I ...
4
votes
2answers
5k views

Installing Homebrew on Lion

I am trying to install Homebrew on Lion but keep getting an error. $ /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" I run the above code, which results in: ==> This script ...
4
votes
1answer
3k views

How to install vim 7.4a with homebrew

I installed vim with homebrew on my macbook brew install macvim but the version I wish was 7.4a, the latest beta release, how can I install it?
4
votes
1answer
2k views

Homebrew installed libraries, how do I use them?

I'm a bit confused. I've installed a bunch of libraries (e.g. vtk, gsl,...) that I need for a c++ project for school. I used homebrew to install them (luckily there were formulas available). My ...
4
votes
2answers
417 views

How can I integrate Homebrew with non-managed software in /usr/local?

I'm about to switch over to the Homebrew package management system, and almost everything looks very simple. However, I've been using this computer for a while, and so I already have a bunch of stuff ...
4
votes
1answer
2k views

To install Brew's ImageMagick and fix its Symlink

Assume you installed Imagemagick by brew install imagemagick but it does not get into your PATH. For example, I run unsuccessfully compare since imagemagick is not in PATH: -bash: compare: ...
4
votes
1answer
2k views

Need help with update to latest Git using Terminal

I was trying to update to the latest Git version in my Terminal. I've no clue what I did and all I remember was that I removed the previous installed Git I think because when i run the following ...
4
votes
4answers
4k views

phpMyAdmin 403 Forbidden Error after upgrade to Yosemite

I upgraded my Mac to Mac OS X Yosemite. I had a AMP stack installed via Homebrew on Mavericks and it worked fine. After upgrading to Yosemite, I have the following problems: when trying to load ...
4
votes
3answers
2k views

Homebrew warning: “No developer tools installed” even though Xcode is installed

After installing Homebrew the "brew doctor" command returns: Warning: No developer tools installed. You should install the Command Line Tools. Run `xcode-select --install` to install them. …and I ...
4
votes
1answer
3k views

Installing Homebrew: .git already exists

I should mention that I have no idea what I am doing :) So, sorry if this is confusing. I am trying to install Homebrew with this command /usr/bin/ruby -e "$(/usr/bin/curl -fsSL ...
4
votes
1answer
159 views

Determine flags that were given for packages installed with homebrew

Is there a way to check what flags were given when a package was installed with homebrew? For example, the emacs formula has an absurd number of flags. If I did brew install emacs --with-glib ...
4
votes
1answer
147 views

Difficulty setting the 'Open with app' to an alias

I am trying to set MacVim, installed via homebrew, to be the default HEX file editor. I started this task by creating an alias to MacVim.app located in /usr/local/Cellar/macvim/7.3-61 and placing the ...
4
votes
1answer
4k views

Homebrew PATH error Mac OS X 10.6.8

So I've found this wildly helpful blog (http://blog.wyeworks.com/) and managed to muddle my way to step 5 (after leaving ridiculous comments after getting stuck on step one) $ brew install ...
4
votes
1answer
807 views

Can homebrew and macports work together to let Firefox-X11 be installed?

I want to install firefox-x11 but theres no repo in homebrew, only macports seems to have one, hence I'm at a loss how to get firefox-X11 on a system that relies on homebrew for OSS. The way I'd ...
4
votes
5answers
2k views

Can't install Homebrew on Mac OS X Lion

I followed the simple instructions on Homebrew's homepage: Paste this at a terminal prompt: /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" But I get the following permission ...
4
votes
2answers
6k views

Change compile configuration of package installation in brew

How can I change the compiler configuration when I use brew install? I want to compile vim with +farsi using brew. But it seems that +farsi is not available options in brew: $ brew install +farsi vim ...
3
votes
2answers
358 views

Removing the builtin command-line utilities from PATH, zsh

Okay, so I'm a Linux power user, that is I feel most at home when I have access to the command-line, and I'm very much used to using GNU coreutils, so now that I've installed GNU coreutils on Mac OS X ...
3
votes
1answer
4k views

Missing glibtoolize

One package I want to install (lua-posix) needs glibtoolize, where do I get that? I installed XCode and that Development Console Tools stuff, brew doctor is happy, and according to the them, ...
3
votes
4answers
16k views

How to install rpm tool on Mac OS X 10.8?

How to install rpm tool on OS X? Brew doesn't have it yet and the binaries I found so far are too old (not intel 64bit).
3
votes
1answer
6k views

LSOpenURLsWithRole() failed with error -10810

Downloaded and installed the AirStream application, and when I launched it nothing happens. In Terminal the output is $ open /opt/homebrew-cask/Caskroom/airstream/latest/AirStream.app ...
3
votes
1answer
1k views

Backing up Homebrew Cellar

I decided to reinstall my Mac from scratch recently, and since then I've been working on ways to more effectively organize everything, image/partition my data and do recovery. I discovered Homebrew ...
3
votes
1answer
2k views

How to repair Homebrew permissions after installing as root?

I run brew as root, now it's defunct. No updates anymore. How to fix? $ brew update && brew upgrade error: Unable to append to .git/logs/HEAD: Permission denied error: Unable to append to ...
3
votes
1answer
5k views

C compiler with openmp support on Mavericks via Homebrew

I need to have a C compiler with openmp support. I installed gcc49 via Homebrew but still the configure script of the library I like to install (nfft) complains: You don't seem to have a C compiler ...
3
votes
2answers
2k views

What build flags are available for brew install of gcc?

I'm curious as to what build flags are available to me when installing gcc 4.8 using brew. This question explains how to install gcc 4.8 using brew, but only specifies two possible flags i.e ...
3
votes
2answers
4k views

Homebrew gives a warning: “You have MacPorts or Fink installed”

I just got a new Mac Pro with OS X 10.9. When I run: brew doctor I get the warning: Warning: You have MacPorts or Fink installed: /opt/local/bin/port This can cause trouble. You don't have to ...
3
votes
1answer
437 views

List of GNU packages for homebrew

My team is working with Mountain Lion MacBook Pros, and we're using the GNU CLI tools, like wget and watch, intensively. Whenever a new team member joins us, we tell the new hire to install homebrew ...
3
votes
2answers
455 views

ssh fails: image not found [preauth]

When I try to SSH to my computer, ssh fails with this error: Mothership:~ kuyan$ ssh kuyan@localhost Connection closed by ::1 This also happens when I attempt to SSH to my user from another ...
3
votes
2answers
5k views

How do I uninstall imagemagick from Mac OS X?

I have ImageMagick installed on my Mac. I manually installed it and the dependencies. However, it is causing some problems with brew doctor, so I would like to just uninstall it. After uninstalling ...
3
votes
1answer
2k views

How can I `brew prune` multiple entries?

After many calls with the Apple support, they told me I should reinstall the OS and restore my stuff with the migration assistant. I did it and almost everything works fine so far. Only brew doctor ...
3
votes
2answers
2k views

How to install imagick via homebrew?

I am trying to install imagick using homebrew. The issue is that MagickWand libaries cannot be found. $ brew install php54-imagick ==> Downloading http://pecl.php.net/get/imagick-3.1.0RC2.tgz ...
3
votes
1answer
26 views

“brew formula” installation logs

Sometimes I install a formula with Brew, and I get a series of warnings and notifications. At some point later, I want to go back and read what problems the installation found. Does brew ...
3
votes
1answer
2k views

How to fix multiple errors when installing Homebrew on OSX Lion (mainly OSXFUSE and Mono related)

I'm trying to install Homebrew but I'm getting multiple errors when brew doctor is run. I'm a complete noob at this and I've tried uninstalling Homebrew and re-installing, but still not working. ...
3
votes
1answer
316 views

Launch XQuartz app via Automator

I'm trying to launch meld (installed via Homebrew) via an app shortcut, ideally ending up in my Applications folder. A recommended way to launch console apps in Mountain Lion seems to be using ...
3
votes
1answer
2k views

Is there a way to get gnome-terminal on Lion?

Is there a port of gnome-terminal, or a way to compile it, or some other program that is typographically comparable, under Lion? There is a typographic difference, and I can't duplicate it in ...
3
votes
1answer
3k views

How to install g++-45 with Homebrew

I have installed gcc45 by using brew tap homebrew/versions & brew install gcc45. However, I can not find g++-4.5 in /usr/local/bin. How can I install g++-4.5 separately by Homebrew? Thanks. My ...
3
votes
1answer
1k views

brew doctor get warning on opencv

i'm new to mac os x. i read that homebrew is a good packet manager and i have tried it. i have also read that to install opencv 2.4 i have to follow those steps: install cmake via homebrew download ...
3
votes
1answer
3k views

Unknown terminal 'xterm-256color'

Keep getting a message in Terminal saying tput: unknown terminal "xterm-256color" This message typically appears when running homebrew, and while I can swear it's popped up on other places, I ...
3
votes
2answers
6k views

How to upgrade Apache 2.2 to 2.4 in MacOSX Mavericks

My ISP has upgraded the server to Apache 2.4.9 from 2.2.xx. It has broken a couple things in my setup and I want to bring my local copy of Apache 2.2.26 to 2.4.9 so that I can test locally. I've been ...