1On Linux, install the development packages for FreeType, 2Cairo, and GLib. For example, on Ubuntu / Debian, you would do: 3 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 8 sudo yum install gcc gcc-c++ freetype-devel glib2-devel cairo-devel 9 10on Windows, consider using [vcpkg](https://github.com/Microsoft/vcpkg) 11or `meson build && ninja -Cbuild`. 12 13on macOS, using MacPorts: 14 15 sudo port install freetype glib2 cairo 16 17or using Homebrew: 18 19 brew install freetype glib cairo 20 21If you are using a tarball, you can now proceed to running configure and make 22as with any other standard package. That should leave you with a shared 23library in `src/`, and a few utility programs including `hb-view` and `hb-shape` 24under `util/`. 25 26If you are bootstrapping from git, you need a few more tools before you can 27run `autogen.sh` for the first time. Namely, `pkg-config` and `ragel`. 28 29Again, on Ubuntu / Debian: 30 31 sudo apt-get install autoconf automake libtool pkg-config ragel gtk-doc-tools 32 33and on Fedora, RHEL, CentOS: 34 35 sudo yum install autoconf automake libtool pkgconfig ragel gtk-doc 36 37on the Mac, using MacPorts: 38 39 sudo port install autoconf automake libtool pkgconfig ragel gtk-doc 40 41or using Homebrew: 42 43 brew install autoconf automake libtool pkgconfig ragel gtk-doc 44 45To build the Python bindings, you also need: 46 47 brew install pygobject3 48