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

learn more… | top users | synonyms

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
7k 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 ...
3
votes
1answer
85 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
1answer
1k views

Install and import site-packages for Python 2 and 3 on Mac

I installed brew and then brew install python brew install python3 Install flask with pip pip install flask Try python -c 'import flask' But I got exception ImportError: No module named ...
3
votes
1answer
443 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
1answer
670 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
7k 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
2answers
4k views

Disabling /usr/bin/svn to use brew installed svn

I use Lion, and the svn /usr/bin/svn is 1.6 version. As I need to use subversion 1.7, I installed svn from brew to be installed in /usr/local/bin/svn. How can I disable the svn* files so that I can ...
2
votes
3answers
564 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
8k 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
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
2answers
624 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
401 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
4answers
244 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 ...
2
votes
2answers
153 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
312 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 ...
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
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
1answer
250 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
214 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
284 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
1k 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
3answers
3k 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
2answers
532 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
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
339 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
53 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
46 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 ...
2
votes
1answer
51 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?
2
votes
1answer
202 views

Where is the file .vimrc in Yosemite? (Download Macvim through Homebrew)

I have Yosemite 10.10.3 and I recently downloaded macvim using homebrew. I find a vimrc file under the directory: /usr/share/vim However, after putting some modification like setting the ...
2
votes
2answers
167 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
419 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
396 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
2answers
1k 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
311 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
13k 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
1answer
388 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
33 views

Does homebrew store tar.gz after package installation is complete?

If so, where? If not, where does it downloads it for the time of installation? I interrupted a package installation (brew install) and then restarted it. Do I have two tar.gz archives now? I thought, ...
2
votes
1answer
113 views

Homebrew: how to switch between GCC versions `gcc49` and `gcc`?

I foolishly uninstalled GCC 4.9 after brew upgradeing to GCC 5. However I need both versions and I need to be able to switch back and forth. I thought I could just do brew switch 4.9.2 but the old ...
2
votes
1answer
125 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 ...
2
votes
1answer
72 views

Is there any way to upgrade brew cask

I am just wondering if there is any way to upgrade all brew cask'a? Something like brew upgrade.
2
votes
1answer
42 views

flac terminal app no longer works - giving me libogg.0.dylib errors

I've been a happy user of flac on the OS X Terminal. I mostly use it to either encode, or decode wav -> flac or flac -> wav. What I'm meeting nowadays is this: flac -d *.flac dyld: Library not ...
2
votes
1answer
41 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. ...