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

learn more… | top users | synonyms (1)

8
votes
2answers
6k views

Installing tmux but getting “dyld: Library not loaded Referenced from: /usr/”

I try to do brew install tmux it installs, but, probably due to previous failed and not fully removed non-brew attempts to install both it and libevent, when try to use tmux I get $ tmux dyld: ...
8
votes
2answers
5k views

Install Homebrew package and ignore md5 hash

I am trying to install some software using homebrew, and when downloading and trying to install one of the dependencies, the package won't install because of an MD5 mismatch. Is it possible to get ...
8
votes
3answers
6k 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 ...
8
votes
1answer
4k 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
6k views

Set macvim as default application after homebrew installation

I've installed macvim via homebrew. This is working fine. But when it commes to choose a default application for a new file type I cannot see MacVim. How can I set MacVim as the default application ...
7
votes
1answer
6k 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 ...
7
votes
2answers
9k 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 ...
7
votes
2answers
145 views

Difference between installing an application on OS X and Windows

I've been using Windows for many years so far but just started using a MacBook with OS X. As far as I'm concerned when I install applications on Windows they just go into Program files (by default). ...
7
votes
2answers
332 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
4k 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 ...
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
925 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
1answer
11k 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: ...
7
votes
2answers
4k 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 ...
7
votes
2answers
7k 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 ...
7
votes
1answer
3k 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
2answers
5k 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 ...
6
votes
2answers
10k 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 ...
6
votes
1answer
306 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 ...
6
votes
1answer
99 views

What is the best way to install Node js on OS X?

I currently have installed node and npm with the installer provided from their website. Although I have homebrew installed as well and running 'brew doctor' seems to complaint about some files ...
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
3answers
704 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 ...
5
votes
2answers
2k views

Installed openvpn with brew but it doesn't appear to be installed correctly

I installed openvpn with brew. The installation went fine, no errors or missing dependencies. But now when I try to run it: users-MBP:~ user$ brew install openvpn Warning: openvpn-2.3.7 already ...
5
votes
2answers
3k views

How can I update my version of `unzip` to version 6.00 or higher?

Its a common problem that, when unzipping (read: 'open by double-click'), some .zip files result in a similar sized .cpgz file. But you expected an unzipped file or folder instead. The default unzip ...
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
584 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
2answers
7k 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? ...
5
votes
1answer
4k 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
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
397 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 ...
5
votes
3answers
586 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 ...
5
votes
1answer
22k 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 ...
5
votes
1answer
596 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
2answers
3k 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
3answers
23k 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
1answer
2k views

How to remove outdated casks from Homebrew?

I am using homebrew-cask to keep my ecosystem of applications up-to-date. It is great when maintaining several computers at home, travel or on the go. However, when some packages are getting updated ...
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
271 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
22k 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
11k 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
1answer
9k 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 ...
4
votes
1answer
2k 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
1answer
1k views

Backing up Homebrew Cellar

I decided to reinstall my Mac from scratch recently, and since then I've been working on ways to more effectively organize everything, image/partition my data and do recovery. I discovered Homebrew ...
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
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
6k 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
8k 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 ...