[ << Installing ] | [首页][目录][索引] | [ 教程 >> ] |
[ < Graphical setup under macOS ] | [ 上 : Installing ] | [ 教程 > ] |
1.4 Command line setup
On many GNU/Linux distributions, LilyPond can be installed from the package manager. This is also the case on macOS using either MacPorts or Homebrew.
In any case, you can install LilyPond by downloading the archive from Download and unpacking it. The binaries are usable immediately after unpacking. You can run
/.../lilypond-x.y.z/bin/lilypond file.ly
(on Windows, replace the slashes ‘/’ with backslashes ‘\’).
This compiles file.ly
, and produces file.pdf
.
To test your setup, you can use this minimal file:
\version "2.24.4" { c' }
This will produce this output in ‘file.pdf’:
Now continue with the 教程 to learn more about LilyPond’s syntax, or see Command-line usage for more information on calling LilyPond on the command line.
[ << Installing ] | [首页][目录][索引] | [ 教程 >> ] |
[ < Graphical setup under macOS ] | [ 上 : Installing ] | [ 教程 > ] |