Mac OS: Install Brew

Homebrew installation on Mac OS X…

Now, install Homebrew, which is a package manager to compile and install programs from source, using:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

the old one was:

/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

Let Homebrew inspect the system and make sure that everything is properly set up using:

brew doctor

To keep programs up-to-date, run:

brew update && brew upgrade

To get a list of available packages:

brew search PACKAGENAME

To get a list of installed packages:

brew list

To install a package:

brew install PACKAGENAME

To uninstall a package:

brew uninstall PACKAGENAME

homebrew-rmtree

The problem with uninstall is that it uninstalls only the selected package. The rest of the dependencies remains in the brew root directory. Therefore, it may be useful to install homebrew-rmtree:

brew tap beeftornado/rmtree && brew install beeftornado/rmtree/brew-rmtree

and use as follows:

brew rmtree PACKAGENAME

Useful packages

mc, wine

Online package browser

Natively installable SW

gimp, inkscape, virtualbox

Advertisements
This entry was posted in Apple, BSD and tagged , , , . Bookmark the permalink.