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

learn more… | top users | synonyms

30
votes
4answers
29k 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 ...
25
votes
3answers
14k 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 ...
24
votes
2answers
6k 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 ...
17
votes
3answers
4k 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 ...
16
votes
1answer
8k views

MacPorts vs. Fink vs. Homebrew

I always used MacPorts to install and maintain my GCC compilers (4.4, 4.5, 4.6, 4.7, ...) and gnuplot. Now I've heard about Fink and Homebrew. I think these two utilities are gaining ground in the Mac ...
12
votes
2answers
6k 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. ...
8
votes
1answer
215 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?
8
votes
2answers
4k 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 ...
7
votes
2answers
6k views

How do I force homebrew to update installed software?

I have pianobar installed and I'm trying to update it using brew update pianobar. I also tried brew update pianobar --force but that didn't have any effect. It says that I have local changes, but I'm ...
7
votes
2answers
1k 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 ...
7
votes
4answers
994 views

What's the best way to install command line utilities such as GIT?

I'm a Windows/Linux guy that just got my Macbook Air. I do web dev, and am currently trying to setup this machine for some on-the-go development. After some research attempts, I'm wondering: what's ...
6
votes
1answer
2k 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 ...
6
votes
4answers
7k views

How to resolve permissions errors on OS X Lion after Homebrew install

I just upgraded from Snow Leopard to Lion and am trying to get Homebrew installed. However after the installation, I run brew doctor per the installation instructions, and see a series of errors ...
5
votes
1answer
639 views

Mencoder on Lion

Is there a way to install mencoder on Lion, preferrably using homebrew?
5
votes
2answers
1k 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
137 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 ...
4
votes
2answers
502 views

Installing Xcode via command line

I am a Linux user and have never used OSX before. I need to help someone install some stuff on an OSX "Lion" server, and I asked him to give me an SSH shell, assuming that would be sufficient. However ...
4
votes
1answer
409 views

How can I prevent Homebrew from installing a duplicate of software I installed through other means?

I like using Homebrew for installing Unix software on my Mac, and appreciate that it doesn't try to install multiple copies of things like Python. There are some packages I've already installed ...
4
votes
2answers
4k 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
2k 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
4answers
286 views

What would I lose if I needed to reinstall from a Time Machine backup?

Is there a list somewhere of the areas of the hard drive that aren't backed up by Time Machine? And does reinstalling from Time Machine install everything from the backup or just parts of it? I like ...
4
votes
2answers
2k views

Installing wine with homebrew

So, I am running a bit of a different install. Here's the background: I have installed wine before with MacPorts. Later, I decided to install homebrew. Then, wine didn't work so I tried brew install ...
4
votes
1answer
332 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 ...
3
votes
2answers
1k 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 ...
3
votes
5answers
815 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 ...
3
votes
2answers
2k views

How do I install MacVim?

How do I install MacVim on Mountain Lion? I want to get the MacVim application, as well as the new command-line vim. I see there are several ways to do it (a snapshot from Google Code, via ...
3
votes
2answers
927 views

How to know what packages are available with (home)brew?

I am new to Mac coming from Ubuntu Linux background. How do I find out what packages are available for Homebrew? With Ubuntu I could search packages.ubuntu.com for example, or Google since its using ...
3
votes
1answer
85 views

How should I fix my Homebrew installation after upgrading OS X?

Context My employer gave me a MacBook Pro for development work; however, most of the development work I do in my research group is for Linux platforms, and for a host of policy reasons, I can't ...
3
votes
1answer
160 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 ...
3
votes
2answers
3k 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
475 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.
3
votes
3answers
5k 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 ...
3
votes
1answer
2k 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
1answer
798 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 ...
3
votes
2answers
531 views

OS X Lion Server multiple postgresql installs

I am using Homebrew to install PostgreSQL on my Mac mini server (Lion). However, I am unable to run the version I have installed, the only version I see running is the version installed with OS X: ...
3
votes
3answers
1k 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 ...
3
votes
1answer
406 views

How can I install Octave with curl support via homebrew?

I've installed octave with homebrew (via brew install octave), and it seems to work fine, including gnuplot support. However, it looks like it's missing curl support. I'm getting the message "error: ...
2
votes
4answers
451 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 ...
2
votes
3answers
345 views

How can I get Xcode to install under Lion?

I'm slightly confused under Lion as to how to get dependencies in place for Homebrew. It wants Xcode in place, and I can go to the app store and click on "Install", and it dutifully says ...
2
votes
3answers
1k 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 ...
2
votes
1answer
250 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 ...
2
votes
1answer
30 views

How can I (re)create development and build tools on a corrupt installation?

On my previous computer I had Xcode working nicely; on my present computer, with Homebrew installed, gcc and make are present in /Developer/usr/bin but not /usr/bin. On the whole when I try to ...
2
votes
1answer
950 views

Homebrew doctor warning: you have unlinked kegs in your Cellar

How do you fix this? $ brew doctor ... Warning: You have unlinked kegs in your Cellar Leaving kegs unlinked can lead to build-trouble and cause brews that depend on those kegs to fail to run properly ...
2
votes
4answers
950 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 ...
2
votes
2answers
37 views

Alternative to “luit” which is available via homebrew

I have a few legacy commands which I need to run in the terminal. Unfortunately they only work with ISO-8859-1 encoding being used. For now I manually switch the terminal encoding, but that bugs me. ...
2
votes
1answer
138 views

ssh fails: image not found [preauth]

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

Is the “Cellar” folder only used for Homebrew?

So if I am not using Homebrew, I can safely remove it?
2
votes
1answer
2k 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
1answer
159 views

Run x11 app from dock

I have an app in /usr/local/bin directory and can not drag it onto the dock and have to open Terminal everytime I want to run this program. Is it possible to run a macported/homebrewed application ...
2
votes
1answer
72 views

Homebrew: change name of group ownership in /usr/local/ so admins and standard users can brew

I have a local admin user and a few "network" mobile users (without admin privileges) who need to be able to brew on a Mac. So, these 'network' users are not members of the group admin and probably ...

1 2 3