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

learn more… | top users | synonyms (1)

3
votes
1answer
3k views

Unknown terminal 'xterm-256color'

Keep getting a message in Terminal saying tput: unknown terminal "xterm-256color" This message typically appears when running homebrew, and while I can swear it's popped up on other places, I ...
3
votes
2answers
124 views

Homebrew mutt(1) file permission weirdness

I just installed mutt ('brew install mutt') running as myself (uid=501(john)), no sudo. It seems to have worked, but now I've got a couple of weird permission problems. When I run mutt, email ...
3
votes
1answer
5k views

Gnuplot with xterm in yosemite [duplicate]

I installed gnuplot on my yosemite system using brew. When I try to plot cos(x) the way I would on ubuntu, I get this: gnuplot> plot cos(x) WARNING: Plotting with an 'unknown' terminal. No output ...
3
votes
1answer
110 views

How to switch from Spotlight to Alfred via Terminal?

I installed Alfred through homebrew-cask. I want to disable Spotlight and let Alfred be opened with Cmd+S. The first Terminal-based solution I tried was unloading Spotlight with sudo launchctl unload ...
3
votes
2answers
1k views

Scapy on Mavericks via Homebrew “AttributeError: 'module' object has no attribute 'intf'”

I tried to install Scapy on OS X via Homebrew which seemed to work fine. After installation there were some Python modules missing which I installed via Homebrew. Now when I start Scapy I get the ...
3
votes
1answer
33 views

Using postgres with launchd without constant issues

I have postgres and passenger installed from homebrew, and use the os x built in apache. I have several rails apps that use postgres which are managed by passenger which in turn is managed by apache. ...
3
votes
0answers
316 views

How can I configure fail2ban for use with OS X

I've seen instructions for configuring fail2ban on BSD using pf but I'm not sure how these can be adapted to configure the fail2ban rules that ship with homebrew to configure Yosemite's firewall for ...
3
votes
1answer
1k views

Can't re-install homebrew

I'm having a problem re-installing homebrew. I am running Mavericks It started with me trying to install express.js. Homebrew had been installed on my mac for quite some time, never had any trouble ...
3
votes
0answers
530 views

Way to determine most popular Homebrew packages?

Is there a way to determine which Homebrew packages have been installed the most times, either in the recent past or all-time? It would make it easier to determine which formulae are the most useful, ...
3
votes
1answer
780 views

How can I install Octave with curl support via homebrew?

I've installed octave with homebrew (via brew install octave), and it seems to work fine, including gnuplot support. However, it looks like it's missing curl support. I'm getting the message "error: ...
2
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 ...
2
votes
3answers
588 views

How can I get Xcode to install under Lion?

I'm slightly confused under Lion as to how to get dependencies in place for Homebrew. It wants Xcode in place, and I can go to the app store and click on "Install", and it dutifully says ...
2
votes
1answer
12k 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
5answers
3k 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
1answer
9k views

Can't install glib with brew

I'm trying to install gtk+ through brew. It requires glib as a dependency and brew seems to try and install patches that don't exist? How can I install glib? My-MacBook-Pro:~ me$ brew install gtk+ ...
2
votes
1answer
447 views

To install unbuffer in OSX

There is the terminal command unbuffer in Linux Redhat, for instance. I did not find it in homebrew. How can you install unbuffer in OSX Yosemite 10.10.3?
2
votes
2answers
5k 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
6k 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
658 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
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
6k 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 ...
2
votes
2answers
403 views

Update apps with home-brew (youtube-dl)

Mainly i want to update youtube-dl on my mac. I have used Linux so for that updating any app is very simple: apt-get update youtube-dl. But how to do it on Mac using home-brew. Is there any kind of ...
2
votes
3answers
5k views

Homebrew doctor warnings requesting library deletions

I got the following list of brew doctor warnings and was wondering if it's safe to delete the libraries and .pc files listed. (I have no idea what they are used for!) Warning: Unbrewed dylibs were ...
2
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 ...
2
votes
2answers
606 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 ...
2
votes
1answer
819 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 ...
2
votes
2answers
2k views

Applications in ~/Applications not shown in Applications folder in dock

I just noticed that brew cask install symlinks to ~/Applications. This works fine, but the application item in my dock does not show apps from that folder. Is it supposed to work this way? I expected ...
2
votes
2answers
275 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
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 ...
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
1answer
3k views

Brew says Wine is installed but it fails to run with “command not found” error

I've recently just had a horrendous Mac hard drive issue which required an erase of the hard drive and a restore from an old back up. Since it's been back, it's not quite been the same. I had Wine ...
2
votes
1answer
178 views

Taps vs formulas

The official site says: A tap is homebrew-speak for a git repository containing extra formulae. But: Why are taps kept separately from regular formulae? Why use the distinction at all? ...
2
votes
1answer
316 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
3answers
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
233 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
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
1answer
51 views

Can I delete Xcode?

I'm a php developer, usually with the laravel framework. I want to get rid of Xcode because I'm tired of dedicating 9 gigabytes of storage to an application that I don't use at all. I seem to ...
2
votes
2answers
175 views

To install Haskell in OSX >= 10.8.5?

GCC was apparently removed from the current Xcode, here. I would like to find a standard way to install Haskell to OSX. Not a custom way. Brew's packages haskell-stack ...
2
votes
1answer
984 views

hdf5: where are you? (brew)

On yosemite. I want to install octave: but hdf5 can not be found. 00:48:51/shared $brew tap homebrew/science Warning: Already tapped! So I went to try to insstall hdf5 directly: wget ...
2
votes
1answer
504 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
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 ...
2
votes
2answers
2k views

How to install memcache on Mavericks? (MAMP)

I have MAMP on my machine, and I would like to install memcache for php, because one of my project throws errors like Fatal error: Class 'Memcache' not found. I installed X-Code from appstore, and ...
2
votes
1answer
3k 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
621 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
6k 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
1k 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 ...
2
votes
2answers
532 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
55 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
1answer
34 views

Vim 7.4 hybrid line numbers not working (installed via Homebrew)

I recently discovered that Vim 7.4 enables a hybrid number mode, such that if you do set nu and set rnu, you'll see the absolute line number of the current line and relative line numbers everywhere ...