1On Linux, install the development packages for
2[FreeType](http://www.freedesktop.org/wiki/Software/FreeType/),
3Cairo, and GLib. For example, on Ubuntu / Debian, you would do:
4* sudo apt-get install gcc g++ libfreetype6-dev libglib2.0-dev libcairo2-dev
5
6whereas on Fedora, RHEL, CentOS, and other Red Hat based systems you would do:
7* sudo yum install gcc gcc-c++ freetype-devel glib2-devel cairo-devel
8
9on the Mac, using MacPorts:
10* sudo port install freetype glib2 cairo
11
12or using Homebrew:
13* brew install freetype glib cairo
14
15If you are using a tarball, you can now proceed to running configure and make
16as with any other standard package. That should leave you with a shared
17library in src/, and a few utility programs including hb-view and hb-shape
18under util/.  From the tarball, NMake Makefiles are also provided in win32/,
19which supports building HarfBuzz using Visual Studio, with a README.txt that
20gives instructions on building using NMake.
21If you are bootstraping from git, you need a few more tools before you can
22run autogen.sh for the first time. Namely, pkg-config and ragel. Again,
23on Ubuntu / Debian:
24* sudo apt-get install autoconf automake libtool pkg-config ragel gtk-doc-tools
25
26and on Fedora, RHEL, CentOS:
27* sudo yum install autoconf automake libtool pkgconfig ragel gtk-doc
28
29on the Mac, using MacPorts:
30* sudo port install autoconf automake libtool pkgconfig ragel gtk-doc
31
32or using Homebrew:
33* brew port install autoconf automake libtool pkgconfig ragel gtk-doc
34