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

learn more… | top users | synonyms

54
votes
9answers
47k views

Write in NTFS using Mavericks

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 ...
49
votes
5answers
64k 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 ...
47
votes
2answers
17k 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 ...
35
votes
3answers
8k 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 ...
35
votes
4answers
26k 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 ...
27
votes
3answers
16k 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 ...
22
votes
3answers
11k 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 ...
16
votes
3answers
2k 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 ...
15
votes
2answers
10k 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. ...
12
votes
2answers
3k 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.
12
votes
1answer
4k 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?
12
votes
3answers
4k views

Installing Xcode via command line

I am a Linux user and have never used OSX before. Someone asked me for help with installing some software on an OSX "Lion" server. I asked him to give me an SSH shell, assuming that would be ...
11
votes
6answers
3k views

How do I install “R” on OS X

How do I install "R" on OS X? Ideally using Homebrew? There seems to be very little information online.
11
votes
2answers
10k 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 ...
11
votes
7answers
13k 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 ...
9
votes
1answer
5k views

List of all apps installed using Homebrew

Is it possible to and how do I get a list of all the apps installed on my Mac using Homebrew? I am not interested in apps installed outside of Homebrew.
9
votes
3answers
7k 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 ...
9
votes
3answers
6k 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 ...
8
votes
6answers
29k 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 ...
8
votes
2answers
2k 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 ...
8
votes
2answers
3k 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 ...
8
votes
4answers
14k 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 ...
8
votes
3answers
2k views

Does installing Wireshark via homebrew provide a graphical interface?

I installed wireshark using homebrew with the command brew install wireshark. Everything seems to install fine and I can use dumpcap to capture packets but now I want to view them. Using a text editor ...
8
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 ...
7
votes
1answer
2k views

Mencoder on Lion

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

Is the “Cellar” folder only used for Homebrew?

So if I am not using Homebrew, I can safely remove it?
7
votes
1answer
3k views

TrueCrypt and OSX Fuse

I installed OSX Fuse via Brew, as installing it via official installer causes brew doctor to go all crazy. Mavericks, 10.9.1 I followed the instructions after the installation: brew install osxfuse ...
6
votes
1answer
3k 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
636 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 ...
6
votes
1answer
883 views

How to update some application to latest version with homebrew-cask?

I noticed some packages provided by homebrew-cask uses a url of the latest version and a version number of "latest" such as dropbox and chrome. Thus they will never be upgraded with brew upgrade. Is ...
5
votes
4answers
2k 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 ...
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
1answer
3k 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 ...
5
votes
1answer
1k 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 ...
5
votes
2answers
964 views

What does “brew --HEAD” mean?

I've seen it mentioned several times to fix issues with some packages, that it installs newer versions of packages somehow. But I've been unable to find a clear explanation of what that option really ...
5
votes
1answer
380 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
2k 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
112 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
2answers
1k views

Installing tmux but getting “dyld: Library not loaded Referenced from: /usr/”

I try to do brew install tmux it installs, but, probably due to previous failed and not fully removed non-brew attempts to install both it and libevent, when try to use tmux I get $ tmux dyld: ...
4
votes
1answer
617 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 ...
4
votes
1answer
2k 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
2answers
305 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
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
2k 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
3answers
3k 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 ...
4
votes
1answer
514 views

Does Spotlight normally index links in ~/Applications?

I have installed MacVim through homebrew, and this resulted in an alias in ~/Applications that points to /usr/local/Cellar/macvim/7.3-66/MacVim.app. Unfortunately MacVim does not show up in Spotlight ...
4
votes
3answers
11k 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.
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 ...