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

learn more… | top users | synonyms (1)

59
votes
5answers
124k views

How do I install GCC via Homebrew?

I am using Homebrew exclusively (i.e. I don’t, and won’t, use MacPorts or Fink). I also want to keep manual installations to a bare minimum.1 … But how can I install GCC? First of all, I’ve of ...
18
votes
2answers
15k views

Amending PATH so that /usr/local/bin is ahead of /usr/bin

I'm trying to install brew but get the following warning: Warning: /usr/bin occurs before /usr/local/bin This means that system-provided programs will be used instead of those provided by Homebrew. ...
83
votes
13answers
85k views

Write in NTFS using Mavericks [duplicate]

I was able to read and write NTFS filesystems normally in Mountain Lion, but after the upgrade this stopped to work. I installed ntfs-3g and fuse4x using homebrew in Mountain Lion and followed the ...
29
votes
7answers
76k views

How to download the Command Line Tools for Xcode without the Downloads for Developers webpage?

I'm trying to install the Command Line Tools for Xcode so that I can use homebrew to install some packages I need for some rudimentary programming exercises; I would rather not install the entirety of ...
65
votes
4answers
19k views

Is it safe to upgrade Bash via Homebrew?

I'm new to OS X. I'm running OS X Lion on a MacBook Pro. Is it safe to upgrade the bash shell using Homebrew: $ brew install bash If safe, how do I make it the default instance of the shell I run ...
15
votes
2answers
47k views

How to cleanly remove Homebrew

How can I cleanly remove Homebrew. I might have a faulty older installation, and I'd like to have a fresh start.
105
votes
4answers
54k views

What are pros and cons for MacPorts, Fink and Homebrew?

I'm just migrating from Ubuntu Linux to Mac, and everything is new and I'm re-learning a lot of stuff. On Linux I had the excellent apt-get to manage software packages. I googled for an alternative ...
67
votes
5answers
74k views

Are my permissions for /usr/local/ correct?

I’m using HomeBrew for my port needs (seems a bit “cleaner” than MacPorts). I can install without sudoing (which is great), but the man linking step seems to require it (/usr/local/share/man/man3 ...
69
votes
8answers
77k views

How to properly update git on mac?

I have installed the newest version of git (1.8.3) using homebrew but when I type git --version in my terminal, it prints: git version 1.7.10.2 (Apple Git-33) What should I do to replace the old ...
38
votes
3answers
18k views

Is there a quick way to relink my homebrew kegs?

I just upgraded my MacBook Air to Mavericks. The process appears to have removed almost all of the symlinks that homebrew put in /usr/local/bin. As I notice things missing then I relink them via ...
14
votes
5answers
55k views

How to set gcc 4.8 as default gcc compiler

I recently installed gcc 4.8 using brew on OSX 10.7.5 (Lion). I can now compile using gcc 4.8 by using g++-4.8 some_file.c or using the default gcc 4.2 by using g++ some_file.c I want to use gcc ...
31
votes
2answers
10k views

Where does homebrew log?

Does homebrew keep logs, and if so where? I did a brew update which broke python support in macvim, and now I can't even get macvim to build. I'm hoping that there are some clues in the log.
16
votes
1answer
9k views

How to cleanly remove MacPorts

I'd like to cleanly remove all changes made by MacPorts as well as MacPorts itself, to try my luck with homebrew. How can I do that?
4
votes
1answer
5k 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 ...
2
votes
2answers
467 views

How to limit the bandwidth on a per-application (or per-process) basis in OS X Yosemite?

Whenever I use Homebrew or Apple Store to download a large application, it sucks all my available bandwidth and I am then unable to browse the web. How can limit the bandwidth per-application or per-...
6
votes
2answers
6k views

Disabling /usr/bin/svn to use brew installed svn

I use Lion, and the svn /usr/bin/svn is 1.6 version. As I need to use subversion 1.7, I installed svn from brew to be installed in /usr/local/bin/svn. How can I disable the svn* files so that I can ...
1
vote
1answer
1k views

Making Homebrew and R.app live together happily

I just upgraded to Mavericks (10.9.2) and after years of using MacPorts I decided to use Homebrew. I successfully installed Homebrew, but brew doctor shows: brew doctor Warning: Unbrewed dylibs were ...
4
votes
2answers
584 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 ...
57
votes
5answers
28k views

Homebrew permissions & multiple users needing to brew update

I'm using Homebrew to manage package installs on Lion (Lion Server actually but this shouldn't matter). Homebrew was installed under one user. Now a different user would like to add a package and ...
36
votes
4answers
20k views

MacPorts vs. Fink vs. Homebrew [duplicate]

I always used MacPorts to install and maintain my GCC compilers and other programs. Now I've heard about Fink and Homebrew. It seems these two utilities are gaining ground in the Mac community, but I ...
5
votes
2answers
1k 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 ...
13
votes
1answer
5k views

Updating everything installed through Homebrew on Mountain Lion [closed]

After updating to 10.8 ‘Mountain Lion’ I’m wondering whether it would be vise to rebuild everything I have installed through the packaging system Homebrew (similar to MacPorts) to ensure all ...
11
votes
1answer
3k views

Stuck on blue screen after running “rm *” in /

I accidentally executed rm * on / and since then I am unable to see my desktop. All I see is a blue screen with spinning gear. Irony is I somehow missed my OS and other CDs too that came with my Mac. ...
5
votes
5answers
2k 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 /...
4
votes
2answers
549 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 ...
10
votes
2answers
2k views

Migrating from MacPorts to Homebrew. Is there any specific advice in how to minimize disruption?

I want to stop using macports, and use homebrew instead, I have been reading on their approach and it makes more sense to me. Now, I don't care much about having to reinstall my packages, even if some ...
8
votes
4answers
7k views

Set macvim as default application after homebrew installation

I've installed macvim via homebrew. This is working fine. But when it commes to choose a default application for a new file type I cannot see MacVim. How can I set MacVim as the default application ...
8
votes
2answers
5k views

Install Homebrew package and ignore md5 hash

I am trying to install some software using homebrew, and when downloading and trying to install one of the dependencies, the package won't install because of an MD5 mismatch. Is it possible to get ...
5
votes
1answer
3k views

How to install and use GNU Grep in OSX

I have coreutils but I am not sure if GNU grep is there. I just want to use the flag -P for Perl regex that is found in GNU grep, but not in BSD grep. My PATH is /usr/local/opt/coreutils/libexec/...
4
votes
4answers
11k 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
658 views

How best to isolate my development environment on OS X?

What is the current best practice for setting up a development environment on OS X? I recently got a new Mac with OS X 10.10, Yosemite. I'm familiar with homebrew, and from my Linux experience, ...
2
votes
5answers
3k views

Unable to install software packages using Home Brew

I am unable to install any software packages using homebrew. I get the following error when I try to install any softwares. Rahuls-iMac:local rahuljeevanandam$ brew install mysql ==> ...
2
votes
3answers
579 views

How can I compare file structures before and after a software install?

I'm writing a new formula for Homebrew for some software I maintain and as part of my testing I'd like to ensure that files are only added to the correct places on install and that all files are ...
2
votes
3answers
2k views

Minimal Xcode installation without iOS SDK

I am in the progress of switching my MBP to run off an SSD, so I’ve been looking of ways to save harddisk space. Xcode with the iOS SDK weighs around 10GB, and since I don’t really use the iOS SDK for ...
1
vote
1answer
970 views

Homebrew says my Python installation could cause issues and I'm not sure what to do

I'm just getting started with web development and I'm trying to set up my environment, and I can't do that until Dr Homebrew has discharged me from N00bcake Hospital. This is what I'm getting: ...
0
votes
1answer
575 views

Brew Install Rtorrent not Working

I am unable to brew build rtorrent. Could someone tell me what I need to do to get this to work? Things I have done - brew doctor brew update brew upgrade --all Error - ld: symbol(s) not found ...
7
votes
1answer
12k 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: ...
3
votes
1answer
360 views

Permanently saving changes to $PATH [duplicate]

I have ruby and homebrew running for a while and I'm starting to play with Bash. I have encountered a problem with my PATH variable as echo'd: /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/...
2
votes
2answers
440 views

pygame installed through homebrew does not work?

I ran brew install pygame, it installed it together with all the dependencies. Python v2.7.10 / OS X version 10.11.2 Whenever I import pygame in a script it says this Traceback (most recent call ...
2
votes
4answers
2k views

How do I install Homebrew on Tiger?

According to this previous question, I want to install Homebrew Tiger branch on my iBook running ... well, Tiger. Unfortunatly, when running the Ruby one-liner, ruby -e "$(curl -fsSL https://raw....
2
votes
2answers
886 views

What is the best Homebrew version for an iBook running Tiger?

I have an old iBook running Mac OS Tiger, and I want to install the Homebrew package manager on it. Which branch should I choose ? The Tiger one? The PPC one? Another one?
1
vote
1answer
585 views

How can I use an app after installing it via `brew pull`?

Because of a reinstall of the OS and a not perfectly migration of my data I had to reinstall a few things. Under these things were homebrew and truecrypt. brew doctor doesn't show any problems now. ...
1
vote
2answers
117 views

To install Gnufind in OSX?

I run brew search gnufind and I get No formula found for "gnufind". Searching pull requests.. so no gnufind with the request. I think it must have a different name. I run brew search find ...
1
vote
1answer
1k views

how to debug configure.sh errors when compiling rsync on Yosemite

I am trying to build myself a new version of rsync 3.1.1 under Mac OS 10.10.3, as the mac comes with an older version, and the project does not distribute binaries. I followed this simple script but ...
1
vote
1answer
4k views

Nokogiri gem fails to install in OS X Mavericks

Install fails showing: checking for iconv_open() in iconv.h... no checking for iconv_open() in -liconv... no checking for iconv_open() in -liconv... no checking for libiconv_open() in iconv.h... no ...
0
votes
1answer
43 views

Need some basic enlightenment about using PHP

Actually I have been programming in PHP for a while, but my experiences about PHP is through VPS or some local environment like XAMPP. I was trying to install xDebug/homebrew when I come across this ...
0
votes
1answer
494 views

How to completely remove homebrew?

I am seeking for the equivalent of rvm implode In the Ruby rvm world rvm implode completely uninstalls everything ruby related installed via rvm, including rvm too. Is there anything similar for ...