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:

Debian, Ubuntusudo apt-get build-dep lilypond
Fedora, RHELsudo yum-builddep lilypond
openSUSE, SLEDsudo zypper --build-deps-only source-install lilypond

LilyPond — Contributor’s Guide v2.19.26 (development-branch).