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

learn more… | top users | synonyms (1)

7
votes
2answers
295 views

How does software updates work in OS X?

I just switched from Linux to OS X and I am still getting used to it. I know I'll need to use Homebrew, as I rely on many CLI tools. Also, I just read about Cask, what make me wonder about one thing. ...
7
votes
1answer
3k 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 ...
7
votes
4answers
1k views

What would I lose if I needed to reinstall from a Time Machine backup?

Is there a list somewhere of the areas of the hard drive that aren't backed up by Time Machine? And does reinstalling from Time Machine install everything from the backup or just parts of it? I like ...
7
votes
1answer
562 views

torsocks not working in El Capitan

Just a few weeks ago on OS X Yosemite, it worked fine. Now, after performing a clean install of OS X El Capitan it no longer works. I’m very inclined to believe something in El Capitan is the culprit ...
7
votes
3answers
5k 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 ...
7
votes
1answer
2k views

Use pkg-config with Homebrew installed software

I have installed some libraries with Homebrew but if I use pkg-config it does not find them because there are missing .pc files. For example, if you do: brew install opencv and, after it is ...
7
votes
4answers
1k views

What's the best way to install command line utilities such as GIT?

I'm a Windows/Linux guy that just got my Macbook Air. I do web dev, and am currently trying to setup this machine for some on-the-go development. After some research attempts, I'm wondering: what's ...
7
votes
1answer
6k views

TrueCrypt and OSX Fuse

I installed OSX Fuse via Brew, as installing it via official installer causes brew doctor to go all crazy. Mavericks, 10.9.1 I followed the instructions after the installation: brew install osxfuse ...
6
votes
1answer
5k 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 ...
6
votes
2answers
7k views

How to use Homebrew to install local archive

I'm trying to use Homebrew to install wget, but something is happening where the download is always corrupt. This happens for all packages, not just wget. I can download the tar.gz fine through a ...
6
votes
1answer
7k views

How to restart PostgreSQL installed by Brew in OSX?

In Linux, it can be done by /etc/init.d/postgresql-9.2 restart. My OSX is not a server app. I think it it can be done by ALTER USER postgres with password '1234'; postgreQSL prompt but I am not ...
6
votes
1answer
3k views

How can I prevent Homebrew from installing a duplicate of software I installed through other means?

I like using Homebrew for installing Unix software on my Mac, and appreciate that it doesn't try to install multiple copies of things like Python. There are some packages I've already installed ...
6
votes
2answers
2k 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 ...
6
votes
2answers
3k views

ffmpeg giving error on launch in Mac OS X Lion 10.7.1

I installed ffmpeg 0.8.5 in my Mac OS X Lion 10.7.1 with Homebrew brew install --use-gcc ffmpeg It installed without any error. But, now when I run, it gives the following - dyld: Library not ...
6
votes
2answers
6k 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 ...
6
votes
1answer
179 views

How to install local .dmg files via homebrew?

I´m wondering whether there is a possibility to install local .dmg files previously downloaded. I figured out that homebrewmay use archive file (gzip, bz2, tar, etc.) when putting them into the right ...
5
votes
5answers
2k views

Why can't I use .app bundles symlinked into /Applications as default in the 'open with' dialog?

I have installed emacs with homebrew, with the --cocoa flag, which makes homebrew create an .app bundle in /usr/local/Cellar/emacs/<version>/Emacs.app. I have symlinked the .app bundle into ...
5
votes
4answers
5k views

How can I remove dependencies recursively in Homebrew?

I'm trying out Homebrew, but I can't seem to figure out when uninstalling a 'formula', how to recursively remove the dependencies as well. I.e. Macports is: $ port uninstall --follow-dependencies ...
5
votes
3answers
332 views

To use STDBUF from Homebrew's coreutils

I run brew search stdbuf and get No formula found for "stdbuf". Searching pull requests... Closed pull requests: coreutils: upstream fix for stdbuf (https://github.com/Homebrew/homebrew/pull/32955) ...
5
votes
3answers
1k views

Can't install inkscape on Yosemite with homebrew

It seems like I should be able to install inkscape with something like brew install inkscape based on what I've seen online. Unfortunately, when I try this I get Error: No available formula for ...
5
votes
1answer
8k views

To install Brew's ImageMagick and fix its Symlink

Assume you installed Imagemagick by brew install imagemagick but it does not get into your PATH. For example, I run unsuccessfully compare since imagemagick is not in PATH: -bash: compare: ...
5
votes
2answers
1k views

packages installed with Homebrew not found after restore

I got a new Macbook Pro and restored from the backup, all of my packages are in still there and the path is still correct, but when I type a command that was installed on the previous system it ...
5
votes
1answer
3k views

Homebrew installed libraries, how do I use them?

I'm a bit confused. I've installed a bunch of libraries (e.g. vtk, gsl,...) that I need for a c++ project for school. I used homebrew to install them (luckily there were formulas available). My ...
5
votes
1answer
571 views

I got an image on terminal from the output of homebrew package manager

I got a strange image from the output of brew like this . I'm curious about this behaviour. Is this a feature of brew or the image comes from some special character set? If a character in some ...
5
votes
3answers
21k views

Should I be worried about 98°C CPU temperature on MacbookAir?

I'm a developer and often times I need to compile some packages or maybe even run some codes for couple of hours. Recently I have noticed that whenever I use Homebrew to install something, it ...
5
votes
2answers
2k 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 ...
5
votes
2answers
9k views

Change compile configuration of package installation in brew

How can I change the compiler configuration when I use brew install? I want to compile vim with +farsi using brew. But it seems that +farsi is not available options in brew: $ brew install +farsi vim ...
5
votes
1answer
2k 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 ...
4
votes
2answers
3k views

Homebrew wants me to delete /usr/local/lib?

From the Homebrew installation page : We recommend you delete /usr/local/include and /usr/local/lib But my /usr/local/lib contains the following files: $ ls /usr/local/lib charset.alias ...
4
votes
2answers
240 views

Homebrew - Upgrading software in /usr/bin

My OS X comes with a version of Git installed in /usr/bin. However, this version is older than the official stable one. I would like to upgrade it. Can I use Homebrew to upgrade this version? Or ...
4
votes
4answers
20k 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).
4
votes
4answers
10k 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 ...
4
votes
2answers
6k views

Installing Homebrew on Lion

I am trying to install Homebrew on Lion but keep getting an error. $ /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" I run the above code, which results in: ==> This script ...
4
votes
1answer
935 views

How to install and use GNU Grep in OSX

I have coreutils but I am not sure if GNU grep is there. I just want to use the flag -P for Perl regex that is found in GNU grep, but not in BSD grep. My PATH is ...
4
votes
2answers
5k views

Howto install 'MySQL Utilities' using brew or brew cask

I installed MySQL server and client using brew. I installed MySQL Workbench with brew cask. But I don't find MySQL Utilities (something new?). Howto install that using brew or brew cask? ...
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
5k 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
7k 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
536 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
502 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
1answer
224 views

How to install RGtk2 on OS X 10.10.5?

I am trying to install RGtk2. I have installed GTK+ and XQuartz with Homebrew: $ brew cask install xquartz Warning: A Cask for xquartz is already installed. Add the "--force" option to force ...
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
377 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 ...
4
votes
1answer
4k 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
423 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
463 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 ...
4
votes
2answers
9k 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
210 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 ...