| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| 4.2.1 Requirements for running LilyPond | ||
| 4.2.2 Requirements for compiling LilyPond | ||
| 4.2.3 Requirements for building documentation |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This section contains the list of separate software packages that are required to run LilyPond.
Fedora:
fonts-arabic fonts-hebrew fonts-ja fonts-xorg-truetype taipeifonts ttfonts-ja ttfonts-zh_CN |
Debian based distributions:
emacs-intl-fonts fonts-ipafont-gothic fonts-ipafont-mincho xfonts-bolkhov-75dpi xfonts-cronyx-75dpi xfonts-cronyx-100dpi xfonts-intl-.* |
These are normally installed by default and are required only to create music with international text or lyrics.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
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 | ||
| Linux Mint | ||
| OpenSUSE | ||
| Ubuntu | ||
| Other |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
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.
sudo dnf builddep lilypond --nogpgcheck |
sudo dnf install autoconf gcc-c++ |
texi2html 1.82 directly from:
http://download.savannah.gnu.org/releases/texi2html/texi2html-1.82.tar.gz;
texi2html is only required if you intend to compile LilyPond’s
own documentation (e.g. to help with any document writing). The version
available in the Fedora repositories is too new and will not work.
Extract the files into an appropriate location and then run the
commands;
./configure make sudo make install |
This should install texi2html 1.82 into /usr/local/bin,
which will normally take priority over /usr/bin where the
later, pre-installed versions gets put. Now verify that your operating
system is able to see the correct version of texi2html.
texi2html --version |
git.
sudo dnf install git |
Also see (contributor)Starting with Git section ‘Starting with Git’ in Contributor’s Guide.
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.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
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..
sudo apt-get build-dep lilypond |
sudo apt-get install autoconf fonts-texgyre texlive-lang-cyrillic |
git.
sudo apt-get install git |
Also see (contributor)Starting with Git section ‘Starting with Git’ in Contributor’s Guide.
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.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The following instructions were tested on ‘OpenSUSE 13.2’ and will download all the software required to both compile LilyPond and build the documentation.
sudo zypper addrepo -f \ "http://download.opensuse.org/source/distribution/13.2/repo/oss/" sources |
sudo zypper source-install lilypond |
sudo zypper install make |
git.
sudo zypper install git |
Also see (contributor)Starting with Git section ‘Starting with Git’ in Contributor’s Guide.
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.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
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.
sudo apt-get build-dep lilypond |
sudo apt-get install autoconf fonts-texgyre texlive-lang-cyrillic |
git.
sudo apt-get install git |
Also see (contributor)Starting with Git section ‘Starting with Git’ in Contributor’s Guide.
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.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The following individual software packages are required just to compile LilyPond.
Use version 2.0 or newer.
Use version 3.4 or newer (4.x recommended).
Use version 20060125 or newer (we recommend using at least
20100501); it must also be compiled with the
‘--enable-double’ switch, else this can lead to inaccurate
intersection calculations which end up with poorly-rendered glyphs in
the output.
Use version 0.17 or newer.
Use version 3.78 or newer.
The mf-nowin, mf, mfw or mfont binaries are
usually packaged along with
TeX.
The mpost binary is also usually packaged with
TeX.
Use version 6.1 or newer.
Use version 1.33 or newer.
Often packaged in repositories as texlive-lang-cyrillic.
2.19.26,
the previous default serif, san serif and monospace fonts now use Tex
Gyre’s Schola, Heros and Cursor fonts respectively.
Also See
(notation)Fonts section ‘Fonts’ in Notation Reference.
Some distributions do not always provide ‘OTF’ font files in the Tex
Gyre packages from their repositories. Use the command
fc-list | grep texgyre to list the fonts available to your system
and check that the appropriate *.otf files are reported. If they
are not then download and manually extract the ‘OTF’ files to either
your local ~/.fonts/ directory or use the
configure command and the
--with-texgyre-dir=/path_to_otf_files/ option.
The following font families are required:
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The entire set of documentation for the most current build of LilyPond is available online at https://lilypond.org/doc/v2.19/Documentation/web/development, but you can also build them locally from the source code. This process requires some additional tools and packages.
Note: If the instructions for one of the previously listed Linux in the previous section ( (contributor)Requirements for compiling LilyPond section ‘Requirements for compiling LilyPond’ in Contributor’s Guide) have been used, then the following can be ignored as the software should already be installed.
Use version 1.82. Later versions will not work.
Download texi2html 1.82 directly from:
http://download.savannah.gnu.org/releases/texi2html/texi2html-1.82.tar.gz;
Extract the files into an appropriate location and then run the commands;
./configure make sudo make install |
Now verify that your operating system is able to see the correct version
of texi2html.
texi2html --version |
gsfonts fonts-linuxlibertine fonts-liberation fonts-dejavu fonts-freefont-otf ttf-bitstream-vera texlive-fonts-recommended ttf-xfree86-nonfree |
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. 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.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] |
This document was generated by gub on July 13, 2020 using texi2html 1.82.