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

learn more… | top users | synonyms

54
votes
3answers
15k views

How to fix brew after its upgrade to Yosemite?

I faced some issue with Homebrew. I upgraded to Yosemite. After the upgrade, homebrew seems to be broken. I would run any brew command and get this error /usr/local/bin/brew: ...
0
votes
1answer
5 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 ...
3
votes
2answers
958 views

Need help using Homebrew 'Services' command

I installed MongoDB using homebrew recently. A few articles on the web advise to start mongo using the following command, brew services start mongo But when I use this command, I get the following ...
0
votes
0answers
21 views

Urxvt on homebrew ignoring certain .Xdefaults and .Xresources settings

I have a .Xdefaults and a .Xresources that I use on my Linux setups that I want to also use on my OSX setup. However, the Urxvt I installed on homebrew is not picking up certain settings from both ...
2
votes
3answers
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 $ ...
0
votes
0answers
7 views

How to handle a .pkg inside a .dmg inside a .gz into a Homebrew cask formula?

I'm trying to create a Homebrew cask formula for xcas, the thing is the packaging method of this software is overly complicated, a .pkg inside a .dmg inside a .gz. I've looked at other formula that ...
1
vote
3answers
9k views

The server quit without updating PID file (/usr/local/var/mysql/NAME.pid)

I have installed mysql via brew. First start works, but after reboot, I got the following error: The server quit without updating PID file (/usr/local/var/mysql/NAME.pid) I start mysql with sudo ...
4
votes
2answers
3k views

brew cask: howto uninstall an Application

I tried, while I am in /opt/homebrew-cask/Caskroom $ for i in *; do brew cask uninstall $i; done Error: appcleaner is not installed Error: avidemux is not installed Error: eclipse-ide is not ...
3
votes
1answer
1k views

How can I use RSVG with ImageMagick?

I'd like to use the RSVG for SVG processing in ImageMagick (the included library is fairly incomplete). RSVG is a supported delegate but needs to be installed separately. I've installed librsvg and ...
45
votes
4answers
34k views

Are my permissions for /usr/local/ correct?

I’m using HomeBrew for my port needs (seems a bit “cleaner” than MacPorts). I can install without sudoing (which is great), but the man linking step seems to require it (/usr/local/share/man/man3 ...
0
votes
1answer
648 views

Developer setup install script, with Homebrew & Dropbox?

Installing development tools is not too hard these days, with the likes of Homebrew - http://brew.sh ... So I thought I would try to write a script with the homebrew installation and various tools, ...
2
votes
0answers
20 views

Is there a programmatic way to identify built-in applications?

I'm trying to keep an inventory of where each application in my Mac came from (context: I'm trying to be disciplined and install things only through the App Store, Homebrew or Caskroom). Apps that ...
0
votes
2answers
78 views

how to install hypre using terminal on OS X 10.9.1

I want to install the lastest version of Hypre. It must be safe So using terminal is the safest way. I have brew. My question is : How can I do this using the terminal ?
0
votes
0answers
17 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
2answers
504 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 ...
0
votes
0answers
12 views

hdf5 dependency of homebrew?

Deep into the installation of octave viw homebrew the hdf5 dependency failed here: ==> Installing octave dependency: hdf5 ==> Downloading ...
2
votes
1answer
17 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 ...
5
votes
5answers
17k views

How to set gcc 4.8 as default gcc compiler

I recently installed gcc 4.8 using brew on OSX 10.7.5 (Lion). I can now compile using gcc 4.8 by using g++-4.8 some_file.c or using the default gcc 4.2 by using g++ some_file.c I want to use gcc ...
9
votes
3answers
683 views

Where is a reasonable sed?

On Yosemite. The sed is old: does not understand \t for example. I installed coreutils and can not find any sed associated with same. What are my options here?
1
vote
1answer
34 views

How can I use Homebrew to install MongoDB 2.8 with “Wired Tiger” storage engine on my MacBook?

I want to install MongoDB on my MacBook, and I would like an no-problems installation experience such as Homebrew offers. However, it looks like brew install mongodb will give version 2.6.6 and ...
1
vote
1answer
28 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
1
vote
4answers
13k 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).
0
votes
0answers
24 views

How to download via home-brew when connected though Internet dongle?

I wanted to download python on my Mac OS Mavericks. I found a blog which instructed to download it via home-brew using simple command brew install python But I am getting failed to download errors. ...
1
vote
0answers
22 views

Terminal command not found [duplicate]

So I was going thru RoR tutorial, installed heroku, heroku toolbelt. I got an error message from Heroku to update to newvest Git for safety reasons. I tried that with installer but heroku version ...
2
votes
1answer
926 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 ...
0
votes
0answers
10 views

Drag and drop files from Finder to XQuartz applications

How do I drag and drop files to ported applications that are managed by the XServer? For instance, I want to drag images to Inkscape or csv files to Gnumeric, which I both installed via Homebrew and ...
0
votes
1answer
47 views

How to run a sudo command on mac? .. problem with mysql server

I 've installed mysql server with brew, and i need to run manually this command each time my computer start to make it work with an application that I can't edit. sudo mkdir -p -- /var/run/mysqld/ ; ...
0
votes
1answer
31 views

Error when terminal opens; no available formula

When I open my terminal I see the following message Last login: Thu Dec 18 22:00:53 on ttys000 Error: No available formula for php5 I have tried to run brew doctor but the error remains. I am using ...
2
votes
1answer
819 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 ...
5
votes
1answer
1k 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 ...
65
votes
10answers
62k views

Write in NTFS using Mavericks

I was able to read and write NTFS filesystems normally in Mountain Lion, but after the upgrade this stopped to work. I installed ntfs-3g and fuse4x using homebrew in Mountain Lion and followed the ...
3
votes
1answer
133 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 ...
1
vote
1answer
31 views

Check brew and brew-cask for valid package names

I have a iMac and Macbook for work and another set for home. I end up getting a new one every couple of years so I end up re-setting up everything atleast couple of times a year. So I wrote a script ...
0
votes
1answer
10 views

Where are the installation directories for homebrew?

Where does Homebrew install it's software? I've installed Maven with Homebrew and searching for the Maven installation directory, so that I can set MAVEN_HOME.
0
votes
1answer
83 views

Applescript to replace string using sed

I need and Applescript to replace some text as follow: Original text: string  string  string  $  text1 string  string  string  $  text2 text3 string  string  string  $  text4 The ...
0
votes
0answers
123 views

Homebrew default compiler

I have read similar topics here, but unfortunately these solutions does not help me. I would like to recompile all installed software (or at least some formulas) from Homebrew using gcc from ...
4
votes
4answers
7k views

Homebrew: SHA1 Mismatch Even After Update

Mac OS X 10.7.4 (Lion) Homebrew 0.9.2 Fresh install of Homebrew. No program will install on its own—the expected hash signature never matches the actual one, for whatever reason. The only answer I ...
0
votes
0answers
43 views

XAMPP does not recoginize imagemagick

I just install XAMPP5.6.3-0 and Movable Type 6.0.5 on my OS X 10.8.5 sysytem. I also used Homebrew 0.9.5 to install Imagemagik. When I check on Movable Types's installed modules section the it shows ...
1
vote
1answer
91 views

Does letting services like PostgreSQL, Redis, MongoDB and Mysql run all the time eat up battery life and system resources?

I'm a web developer and so I tend to run a lot of server applications on my machine to make local development easier. Right now I use foreman to start the up as needed per project. I do this in the ...
0
votes
0answers
31 views

Making clang always look for libraries in /usr/local/lib

I'm using homebrew and have a lot of libraries in /usr/local/lib as well as include files in /usr/local/include. What is the easiest way to make sure that clang and ld in all circumstances will look ...
2
votes
1answer
121 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 ...
0
votes
1answer
164 views

How to eliminate specific brew doctor errors?

When I am running brew doctor I am getting the following list of errors. Is there any way I can eliminate these error reports? Thank you. Please note that these warnings are just used to help the ...
0
votes
1answer
36 views

How to install both Cocoa and X11 of Emacs (preferably with Homebrew)?

I want to try out and compare both the Cocoa- and X11-based versions of Emacs. In general, I try to install all such packages through Homebrew, but in this case it looks like I Homebrew requires me ...
0
votes
2answers
2k views

Upgrading from OS X 10.8.5 to Yosemite: Potential challenges

I have a Macbook Pro with OS X 10.8.5 currently installed. I have the corresponding Xcode as 5.1. Now In order to use Swift we need Xcode 6 and above which is only available for OSX 10.9 or later. ...
1
vote
1answer
43 views

Why so many homebrew package name with underscore

Just want to know why so many homebrew packages with underscore, are they beta release? Usually I don't install any packages with underscores, just want to know the reason behind it. Few example ...
0
votes
1answer
45 views

Brew install fails on gpg-agent?

Is there another way to get gpg-agent in? I need GPG2 signing for RVM in order to provision a server. The message bash-4.3$ brew install --vd gnupg2 ==> Installing dependencies for gnupg2: ...
2
votes
2answers
457 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 ...
13
votes
7answers
39k 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 ...
17
votes
6answers
10k views

How do I install “R” on OS X

How do I install "R" on OS X? Ideally using Homebrew? There seems to be very little information online.
1
vote
0answers
35 views

Spotlight not finding .app created with appify

I've used a script called appify described here https://mathiasbynens.be/notes/shell-script-mac-apps to create /Applications/Emacs.app that runs the actual Emacs.app at ...