`homebrew` is a package manager for Mac OS X, in the spirit of Linux's `apt` or `yum`.

learn more… | top users | synonyms (1)

40
votes
4answers
7k views

How to install software packages on a Mac? (MacPorts, Fink, anything better?)

On my Mac OS X machine, how would you recommend I install command line software and other packages? I've been using MacPorts and it always seems quite slow, presumably because it has to compile the ...
1
vote
1answer
872 views

Homebrew requires something uninstall-developer-folder removes

I was having trouble installing irssi (brew install irssi), so I ran brew doctor, which returned a warning mentioning an outdated copy of Xcode and saying I should run ...
12
votes
1answer
4k views

How can I use the Homebrew Python version with Homebrew MacVim on Snow Leopard?

Note: For Mountain Lion, see: How can I use the Homebrew Python with Homebrew MacVim on Mountain Lion? I've installed Python 2.7 with Homebrew on Mac OS X Snow Leopard. When I install MacVim ...
0
votes
1answer
345 views

I cannot get pg-0.14.0 gem installed after Mountain Lion install

I have been trying for some time now to get my Rails development environment back up since I upgraded from Lion to Mountain Lion. The problem is specifically installing the pg-0.14.0 (postgresql) gem. ...
0
votes
1answer
552 views

How do I uninstall iconv from a Mac?

I'm trying to get Homebrew working, and brew doctor returns several warnings, one of which is this: Warning: The following libiconv files were detected in /usr/local: include/iconv.h Homebrew doesn't ...
2
votes
1answer
906 views

Should I change ownership of files in /user/local/share/locale?

I'm trying to install Homebrew, and brew doctor returns a lot of warnings, one of which is this: Warning: Some directories in /usr/local/share/locale aren't writable. This can happen if you "sudo ...
3
votes
1answer
481 views

Macports to Homebrew conflicts?

I am currently using MacPorts on Lion but thinking of switching to Homebrew. There is a suggestion that installing to /usr/local causes problems and ~/.homebrew would be an alternative. Can I ...
2
votes
1answer
86 views

Source multiple files via shell filename completion

I'm trying to enable autocompletion of my homebrew commands. Homebrew automatically creates the folder bash_completion.d and sym-links all completion files there. $ ls -a `brew ...
2
votes
2answers
1k views

upgraded local git on Lion, now what?

I reformatted my machine with Lion which had this default version of git: $ git --version git version 1.7.7.5 (Apple Git-26) I decided to upgrade git so I did: $ brew install git ==> ...
6
votes
1answer
10k views

How do I fix “Library not loaded: libssl.1.0.0.dylib” with PostgreSQL?

After deleting Macports, I've had some strange behaviour. When I try to run PostgreSQL via CLI, I get: pawel:~ pawel$ psql dyld: Library not loaded: /opt/local/lib/libssl.1.0.0.dylib Referenced ...
13
votes
1answer
9k views

PostgreSQL homebrew installation lacks config files

So I successfully installed PostgreSQL 9.1 on MacOSX Lion. Unlike people say, I didn't have to change the PATH and no other version of PostgreSQL was installed on the system ($ psql --version shows ...
1
vote
1answer
258 views

Why doesn't git-svn respect my $PATH?

I have installed git and svn with homebrew on my mac running 10.7.4. There are two versions of svn on my machine and I have set up my path to check for homebrew things first. Unfortunately git is ...
1
vote
0answers
45 views

Adding my own dylibs to homebrew

I'm trying to install liberate, which I want to put in /usr/local/lib. However, when I do this, homebrew complains about a Unbrewed dylibs were found in /usr/local/lib. What's the best way to add my ...
0
votes
1answer
346 views

Homebrew claims it's outdated, except when I try to update

When I run brew doctor I'm told that my brew installation is outdated. Specifically: ~$ brew doctor Error: Your Homebrew is outdated You haven't updated for at least 24 hours, this is a long time in ...
3
votes
1answer
1k views

Is it safe to run multiple brew install commands at the same time?

Is it safe to run multiple brew install commands at the same time?
0
votes
2answers
868 views

'brew doctor' command not recognizing path changes

When I run brew doctor, I get /user/bin occurs before /usr/local/bin So I changed my /etc/paths and my ~/.MacOSX/environment.plist as this post said to do. When I run brew doctor again, I still get ...
1
vote
1answer
1k views

brew doctor giving error on a directory that has been removed

I just installed homebrew and as suggested, I ran the brew doctor command. I am linux newbie and do not know how to fix most of these things. But I would like to ask especially about the following ...
0
votes
1answer
3k views

bash says “homebrew: command not found”

I am new to OS X and was following a video and typed export PATH="$HOME/opt/git/bin:$PATH" I believe this messed up my path and I am not able to install MySQL now. When I tried to install ...
1
vote
0answers
910 views

Running Postgresql on OSX

I'm trying to install Postgresql on OSX Lion. I'm using Homebrew, so my installation consisted of doing brew install postgresql initdb /usr/local/var/postgres Now when I try to start ...
6
votes
1answer
1k views

brew link jpeg issues

I am trying to install opencv on Mac OSX Lion. brew install opencv I get the following error (and a few other similar ones) Error: The linking step did not complete successfully The formula built, ...
0
votes
1answer
120 views

COMP_LINE not set despite bash completion being installed

I'm using homebrew's bash completion package on OSX, which is installed in /usr/local/etc/bash_completion. It's working fine, but there are many extensions for it which rely on various environment ...
15
votes
1answer
4k views

MySQL Preference Pane control for MySQL installed via Homebrew

this is a repost of my question at apple.stackexchange.com I have installed MySQL via homebrew: brew install mysql. I'd like to get the MySQL preference pane hooked up to my installation of MySQL ...
36
votes
3answers
19k views

Homebrew vs Fink vs Macports? [closed]

I am using Fink to install Unix apps on my mac, I just came across Homebrew and saw some good reviews about Homebrew. So, my question is: What package manager do you guys use for Mac? I use Fink ...
1
vote
1answer
975 views

Homebrew error with MacVim on OSX Lion

I am trying to install Macvim with Homebrew on an OSX machine running Lion. After installing iconv at /opt/local/bin/iconv I get the following error in the log: Error: Can't run ...
1
vote
0answers
307 views

can I remove imagemagick by deleting directories?

I posted this to StackOverflow, but probably belongs here. I'm on OSX Lion, trying to get back to basics so I can run RMagick in Rails 3.0, using rvm. When I tried to add the RMagick gem to Rails ...
7
votes
1answer
6k views

Homebrew doesn't find XCode 4.3

When I try to install something with homebrew I get an error message that it does not find XCode. But I just installed XCode 4.3 and also did a reboot. admins-MacBook-Pro-2:~ ernst$ brew install ...
1
vote
0answers
341 views

How to install R with homebrew with Java support?

I have been trying to install the R language with Homebrew but when I install Java packages like iplots I get the following error: * installing *source* package ‘iplots’ ... ** R ** inst ** preparing ...
9
votes
3answers
3k views

Enable multiple users to install software using homebrew

I installed homebrew using my other user account (which I use during work), but it is impossible to install software from my newly created personal account: $ brew install unrar Error: Cannot write ...
2
votes
2answers
2k views

Is it possible to have homebrew update node to v0.4.2?

Atm I have homebrew installing node on my mac, when I run brew update node it says Already up-to-date. Then when I do node -v I get v0.2.6 Is there some way to get brew to update to v0.4.2 ...
2
votes
1answer
2k views

Installing Ruby with Homebrew

I'm trying to install Ruby 1.9 using Homebrew. I'm using Mac OS X Lion, so Ruby 1.8.7 is installed by default. I've got Homebrew installed at /usr/local/bin/brew (well that's what it says if I run ...
0
votes
5answers
208 views

Bash: Switching from user to root causes issues with prompt

I am on a Mac, running Snow Leopard (if it matters). I am customizing my bash prompt to display things that get pulled from user specific places. For example, I am using Ruby Version Manager to manage ...
1
vote
1answer
589 views

Using PostgreSQL on Mac OS X Lion

I just got a new Mac with Lion installed on it. I then installed Xcode (4.1 through the App Store). Next, I installed Homebrew and I was about to do brew install postgresql like I had done on Snow ...
0
votes
0answers
801 views

Install dpkg without Fink or MacPorts on a mac

I don't want to use either of Fink or MacPorts, because I use Homebrew. I need to use dkpg, but it isn't included in Homebrew, and it fails when trying to compile it from source with: $ make make ...
1
vote
1answer
223 views

How to run a command inside a script without specifying the exact location?

So I have a PHP script that is using wget to download some images. It looks something like this: exec('wget -O saveImage.png http://location.of.image'); When I run my script on a different machine, ...
1
vote
0answers
232 views

OSX: Installing Custom PHP Binaries

I've been doing alot of research and trying to figure out why I have this "older" version of PHP on my Mac (Snow Leopard). I tried MAMP, and it's cool if you just want a *AMP stack and not much ...
2
votes
4answers
237 views

Recommendation for Genesis emulator that can autoload a state

I'm looking for Genesis Emulator(windows would be nice but *ix would be fine) that can autoload a particular (homebrew) ROM and state on startup, any ideas? Edit: The homebrew application is a ...
2
votes
1answer
578 views

perl5.14 OS X - what is the best way manage it?

Im an heavy macports user. Have a lot of ports installed with +perl variants. (and much p5-modules too, and zilion others installed by cpan). Now, I need perl 5.14. (because improved utf8 handling), ...
2
votes
1answer
2k views

Homebrew Mac OS X Installation

I have installed homebrew on my Mac, but no matter what brew command I run, I get: /usr/local/bin/brew:6:in `require': no such file to load -- pathname (LoadError) from /usr/local/bin/brew:6 I am ...
15
votes
1answer
17k views

is there any equivalent/branch of Homebrew for Windows? [duplicate]

Possible Duplicate: Package managers for Windows Homebrew is a package manager for macOS mimicking Linux ones (think about apt-get as a canonical example). Obviously, it has some trendy ...
2
votes
2answers
2k views

On Mac OS X with HomeBrew, is there any advantage to installing Git via .dmg rather than via HomeBrew?

If a Mac OS X user already has HomeBrew installed, is there any advantage to installing Git via the .dmg files for OS X linked from the Git download page rather than via HomeBrew?
1
vote
1answer
1k views

How to commit a change to a homebrew formula?

I made a change to some homebrew formula which fixes an issue I had. I also opened an issue to get that fix into the repository. But no one has responded yet. Now I want to update my homebrew ...
3
votes
0answers
3k views

Python Can't Find Platform Dependent Libraries — Mac Homebrew Install

In an effort to purify my environment I have recently eliminated MacPorts and all traces therein from my Mac OS 10.6.6 box, replacing it with the hip new Homebrew (https://github.com/mxcl/homebrew). ...
4
votes
1answer
2k views

Can pkgsrc, Homebrew, Fink, and MacPorts peacefully coexist?

I heard that some people like to use both Fink and Macports since some packages exist in one and not the other. Recently I've had trouble building and running packages like GRASS and Digikam w/ ...
0
votes
1answer
2k views

How to install LIBSVM for Python 2.65 on Mac OS X 10.6.4 Snow Leopard?

I would prefer to install libsvm without resorting to the use of a package manager other than homebrew. Any ideas? Thank you, Michaux
4
votes
2answers
688 views

Macports, Fink, Hombrew: Background Processes?

If I install a package manager such as Macports, Fink or Homebrew, how does it affect the startup and running of my system? It seems like the answer should be "Not at all when you're not using them" ...