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

learn more… | top users | synonyms

44
votes
4answers
55k 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 ...
43
votes
2answers
14k 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 ...
43
votes
9answers
35k 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 ...
34
votes
4answers
23k 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 ...
30
votes
3answers
7k 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 ...
24
votes
2answers
15k 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 ...
19
votes
3answers
9k 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 ...
14
votes
2answers
9k 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
1answer
3k 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?
11
votes
2answers
8k 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
2answers
3k 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 ...
9
votes
3answers
6k 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
2answers
2k 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.
9
votes
2answers
305 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 ...
9
votes
7answers
8k 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 ...
8
votes
6answers
1k 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.
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
5k 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 ...
7
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 ...
7
votes
2answers
9k 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
12k 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 ...
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
7k views

Is the “Cellar” folder only used for Homebrew?

So if I am not using Homebrew, I can safely remove it?
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
2answers
2k 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 ...
6
votes
1answer
2k 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 ...
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
4answers
531 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 ...
5
votes
1answer
956 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
534 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
337 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
1answer
584 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 ...
5
votes
1answer
521 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 ...
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
90 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
6answers
23k 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 ...
4
votes
1answer
348 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
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
334 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
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
2answers
8k 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
65 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
3answers
11k 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 ...
4
votes
1answer
543 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
1answer
316 views

Use pkg-config with Homebrew installed software

I have installed some libraries with Homebrew but if I use pkg-config it does not find them because there are missing .pc files. For example, if you do: brew install opencv and, after it is ...
3
votes
2answers
254 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
2k 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.