Homebrew, like macports, helps you install some famous UNIX/Linux piece of software not directly bundled with OS X (or part of OS X, but outdated).
Installing Homebrew
Installing Homebrew is quite simple, and you can report at any moment to Homebrew web site to have updated install and how-to.
But, here is a quick install how-to:
1. Make sure you have the following components installed and properly configured on your Mac:
- Xcode with X11(free and accessible from the AppStore)
- Java Developper (you can download it here)
2. From a Terminal window launch the install by issuing the following command:
/usr/bin/ruby -e “$(curl -fsSL https://raw.github.com/gist/323731)”
You should now be setup. To make sure of that last point, just issue the following command from an other Terminal window:
brew help
and if every is OK you should see Homebrew help.
Tweaking Homebrew
As you are likely to have notice Homebrew is creating a link to the binary in /usr/local/bin, which is not the first in most configuration PATH.
In a Terminal window issue the following command:
> echo $PATH
> /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/sbin
As you can see, /usr/local/bin is far from being the first directory to be checked for something.
In order to correct this and make it the first, thus making its content being the first used when calling a binary, simply edit the /etc/paths file:
> sudo nano /etc/paths
And place /usr/local/bin on the first row. Thus your PATH environment variable will be
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/sbin
Incoming search terms:
- ftp server on osx vsftpd homebrew (1)
- homebrew mac os x (1)
- homebrew mysql phpmyadmin Mac OS X (1)
- homebrew os x (1)
- homebrew phpmyadmin 403 (1)
- mac os x homebrew ftp server (1)
- osx homebrew (1)
- osx homebrew network (1)



January 23rd, 2012
Frank Boros
Posted in
Tags: 



