LilyPond Contributor's Guide: 4.2.2 Requirements for compiling LilyPond

### 4.2.2 Requirements for compiling LilyPond

Below is a full list of packages needed to build LilyPond. However, for most common distributions there is an easy way of installing most all build dependencies in one go:

Distribution | Command
--- | ---
Debian, Ubuntu | `sudo apt-get build-dep lilypond`
Fedora, RHEL | `sudo yum-builddep lilypond`
openSUSE, SLED | `sudo zypper --build-deps-only source-install lilypond`

- Everything listed in Requirements for running LilyPond
- Development packages for the above items (which should include header files and libraries).

  Red Hat Fedora:

  >     guile-devel-version
  >     fontconfig-devel-version
  >     freetype-devel-version
  >     pango-devel-version
  >     python-devel-version

  Debian GNU/Linux:

  >     guile-version-dev
  >     libfontconfig1-dev
  >     libfreetype6-dev
  >     libpango1.0-dev
  >     pythonversion-dev

- Flex
- FontForge (20060125 or newer; 20100501 or newer is recommended; must be compiled with ‘`--enable-double`’. Failure to do so can lead to poor intersection calculations and poorly-rendered glyphs.)
- GNU Bison
- GNU Compiler Collection (3.4 or newer, 4.x recommended)
- GNU gettext (0.17 or newer)
- GNU Make (3.78 or newer)
- MetaFont (mf-nowin, mf, mfw or mfont binaries), usually packaged with TeX.
- MetaPost (mpost binary), usually packaged with TeX.
- Perl
- Texinfo (4.11 or newer)
- Type 1 utilities (1.33 or newer recommended)

#### LilyPond — Contributor’s Guide