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

learn more… | top users | synonyms (1)

4
votes
1answer
7k views

How to repair and/or reinstall Homebrew safely?

I am trying to repair Homebrew. I recently tried to reinstall it but when I typed "brew doctor" My output was: shell-init: error retrieving current directory: getcwd: cannot access parent ...
4
votes
1answer
4k 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
4answers
6k views

phpMyAdmin 403 Forbidden Error after upgrade to Yosemite

I upgraded my Mac to Mac OS X Yosemite. I had a AMP stack installed via Homebrew on Mavericks and it worked fine. After upgrading to Yosemite, I have the following problems: when trying to load ...
4
votes
1answer
9k views

quick to install and set up FTP server on homebrew for OSX

I need the smallest and easiest FTP server just to grab some files during development. Homebrew has a discrete selection brew search ftp but I'm unsure which is the quickest to setup. I don't want ...
4
votes
1answer
8k views

C compiler with openmp support on Mavericks via Homebrew

I need to have a C compiler with openmp support. I installed gcc49 via Homebrew but still the configure script of the library I like to install (nfft) complains: You don't seem to have a C compiler ...
4
votes
2answers
579 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 ...
4
votes
2answers
541 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
258 views

To install GNU time in OSX?

BSD time gives this kind of output 9990 real 0m4.371s user 0m1.548s sys 0m2.167s GNU time gives then again this kind of output 9990 1.56s user 1.46s system 82% cpu 3.648 total Brew search ...
4
votes
1answer
2k views

Need help with update to latest Git using Terminal

I was trying to update to the latest Git version in my Terminal. I've no clue what I did and all I remember was that I removed the previous installed Git I think because when i run the following ...
4
votes
3answers
2k views

Homebrew warning: “No developer tools installed” even though Xcode is installed

After installing Homebrew the "brew doctor" command returns: Warning: No developer tools installed. You should install the Command Line Tools. Run `xcode-select --install` to install them. …and I ...
4
votes
1answer
416 views

Launch XQuartz app via Automator

I'm trying to launch meld (installed via Homebrew) via an app shortcut, ideally ending up in my Applications folder. A recommended way to launch console apps in Mountain Lion seems to be using ...
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 https://raw.github....
4
votes
1answer
362 views

Installing Julia using Brew

It appears that brew does not have a Julia formula. This is quite surprising to me, am I missing something? Apparently there's a brew tap that can be used instead (staticfloat/julia). Before going ...
4
votes
1answer
5k 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
546 views

I can't uninstall Homebrew. How can I find and remove all of my Homebrew files and re-install it again?

I've deleted a main Homebrew file and now I can't un-install Homebrew. I want to un-install it and then do a fresh install. This is what I'm getting in the Terminal... host:~ user$ ruby -e "$(...
4
votes
1answer
2k views

How to upgrade bash with brew (permission error)?

I work with Yosemite (10.10.3) and would like to upgrade bash (to version 4.x) and found this post. After brew update, I did brew install bash, but obtained: ==> Downloading https://homebrew....
4
votes
2answers
10k views

How to upgrade Apache 2.2 to 2.4 in MacOSX Mavericks

My ISP has upgraded the server to Apache 2.4.9 from 2.2.xx. It has broken a couple things in my setup and I want to bring my local copy of Apache 2.2.26 to 2.4.9 so that I can test locally. I've been ...
4
votes
1answer
237 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
1answer
5k views

Homebrew PATH error Mac OS X 10.6.8

So I've found this wildly helpful blog (http://blog.wyeworks.com/) and managed to muddle my way to step 5 (after leaving ridiculous comments after getting stuck on step one) $ brew install ...
4
votes
1answer
988 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
5answers
3k views

Can't install Homebrew on Mac OS X Lion

I followed the simple instructions on Homebrew's homepage: Paste this at a terminal prompt: /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" But I get the following permission ...
4
votes
1answer
157 views

How I can install a Homebrew recipe maintained in a separate git repository outside of /usr/local/Library/Formula?

I'm writing a quick Homebrew formula for my own private purposes (it's unlikely to be shared). I'd like to install it , but would prefer not to maintain my own local fork of Homebrew, but instead ...
4
votes
2answers
608 views

How best to isolate my development environment on OS X?

What is the current best practice for setting up a development environment on OS X? I recently got a new Mac with OS X 10.10, Yosemite. I'm familiar with homebrew, and from my Linux experience, ...
4
votes
0answers
80 views

Can't UsePrivilegeSeparation sandbox with Homebrew sshd

With OSX 10.9.5, and using the latest Homebrew OpenSSH, which at time of writing is OpenSSH_7.1p2/OpenSSL 1.0.2f, I must set the following in /usr/local/etc/ssh/sshd_config: UsePrivilegeSeparation ...
4
votes
1answer
319 views

Building mysql with readline instead of editline

I'd really like to be able to use readline instead of editline with the mysql client, but I can't find out how to do this. The bottled mysql that brew installs by default for mavericks is using ...
3
votes
3answers
12k views

How do I undo “export PATH='/usr/local/bin:$PATH' >> ~/.bash_profile”

I was trying to install homebrew, which wasn't working. It told me to do echo export PATH='/usr/local/bin:$PATH' >> ~/.bash_profile. However this wasn't having any affect, and I thought maybe it ...
3
votes
2answers
415 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
2answers
6k views

How to find .bashrc or .zshrc?

I just got a MacBook Pro and am in the process of trying to get GNU commands installed. I'm following this guide, but I don't know how to do: Then add the following line to your .bashrc or .zshrc: ...
3
votes
1answer
4k views

Missing glibtoolize

One package I want to install (lua-posix) needs glibtoolize, where do I get that? I installed XCode and that Development Console Tools stuff, brew doctor is happy, and according to the them, ...
3
votes
1answer
688 views

What does sudo chmod 0755 /usr/local and sudo chgrp wheel /usr/local do?

I uninstalled Homebrew, manually removed the /usr/local contents. The following possible Homebrew files were not deleted: /usr/local/.DS_Store /usr/local/bin/ /usr/local/etc/ /usr/local/include/ /...
3
votes
2answers
756 views

Brew Problems on Mac

On my mac OSX Yosemite. when I do a brew update error: unable to unlink old 'bin/brew' (Permission denied) error: unable to unlink old 'share/man/man1/brew.1' (Permission denied) OK. So I do a ...
3
votes
3answers
1k views

I'm Getting Errors When I Try to do 'brew update'

I want to install a gem. The instructions strongly suggest that I use Homebrew to install the gem dependencies. I have not used Homebrew a lot, maybe once years ago. I do remember that El Capitan ...
3
votes
1answer
952 views

Auto-updating Homebrew

i'm currently using the Homebrew package manager and my question is: is possibile to write a bash's script in order to execute brew update and eventually brew upgrade whenever opening a shell for the ...
3
votes
1answer
951 views

To install Shotwell in OSX

I install the first dependencies of Shotwell successfully brew install libGphoto2 vala libgee Some discussion about this issue in this thread but the accepted answer is misleading, since it is ...
3
votes
2answers
2k views

No package 'libffi' found in Homebrew Virtual Environment

I'm using a homebrew installation of python and getting an error using pip within a virtualenvwrapper environment: No package 'libffi' found Package libffi was not found in the pkg-config search path....
3
votes
1answer
4k views

How do I give options to Homebrew install

Is it possible to give options to a Homebrew installation package from the command line, something like this (which does not seem to work): brew install tesseract --all-languages Or do you have to ...
3
votes
4answers
303 views

How to get to know OS X/Unix better? [closed]

Not sure how to ask this but this problem has troubled me for so long. I'd long been a DOS/Windows user until about 12 years ago when Mac OS X first came out I turned to the Mac, and stayed here ever ...
3
votes
2answers
3k views

What build flags are available for brew install of gcc?

I'm curious as to what build flags are available to me when installing gcc 4.8 using brew. This question explains how to install gcc 4.8 using brew, but only specifies two possible flags i.e (--...
3
votes
2answers
7k views

How do I uninstall imagemagick from Mac OS X?

I have ImageMagick installed on my Mac. I manually installed it and the dependencies. However, it is causing some problems with brew doctor, so I would like to just uninstall it. After uninstalling ...
3
votes
1answer
198 views

What's the relationship between homebrew and xcode command line tools?

Are they the same thing? I was reading the "homebrew-php" github page, and it mentions about xcode and its command line tools. My understanding about homebrew is it is a package manager like npm, ...
3
votes
1answer
188 views

To install GNU Cut in OSX?

I did not find it in brew by brew search cut. I wound if it exists in any other package systems. How can you install GNU Cut in OSX?
3
votes
1answer
1k views

What directory does homebrew use to build programs?

I would like to change the directory that homebrew uses when it builds programs Is that possible? I didn't find such option in brew command
3
votes
1answer
5k views

How can I `brew prune` multiple entries?

After many calls with the Apple support, they told me I should reinstall the OS and restore my stuff with the migration assistant. I did it and almost everything works fine so far. Only brew doctor ...
3
votes
1answer
617 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 ...
3
votes
5answers
6k 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: /usr/local/Cellar/dsniff/2....
3
votes
1answer
443 views

Where does Homebrew install wine?

I'd ask this on Homebrew's own community, but it doesn't seem like there is one. I'm trying to install wine with Homebrew, but it doesn't look like anything's in the right place. That is, "which ...
3
votes
1answer
823 views

How can I get gdk-x11-3.0 on OS X?

Building an application from source (yikes), I get this on cmake: -- checking for module 'gdk-x11-3.0' -- package 'gdk-x11-3.0' not found CMake Error at /usr/local/Cellar/cmake/3.3.1/share/cmake/...
3
votes
3answers
159 views

Find executables associated with Homebrew Formula

Some Homebrew formulas have names that do not correspond with any of the installed commands (e.g., coreutils, speech-tools), other formulas provide an command that matches up with the name, but also ...
3
votes
1answer
319 views

Permanently saving changes to $PATH [duplicate]

I have ruby and homebrew running for a while and I'm starting to play with Bash. I have encountered a problem with my PATH variable as echo'd: /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/...
3
votes
1answer
4k views

Newest version of HomeBrew, versions no longer supported

I am having problems installing the old version of grails on my mac, with homebrew. The spot where I get stuck is at the brew versions grails as it will say that versions is no longer used. I have ...