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

learn more… | top users | synonyms

1
vote
0answers
13 views

Problem reinstalling PostgreSQL after installing Parallels

I’m trying to reinstall postgresql on my mac (yosemite) after installing parallels seemed to mess up permissions to directories that psql and homebrew need. I was able to force-uninstall psql, but ...
10
votes
1answer
1k views

Stuck on blue screen after running “rm *” in /

I accidentally executed rm * on / and since then I am unable to see my desktop. All I see is a blue screen with spinning gear. Irony is I somehow missed my OS and other CDs too that came with my Mac. ...
0
votes
1answer
15 views

How to uninstall “Munki Managed Software Center.app”?

How to properly uninstall mymac:~ meself$ brew doctor Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use ...
0
votes
1answer
16 views

How to open different emacs version from the shell?

I have two versions of emacs on my machine. One came preinstalled and I have just installed a newer version with homebrew. If I type emacs in the terminal, the old version runs. If I type ...
67
votes
11answers
64k 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 ...
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 ...
0
votes
2answers
88 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/ ; ...
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 ...
1
vote
1answer
20 views

Use specific local gcc and related libraries with Homebrew

I would like to use Homebrew to install some stuff, In the mean time, I have already installed my local gcc, and I want Homebrew to use this specific one (this gcc at /usr/local/bin/gcc is frequently ...
2
votes
2answers
863 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 ...
1
vote
1answer
27 views

Correctly removing the default Python installation

I intend to replace the default Python installation with the one from Homebrew. Below is a list of steps that I want to take, but I first want to make sure that I'm not doing anything destructive, ...
0
votes
1answer
46 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 ...
0
votes
1answer
49 views

Linking homebrew, php, mcrypt, and localhost:8000

I currently using php -S localhost:8000 for my php testing server on OS X. I am trying to use OpenCart which requires mcrypt and OS X does not come with that. I installed Homebrew, php 5.6.5, and ...
0
votes
0answers
17 views

How to uninstall packages that are not dependencies of brew leaves

brew leavesgives me a list of installed packages whereas brew list of all installed packages. However I would like to know whether there is a way to uninstall packages that are no longer in the ...
2
votes
1answer
283 views

How do I downgrade node or install a specific previous version using homebrew?

I'm using brew. I have node installed, using brew. I want to use an earlier version of node. Online, I find instructions such as, for example: cd /usr/local/Library/Formula brew remove node --force ...
1
vote
1answer
83 views

curl fails on OS X with SHA1 mismatch

I'm experiencing problems with homebrew in OS X 10.10.2 and it seems that curl is causing them: brew install gdal ==> Installing dependencies for gdal: giflib, lzlib, proj, libgeotiff, ge ==> ...
1
vote
0answers
16 views

How to uninstall Jenkins in Homebrew?

I have a problem with Homebrew especially with Jenkins formula. $ brew update;brew upgrade Already up-to-date. ==> Upgrading 1 outdated package, with result: jenkins 1.598 ==> Upgrading jenkins ...
1
vote
0answers
15 views

Does homebrew GCC, or any other way of getting GCC on mac work with AVX out of the box? [migrated]

if someone reading this question has a minute or two, might test the build of the following code: #include <cstdint> #include <x86intrin.h> // some compiler feature tests used by makefile ...
36
votes
8answers
37k views

How to properly update git on mac?

I have installed the newest version of git (1.8.3) using homebrew but when I type git --version in my terminal, it prints: git version 1.7.10.2 (Apple Git-33) What should I do to replace the old ...
1
vote
1answer
46 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
974 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
2answers
2k views

Homebrew / link osxfuse not possible

I didn't run brew doctor since a lot of time. Know it tell me I should run brew link osxfuse. Here I show you the rest: Newton:~$ brew link --overwrite osxfuse Warning: Could not link osxfuse. ...
70
votes
3answers
20k 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
28 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
1k 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
33 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
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 $ ...
0
votes
0answers
17 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
10k 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 ...
48
votes
4answers
36k 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
673 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
22 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
81 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 ?
2
votes
2answers
589 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
21 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
18 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
19k 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
706 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
61 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
45 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 ...
0
votes
0answers
13 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
45 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 ...
3
votes
1answer
1k 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 ...
3
votes
1answer
293 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
41 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
11 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.