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

learn more… | top users | synonyms

2
votes
1answer
7k views

Bash or sh cannot execute any binary files

While I am able to execute binaries, when the terminal is open, if I type: /bin/bash make or /bin/sh ls I get: /usr/bin/make: /usr/bin/make: cannot execute binary file Why is that? I am on ...
2
votes
2answers
158 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: ...
2
votes
2answers
5k views

How can I get Homebrew working under Mavericks?

I had been doing most of my POSIX development on something other than my Mac after upgrading from Mountain Lion to Mavericks, and when I came back, Homebrew was not functioning at a smoke-test level. ...
2
votes
1answer
327 views

Compiling / installing shotdetect for OS X

I would like to find scene changes in a video with this command line tool: Shotdetect is a free software (LGPL) which detects shots and scenes from a video. Dependencies are: sudo apt-get ...
2
votes
5answers
2k 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 ==> ...
2
votes
4answers
15k views

How to install rpm tool on Mac OS X 10.8?

How to install rpm tool on OS X? Brew doesn't have it yet and the binaries I found so far are too old (not intel 64bit).
2
votes
3answers
2k views

Minimal Xcode installation without iOS SDK

I am in the progress of switching my MBP to run off an SSD, so I’ve been looking of ways to save harddisk space. Xcode with the iOS SDK weighs around 10GB, and since I don’t really use the iOS SDK for ...
2
votes
1answer
5k views

LSOpenURLsWithRole() failed with error -10810

Downloaded and installed the AirStream application, and when I launched it nothing happens. In Terminal the output is $ open /opt/homebrew-cask/Caskroom/airstream/latest/AirStream.app ...
2
votes
2answers
54 views

What does adding PATH to .bashrc do?

I'm following this guide to install Linux commands onto my OS Terminal: https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/ and I see that the second line tells ...
2
votes
1answer
2k views

How to repair Homebrew permissions after installing as root?

I run brew as root, now it's defunct. No updates anymore. How to fix? $ brew update && brew upgrade error: Unable to append to .git/logs/HEAD: Permission denied error: Unable to append to ...
2
votes
2answers
2k views

brew bundle reporting “Error: unknown command: bundle”

I'm completely puzzled by this one. I have refactored my install scripts to use the new brew bundle feature. However, I'm getting "Error: unknown command: bundle" $ which brew /usr/local/bin/brew $ ...
2
votes
2answers
4k views

Homebrew gives a warning: “You have MacPorts or Fink installed”

I just got a new Mac Pro with OS X 10.9. When I run: brew doctor I get the warning: Warning: You have MacPorts or Fink installed: /opt/local/bin/port This can cause trouble. You don't have to ...
2
votes
1answer
237 views

Problem with homebrew recipe for ctags

I was trying to install ctags using homebrew: >brew install ctags ==> Downloading http://downloads.sourceforge.net/ctags/ctags-5.8.tar.gz Already downloaded: ...
2
votes
2answers
4k 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: ...
2
votes
1answer
209 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 ...
2
votes
1answer
206 views

Fish shell installation using homebrew - iconv libiconv error

I am trying to install Fish shell using homebrew using command: brew install fish But the installation fails with the following error: ==> ./configure --prefix=/usr/local/Cellar/fish/2.1.1 ...
2
votes
2answers
874 views

How can I add support for .flac files in SoX?

I want SoX to record audio in .flac files. When I do: rec -t flac ~/Desktop/myrec.flac …it gives the following error: rec FAIL formats: no handler for given file type `flac' I have installed SoX ...
2
votes
2answers
2k views

Homebrew issues error while calling 'brew update'

I don't have much knowledge of all this so please forgive my incompetence. When I run brew update, it shows: fatal: Unable to create '/usr/local/Library/Taps/homebrew-science/.git/index.lock': ...
2
votes
2answers
502 views

Point Homebrew to a local package instead of the default, remote one

I'm trying to pull down and install the Alpine mail client with Homebrew. I'm behind a rather terrible proxy with no such thing as FTP proxying. Unfortunately the formula for Alpine requires I ...
2
votes
2answers
304 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. ...
2
votes
1answer
52 views

How can I (re)create development and build tools on a corrupt installation?

On my previous computer I had Xcode working nicely; on my present computer, with Homebrew installed, gcc and make are present in /Developer/usr/bin but not /usr/bin. On the whole when I try to ...
2
votes
2answers
2k views

Problem trying to install iftop via Homebrew

I got Homebrew installed, but: >brew install iftop ==> Downloading http://www.ex-parrot.com/~pdw/iftop/download/iftop-0.17.tar.gz File already downloaded in /Volumes/0/z/Library/Caches/Homebrew ...
2
votes
4answers
2k views

How do I install Homebrew on Tiger?

According to this previous question, I want to install Homebrew Tiger branch on my iBook running ... well, Tiger. Unfortunatly, when running the Ruby one-liner, ruby -e "$(curl -fsSL ...
2
votes
2answers
3k views

MySQL Preference Pane control for MySQL installed via Homebrew

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 through homebrew. How can I achieve this?
2
votes
2answers
102 views

How to limit the bandwidth on a per-application (or per-process) basis in OS X Yosemite?

Whenever I use Homebrew or Apple Store to download a large application, it sucks all my available bandwidth and I am then unable to browse the web. How can limit the bandwidth per-application or ...
2
votes
2answers
327 views

When upgrading to Yosemite from Mavericks are there any traps with Brew and Ports

Currently running Mavericks. Got a LOT of things installed through Homebrew and a handful through Ports. Are these going to survive the upgrade? What is best practice in this situation?
2
votes
1answer
330 views

Updating and running Git through Homebrew instead of XCode

On my new 2014 Mac (OS X 10.9 Mavericks), I have just installed Git using Homebrew. In order to install Homebrew, I had to download and install XCode 5. So now, when I enter the command which git, I ...
2
votes
1answer
275 views

“brew install ogre” fails at “make install”

I'm stuck at installing ogre via brew. The error output seems limited to me and I'm not experienced OSX user at all. Any idea is appreciated. $ brew install ogre ==> Downloading ...
2
votes
2answers
3k views

curl command can't be found, OSX utilities have been replaced by GNU coreutils… how to start from scratch?

I recently installed homebrew and I was having a hard time because I could not install it as curl command couldn't be found, someone pointed me to use wget and that worked to install homebrew but now ...
2
votes
1answer
11k 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 ...
2
votes
2answers
444 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 ...
2
votes
1answer
369 views

Run x11 app from dock

I have an app in /usr/local/bin directory and can not drag it onto the dock and have to open Terminal everytime I want to run this program. Is it possible to run a macported/homebrewed application ...
2
votes
1answer
26 views

What is the difference between open (-a) <app> and double click in finder/spotlight?

I recently installed leksah on my Mac (once directly, once via brew cask). When I try to open it in Finder, Dock or use spotlight the window flashes open for a second and then closes immediately. ...
2
votes
1answer
165 views

Installed App with Brew Cask Over Existing Install, Did it Remove the Old App Files?

I upgraded to the latest OpenOffice (from 3.4.1 to 4.1.1) with brew-cask without realizing OpenOffice 4 was already installed: $ brew cask install openoffice ==> Downloading ...
2
votes
1answer
19 views

Changing dev environment to Homebrew

I'm a new mac user and I'm going to start using Homebrew to build my environment. My current environment I've installed piece by piece. What I want to check is what to make sure I do, so I don't get ...
2
votes
1answer
97 views

How to rename formula installed via Homebrew?

I installed gcc with homebrew: $ brew install gcc I can see the result: $ brew list ant gcc go libyaml postgresql tmux autoconf gdb isl mpfr python ...
2
votes
1answer
114 views

Determine flags that were given for packages installed with homebrew

Is there a way to check what flags were given when a package was installed with homebrew? For example, the emacs formula has an absurd number of flags. If I did brew install emacs --with-glib ...
2
votes
1answer
26 views

Where does homebrew download software from?

I love how homebrew makes my life easier! Though, I just realized that I don't really know who is "signing off" the stuff I get installed through it. So, I ask: Is there a central repo (like Linux ...
2
votes
1answer
218 views

Is there a command like namei for OS X?

I'm sifting through some incorrect permission issues and discovered the namei command for Linux. Homebrew doesn't currently have a Mac port. namei - follow a pathname until a terminal point is ...
2
votes
2answers
168 views

Using `rsync` as more advanced `cp`

For copying large files (and/or large quantities of files), especially across disks, I prefer to avoid using the Finder as it often fails with some meaningless error message and/or complaint about ...
2
votes
1answer
496 views

homebrew broken after time machine restore

I use home-brew for some tools on my macbook and it had been working fine. I recently put a SSD in my macbook and restored it to a time machine backup as I thought this would give me a pretty good ...
2
votes
2answers
2k views

Homebrew / link osxfuse not possible

I didn't run brew doctor since a lot of time. Know it tell me I should run brew link osxfuse. Here I show you the rest: Newton:~$ brew link --overwrite osxfuse Warning: Could not link osxfuse. ...
2
votes
1answer
555 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 ...
2
votes
3answers
458 views

How can I compare file structures before and after a software install?

I'm writing a new formula for Homebrew for some software I maintain and as part of my testing I'd like to ensure that files are only added to the correct places on install and that all files are ...
2
votes
2answers
958 views

OS X Lion Server multiple postgresql installs

I am using Homebrew to install PostgreSQL on my Mac mini server (Lion). However, I am unable to run the version I have installed, the only version I see running is the version installed with OS X: ...
2
votes
2answers
778 views

What is the best Homebrew version for an iBook running Tiger?

I have an old iBook running Mac OS Tiger, and I want to install the Homebrew package manager on it. Which branch should I choose ? The Tiger one? The PPC one? Another one?
2
votes
0answers
12 views

Meld on OSX 10.10 - half screen

I installed Meld using homebrew on a stock OSX 10.10. It works, but it doesn't seem to understand the size of my screen (actually two screens, same behavior on both built in and secondary display). ...
2
votes
3answers
31 views

Removing an application from homebrew-cask

Homebrew-cask provides the possibility for users to conveniently install the applications with GUI, I want to confirm that: while I try to uninstall a software which was installed by homebrew-cask, ...
2
votes
0answers
34 views

When does OS X move /usr/local during a system update (slow start with homebrew)?

I have had a recurrent problem with the login screen getting stuck at 50% for a long time. One possible cause is that after an update, OS X is attempting to move /usr/local out of the way and then put ...
2
votes
0answers
21 views

How to figure out what is causing the ownership of usr/local to change from my-username to root

I use homebrew as a package manager for certain web development app. To keep brew up-to-date I run "update brew" every couple of days and also run "brew doctor." Usually, this is fine and brew tells ...