MacOS X
Nota: LilyPond is a text-based music engraver; it is more similar to a programming language than a graphical score editing program. Before downloading LilyPond, please read about our Entrada de text. Once you have downloaded LilyPond, read the start of the Learning for a gentle introduction on how to install it and use it.
Packages
Download
- Mac OS X x86 32-bit: LilyPond 2.22.2-1 For Mac OS X 10.4–10.14 running on Intel CPUs (for 10.15 see below).
- Unofficial 64-bit application bundles for macOS 10.15 are available at https://gitlab.com/marnen/lilypond-mac-builder/-/releases.
- MacPorts, a package manager for Mac OS, has a LilyPond port.
- Homebrew, another package manager for Mac OS, has a LilyPond formula.
Install
Double-click the downloaded file, then drag it to wherever you want.
Uninstall
Delete the LilyPond.app folder.
Running on the command-line
Nota: If you are happy with the GUI instructions in the Learning Manual, then please ignore these instructions.
MacOS X on the command line
The most convenient way to run lilypond scripts is by setting up “helper” scripts of your own.
-
Create a directory to store these scripts,
mkdir -p ~/bin cd ~/bin
-
Create a file called
lilypond
which contains#!/bin/bash exec DIR/LilyPond.app/Contents/Resources/bin/lilypond "$@"
Nota: DIR will generally be
/Applications/
-
Create similar files
lilypond-book
,convert-ly
, and any other scripts you wish to use, by replacing thebin/lilypond
withbin/convert-ly
(or other program name). -
Make the file executable,
chmod u+x lilypond
-
Now, add this directory to your path. Modify (or create) a file
called
.profile
in your home directory such that it containsexport PATH=$PATH:~/bin
This file should end with a blank line.
Invoking individual scripts
The scripts — such as lilypond-book
, convert-ly
,
abc2ly
, and even lilypond
itself — are included
inside the .app
file for MacOS X.
Scripts can also be run from the command line by invoking them directly:
path/to/LilyPond.app/Contents/Resources/bin/lilypond
The same is true for all other scripts in that directory, such as
lilypond-book
and convert-ly
.
Legalese
All logos and product images are copyright and trademark acknowledged.
La “imatge de la X” no és una marca registrada. És obra de Nihonjoe i CyberSkull, i es va posar sota la llicència de Documentació Lliure del GNU versió 1.2 o posterior. Trobem aquesta imatge a aquesta pàgina de la Wikimedia Commons.