4.2.2 Requirements for compiling LilyPond

This section contains instructions on how to quickly and easily get all the software packages required to build LilyPond.

Most of the more popular Linux distributions only require a few simple commands to download all the software needed. For others, there is an explicit list of all the individual packages (as well as where to get them from) for those that are not already included in your distributions’ own repositories.


Fedora

The following instructions were tested on ‘Fedora’ versions 22 & 23 and will download all the software required to both compile LilyPond and build the documentation.

Note: By default, when building LilyPond’s documentation, pdfTeX is be used. However ligatures (fi, fl, ff etc.) may not be printed in the PDF output. In this case XeTeX can be used instead. Download and install the texlive-xetex package.

sudo dnf install texlive-xetex

The scripts used to build the LilyPond documentation will use XeTex instead of pdfTex to generate the PDF documents if it is available. No additional configuration is required.


Linux Mint

The following instructions were tested on ‘Linux Mint 17.1’ and ‘LMDE - Betsy’ and will download all the software required to both compile LilyPond and build the documentation..

Note: By default, when building LilyPond’s documentation, pdfTeX is be used. However ligatures (fi, fl, ff etc.) may not be printed in the PDF output. In this case XeTeX can be used instead. Download and install the texlive-xetex package.

sudo apt-get install texlive-xetex

The scripts used to build the LilyPond documentation will use XeTex instead of pdfTex to generate the PDF documents if it is available. No additional configuration is required.


OpenSUSE

The following instructions were tested on ‘OpenSUSE 13.2’ and will download all the software required to both compile LilyPond and build the documentation.

Note: By default, when building LilyPond’s documentation, pdfTeX is be used. However ligatures (fi, fl, ff etc.) may not be printed in the PDF output. In this case XeTeX can be used instead. Download and install the texlive-xetex package.

sudo zypper install texlive-xetex

The scripts used to build the LilyPond documentation will use XeTex instead of pdfTex to generate the PDF documents if it is available. No additional configuration is required.


Ubuntu

The following commands were tested on Ubuntu versions 14.04 LTS, 14.10 and 15.04 and will download all the software required to both compile LilyPond and build the documentation.

Note: By default, when building LilyPond’s documentation, pdfTeX is be used. However ligatures (fi, fl, ff etc.) may not be printed in the PDF output. In this case XeTeX can be used instead. Download and install the texlive-xetex package.

sudo apt-get install texlive-xetex

The scripts used to build the LilyPond documentation will use XeTex instead of pdfTex to generate the PDF documents if it is available. No additional configuration is required.


Other

The following individual software packages are required just to compile LilyPond.


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