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

learn more… | top users | synonyms

1
vote
2answers
4k views

How do I work around a “Could not resolve host: (nil)…” error when installing/using Homebrew?

I'm trying to install Homebrew on OS X 10.8.4, and get the following: $ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" ==> This script will install: /usr/local/bin/brew ...
1
vote
1answer
644 views

MySQL (Percona) and homebrew:

I'm trying to run MySQL server (Percona) by launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.percona-server.plist and I see the following message in /var/log/system.log: Aug 9 01:36:14 xxx ...
0
votes
0answers
52 views

Compiling a gimp plugin

I wish to compile the Gimp plugin "Save for Web" on Mac 10.8.4. I use brew for package management but libgimp2-dev is missing. I've downloaded Gimp 2.8.6 from here . I've downloaded the latest ...
4
votes
1answer
3k 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?
1
vote
2answers
3k views

How to get Apple Command Line Developer Tools without App Store?

I got a mid-2013 MacBook Air for UNIX development. I'm disappointed that it came with no C/C++ compilers and with no make, which are apparently part of Apple Command Line Developer Tools, which is ...
1
vote
0answers
68 views

Getting homebrew upgrades to complete without link error interruptions?

Is there a way to invoke homebrew upgrades without having to handle errors manually? For example, when I run an update with: brew upgrade I get error messages like: Error: You must `brew link ...
4
votes
1answer
855 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
808 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 ...
1
vote
1answer
8k views

How to install cURL on OSX with brew

How can i get the newerst version of cURL instead of the old 7.24 that Apple provide. user:~ kevinsimper$ curl --version curl 7.31.0 (x86_64-apple-darwin12.4.0) libcurl/7.31.0 OpenSSL/0.9.8x ...
0
votes
1answer
740 views

brew uses /usr/bin/autom4te in stead of /usr/local/bin/autom4te

I'm trying to brew weechat, which has p11-kit as a dependency. $ brew install p11-kit ==> Downloading http://p11-glue.freedesktop.org/releases/p11-kit-0.18.1.tar.gz Already downloaded: ...
1
vote
1answer
2k views

How to update nodejs on mac?

I'm trying to install nodejs on mac using homebrew, but when I run the command: brew install node I get the following error: Beginning with 0.8.0, this recipe now comes with npm. It appears you ...
2
votes
2answers
3k views

Homebrew errors; update fails

Homebrew has been working fine for years...until today. Anyone know what's going on and/or how to fix it? $ brew --config HOMEBREW_VERSION: 0.9.4 ORIGIN: https://github.com/mxcl/homebrew.git HEAD: ...
0
votes
1answer
248 views

Nginx on 10.7 with homebrew

I've purchased an "old" Mac Mini (macmini2,1) from a coworker to serve as a media server beneath my TV. It runs 10.7.5 and can't update any further, it's got a 1.83Ghz Core2Duo and 4Gb RAM, and I've ...
1
vote
1answer
487 views

Setting up “HPN-SSH - High Performance SSH/SCP” on Mac OS X

As you'd expect from the name, HPN-SSH - High Performance SSH/SCP is a "high performance" patch of SSH/SCP. I've installed a newer version of OpenSSL via Homebrew (brew install openssl). I've ...
18
votes
7answers
18k 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 ...
3
votes
1answer
274 views

List of GNU packages for homebrew

My team is working with Mountain Lion MacBook Pros, and we're using the GNU CLI tools, like wget and watch, intensively. Whenever a new team member joins us, we tell the new hire to install homebrew ...
1
vote
1answer
1k views

python site packages directory

I have for some reason two locations for python site packages. Python itself is here: > $ which python > /Library/Frameworks/Python.framework/Versions/2.7/bin/python My Path Variable is: $ ...
1
vote
1answer
2k views

Problems with apache after update of php and mysql using homebrew

I am hoping someone here can assist me. I upgraded php and related files using brew upgrade on my mac which is running Mac OS X 10.8.3. Everything was working fine before and I just wanted to update. ...
2
votes
1answer
182 views

Least intrusive way to install Ruby 1.9 on a borrowed MacBook?

I need to use Ruby 1.9 for a programming test, and I'll be borrowing my dad's MacBook Air to do so. He's running OSX 10.7.5 and has Ruby 1.8.7 What's the least "invasive" way to install a newer ...
1
vote
1answer
771 views

install opencv with cuda support and.. brew

i have installed opencv with brew and everything is magically ok. now i want to try to recompile by myself with cuda support. for this i have to download opencv, change a line in CMakeList.txt ...
11
votes
6answers
35k 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 ...
1
vote
1answer
496 views

OS X application manager

Unix-sytled, "package managers" like Fink, Homebrew, and MacPorts do a good job of managing 'headless' libraries. I would like something similar to manage OS X applications with a GUI. I am hoping ...
0
votes
1answer
114 views

git doesn't work anymore after moving user home to external drive

I've moved my users home directory from /Users/romeovs to /Volumes/DATA/home and ever since I get a git error. Whenever I use git clone or git init it replies: fatal: Failed to expand user dir in: ...
1
vote
1answer
633 views

Installing gcc47 as default using Homebrew

I'm trying to install gcc47 as my default compiler using homebrew. I can successfully install gcc47, but it adds a -4.7 suffix on all of its binaries. If I try to symlink it in /usr/local/bin things ...
0
votes
1answer
300 views

Homebrew installed PostgreSQL for use by multiple accounts

I'm using Homebrew to install PostgreSQL (PG) on a MacBook Air. admin user brew installed PostgreSQL. I'd like another (mobile account) user to be able to use the database for Rails development. ...
0
votes
2answers
410 views

How can I install tk on OS X?

I am getting warnings and empty popup boxes when compiling and loading R packages that depend on tk. They say that tk was not installed correctly. I am using homebrew, but I can't tell which package ...
3
votes
1answer
2k views

How to install g++-45 with Homebrew

I have installed gcc45 by using brew tap homebrew/versions & brew install gcc45. However, I can not find g++-4.5 in /usr/local/bin. How can I install g++-4.5 separately by Homebrew? Thanks. My ...
4
votes
1answer
3k 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 ...
2
votes
2answers
187 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. ...
0
votes
1answer
462 views

Problem updating homebrew

Trying to update homebrew, I get this: $ brew update error: Your local changes to the following files would be overwritten by merge: .gitignore Library/Contributions/brew_bash_completion.sh ...
14
votes
2answers
4k 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.
1
vote
2answers
194 views

Change ownership of all files, from one owner to another

I changed the shortname of my user account, but it seems to have caused an issue with some files (especially homebrew stuff), which are still owned by the old username. My old short name was cannyboy, ...
5
votes
3answers
14k 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.
12
votes
1answer
5k 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?
0
votes
1answer
49 views

How to correctly handle two different versions running commands from Terminal?

I've download ctags from Homebrew, which was installed in /usr/local/bin/ctags. Currently I have an older version of 'ctags' which is located in /usr/bin/ctags/. I want the new version to be the ...
8
votes
2answers
4k 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 ...
0
votes
2answers
390 views

Using gwhois on OSX

How does one install gwhois on a Mac? I'm already up and running with Homebrew; I assume that there's some magic perl configuration required before it will run. I've tried the following: brew ...
2
votes
1answer
380 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 ...
3
votes
1answer
1k views

brew doctor get warning on opencv

i'm new to mac os x. i read that homebrew is a good packet manager and i have tried it. i have also read that to install opencv 2.4 i have to follow those steps: install cmake via homebrew download ...
1
vote
0answers
1k views

A lot of problems with Homebrew

This is probably bad form for this board, and feel free to delete it if it is, but running brew doctor reveals the following: Warning: /usr/local/lib/pkgconfig isn't writable. This can happen if you ...
5
votes
2answers
1k 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
421 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 ...
0
votes
0answers
2k views

Can't install Homebrew on MacBook Pro, password field won't input

I need to install Homebrew. I am unable to input the password when prompted in the Terminal - nothing happens when I type, only when I hit enter. I follow the instructions specified in the book I'm ...
0
votes
1answer
517 views

Error while installing Homebrew on Lion

I started installing Homebrew on my Mac Lion v10.7.4 but got the following error. ==> Downloading and Installing Homebrew... Failed during: Error: /usr/bin/xcode-select returned unexpected error. ...
1
vote
5answers
1k views

Unable to install software packages using Home Brew

I am unable to install any software packages using homebrew. I get the following error when I try to install any softwares. Rahuls-iMac:local rahuljeevanandam$ brew install mysql ==> ...
1
vote
5answers
2k views

Installed application using brew, but now it's saying it can't find it?

I have installed an application (dsniff) using brew, but when I try to run it I get a "Command not found" error. I even tried going to the directory it was installed to: ...
0
votes
3answers
849 views

Can homebrew and RVM agree on a $PATH?

I'm trying to install Yeoman.io and part of it requires Homebrew to be installed. I am on Mountain Lion (10.8) and things seemed to install correctly except when I run $ homebrew doctor it complains ...
12
votes
3answers
5k 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 ...
2
votes
2answers
393 views

ssh fails: image not found [preauth]

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

`brew doctor` gives warning for newly opened terminal windows

When I run brew doctor I get this warning: Warning: /usr/bin occurs before /usr/local/bin TONS of people with the same problem, but they solve it by running this: PATH="/usr/local/bin:$PATH" Which ...