`homebrew` is a package manager for Mac OS X, in the spirit of Linux's `apt` or `yum`.
37
votes
4answers
6k 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 ...
29
votes
3answers
14k 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 ...
28
votes
4answers
7k views
Is it safe to install both Homebrew and Macports on the same machine?
I have MacPorts installed on my iMac with a fair number of ports installed.
I'm interested in trying out Homebrew, though, as I've heard many good things about it, and because I've noticed that it ...
22
votes
3answers
5k views
Mac Homebrew and Wireshark
I've installed Wireshark(.org) using Homebrew.
brew install wireshark
at the end the script says
==> ./configure --prefix=/usr/local/Cellar/wireshark/1.2.7 --disable-dependency-tracking ...
21
votes
2answers
10k views
Where can I find a list of all formulas available for homebrew?
Is there a way to get a list of all formulas (packages) I can install using homebrew for Mac OS X?
14
votes
2answers
1k views
How can Homebrew print a beer mug in Terminal?
Homebrew has a neat trick of printing out little icons next to its output. Like this:
If I copy paste the icon it on its own and hit enter I get the result:
-bash: $'?\237\215?': command not found
...
12
votes
1answer
1k views
How can I use the Homebrew Python with Homebrew MacVim on Mountain Lion?
I originally asked and answered this question: How can I use the Homebrew Python version with Homebrew MacVim?
These instructions worked on Snow Leopard using Xcode 4.0.1 and associated developer ...
11
votes
2answers
6k views
Can't install Brew formulae correctly (Permission denied in /usr/local/lib)
I am installing a few Homebrew packages on a brand new Mac. However, there are some errors while linking:
ln: ./libsvn_wc-1.dylib: Permission denied
Error: The linking step did not complete ...
11
votes
4answers
11k views
How should I set the PATH variable on my Mac so the Hombrew-installed tools are found?
Trying to set up Homebrew on a new Mac (on previous Macs I would install packages from source).
The first package I tried to install was Git:
$ brew install git
Installation went OK, but which ...
11
votes
1answer
1k 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 ...
10
votes
6answers
7k views
How to install matplotlib on OS X?
I want to install matplotlib on OS X. If possible, using homebrew.
I installed Python 2.7.1 using brew install python, I modified my path to use it
I installed pip using brew install pip
I installed ...
9
votes
1answer
2k views
Homebrew won't link git
When I installed git or upgrade git via brew I couldn't link it with brew link git. If I try sudo brew link git I get:
cowardly refusing to sudo brew link
It says that I have to check the ...
8
votes
2answers
2k views
how can I uninstall using homebrew?
Can I uninstall something I installed via homebrew using homebrew?
8
votes
1answer
5k views
Errors in Homebrew on OS X Lion
I just ran the Homebrew script as described in the installation page. I then ran brew doctor in Terminal, and it returned several errors. I'm not sure how to fix those errors, please help.
brew ...
8
votes
1answer
2k views
Forcing Homebrew and Macports to coexist?
I have a MacOSX system that I've been using for a number of years, and during this time, I have installed quite a few packages via Macports.
I now want to try Homebrew, but it's clear from what I've ...
7
votes
4answers
2k views
Homebrew keeps saying XCode is not installed
I'm trying to installed Ruby using Homebrew, the OSX package manager.
When I run 'brew install ruby' I keep getting the message 'Warning: XCode is not installed!'. XCode is installed, it's lying.
...
7
votes
1answer
5k 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 ...
6
votes
2answers
6k views
How do you re-install a package with Homebrew (Mac)?
Struggling to find good Homebrew documentation (or tutorial)...
In the mean time I need to reinstall ImageMagick that was installed with Homebrew (brew install imagemagick) and not sure if I should ...
6
votes
3answers
2k views
Homebrew build with different arch?
I tried to install mysql-connector-c recipe via homebrew, and it builds just fine, but produces x86_64 library:
$file ~/brew/lib/libmysql.dylib
.../brew/lib/libmysql.dylib: Mach-O 64-bit ...
6
votes
1answer
3k 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 ...
6
votes
1answer
935 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 ...
6
votes
1answer
559 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, ...
5
votes
5answers
1k views
How do I alias a Homebrew installed Ruby 1.9 gem binary in /usr/local/bin?
Homebrew's Ruby 1.9 ships with rubygems. Doing gem install ... installs files and binaries into some long-winded path. For example, bundler is installed at:
...
5
votes
2answers
3k views
Symlink error when installing MySQL via Homebrew
Trying to install MySQL via Homebrew. The install seems to work fine but i get an error:
"Error: The linking step did not complete successfully
The formula built, but is not symlinked into /usr/local
...
5
votes
1answer
2k 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 ...
5
votes
3answers
1k 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 ...
5
votes
2answers
900 views
The suggested way to handle pip(easy_install) with homebrew?
I know there are brew-gem and brew-pip but it is still really easy to get confused. Let's say my Mac OS X is 10.7.2.
There are at least, as far as I know, 3 locations for Python modules (assume ...
4
votes
2answers
4k views
How to install Meld with Homebrew on Mac OSX?
To install meld on Mac OSX I try to run:
brew install meld
but I got the following error:
Error: No available formula for meld
What is the right way to install meld?
4
votes
2answers
595 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" ...
4
votes
1answer
4k 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 ...
4
votes
3answers
1k views
$PATH is driving me nuts
OK, apologies if this is something dumb, but I'm running out of ideas.
Goal: prepend /usr/local/bin to $PATH
Problem: $PATH won't do what I want or expect
How I got here: I want to start learning ...
4
votes
1answer
2k views
Trying to install MySQL, lots of brew doctor errors
In OS X Lion I couldn't install mysql. I get this when typing brew install mysql
Error: You must `brew link cmake' before mysql can be installed
so then I type brew link cmake ...
3
votes
3answers
881 views
Removing git from /usr/bin
I'm on OS X 10.8 and I'm using Homebrew. brew doctor tells me that I have 2 git installations, one in /usr/bin and the other one in /usr/local/bin.
Is it a bad idea to remove git from /usr/bin? If ...
3
votes
3answers
5k views
Homebrew is “cowardly refusing” to install OpenCV
I am trying to install OpenCV with Homebrew.
After typing
sudo brew install opencv
I get this error message
Cowardly refusing to sudo brew install
How can I solve this?
3
votes
1answer
381 views
Installing and running couchdb on macosx
I am running OSX Leopard 10.5.8. I installed couchdb using
brew install couchdb
If I run couchdb on the command line (in accordance with the brew info instructions) 3 processes are spawned, but ...
3
votes
1answer
606 views
How do I change or edit Vim Homebrew recipe?
I use a Vim plugin that requires +clientserver, and the default brew Vim recipe does not include the appropriate flags, so I'm trying to add it to the ./configure step.
I tried building Vim from ...
3
votes
2answers
315 views
Can't compile tmux with iTerm support
I'm trying to compile the tmux that has iTerm2 support.
This is the error I get:
configure.ac:105: error: possibly undefined macro: AC_SEARCH_LIBS
If this token and others are legitimate, ...
3
votes
1answer
318 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 ...
3
votes
1answer
2k views
How to install PHP, Pear, PECL, and APC with Homebrew on Mac OS X?
I'm trying to install APC for PHP 5.3 in the easiest way possible. I love Homebrew so I started down that route. I was able to install PHP 5.3.6 with this command:
brew install ...
3
votes
3answers
104 views
Installing Homebrew packages without linking
I'd like to install several versions of Ruby (or really any Homebrew package) without linking any of them. Basically, I'd like to treat any formula as keg-only.
I can't seem to find a way to do this, ...
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
==> ...
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
2answers
1k 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?
2
votes
2answers
257 views
Can't get ffmpeg to use frei0r on OSX (through homebrew)
I am trying to get ffmpeg to use frei0r plugin and although I was able to get frei0r show up in filters list, I get the error:
[frei0r @ 0x10331c1c0] Could not find module 'glow'
Error initializing ...
2
votes
1answer
54 views
Adding a specific binary (zsh) to the $PATH?
I have installed a more recent version of zsh using homebrew, located at /usr/local/bin/zsh.
which zsh returns /bin/zsh.
How can I make /usr/local/bin/zsh the default, without adding the entire ...
2
votes
2answers
1k views
Homebrew installation of git won't take precedence over system version (in /usr/bin/)
OS X (or Xcode) comes bundled with git 1.7.something, but after brew install git (1.8.0), which git keeps returning the old /usr/bin/git.
This is what I get when I echo $PATH right now:
...
2
votes
1answer
1k views
curl: (7) couldn't connect to host
I know some people have asked this question before but I don't understand some of the answers. I'm a Mac user trying to instal Homebrew but I keep getting this error message:
curl: (7) couldn't ...
2
votes
1answer
174 views
Problems with freetype on OSX 10.7.4
I'm trying to install mplayer with OSD using homebrew. I've added both --enable-menu and --with-freetype-config=/usr/local/Cellar/freetype/2.4.10/freetype-config to the brew recipe.
==> ...
2
votes
1answer
391 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
992 views
Installing MySQL Server on a Mac with Homebrew
As a total newbie I am trying to get through this tutorial: http://net.tutsplus.com/tutorials/python-tutorials/python-from-scratch-creating-a-dynamic-website/
I'm at the point where I've used brew ...