# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 lilypond

查看 lilypond 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:lilypond
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lilypond
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lilypond
```

  证据: MacPorts ports tree: textproc/lilypond/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add lilypond
```

  证据: Alpine Linux edge package indexes: lilypond from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install lilypond
```

  证据: Debian stable package indexes: lilypond from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install lilypond
```

  证据: Fedora Rawhide package metadata: lilypond from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#lilypond
```

  证据: nixpkgs package indexes: pkgs/by-name/li/lilypond/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S lilypond
```

  证据: Arch Linux sync databases: lilypond from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install lilypond
```

  证据: openSUSE Tumbleweed package metadata: lilypond from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/lilypond
```

  证据: Scoop official bucket manifest trees: bucket/lilypond.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id LilyPond.LilyPond -e
```

  证据: Windows Package Manager source index: LilyPond.LilyPond from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:lilypond
- **软件包管理器:** Homebrew
- **版本:** 2.26.0
- **来源摘要:** Music engraving system
- **主页:** <https://lilypond.org>
- **最后更新:** 2026-06-27T13:30:00-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- abc2ly (别名)
- convert-ly (别名)
- etf2ly (别名)
- lilymidi (别名)
- lilypond (别名)
- lilypond-book (别名)
- lilypond-invoke-editor (别名)
- midi2ly (别名)
- musicxml2ly (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.26.0
## 项目历史与用法

LilyPond is a GNU music engraving system that turns textual music notation into high-quality printed scores. It is part scorewriter, part compiler culture: users write source files, run command-line tools, and receive PDF, PostScript, SVG, MIDI, and related output.

### 项目历史

LilyPond was created by Han-Wen Nienhuys and Jan Nieuwenhuizen to escape the mechanical look of much computer-generated sheet music. The official introduction frames the project as an attempt to let musicians and publishers focus on music while the program handles engraving details according to classical music-engraving practice.

The project's own essay ties LilyPond's design to traditional manual engravings from European publishers in the first half of the twentieth century. Instead of exposing every spacing and glyph choice as a manual WYSIWYG tweak, LilyPond encodes engraving rules and lets users override them from a text language when necessary.

LilyPond 2.0.0 was released on September 24, 2003 with a focus on syntax cleanup that made entering music easier and more efficient. The project has continued with extensive manuals, converters such as abc2ly and musicxml2ly, and an ecosystem of snippets, examples, editor modes, and publication workflows.

### 采用历史

LilyPond found a durable audience among free-software musicians, publishers, educators, composers, and technically inclined engravers who preferred a reproducible source-based workflow over GUI-only score editing. Its inclusion in GNU and broad packaging across Unix distributions made it a standard installable engraver for people already comfortable with LaTeX-like document production.

### 使用方式

Users write .ly source files, run lilypond to engrave them, and often pair it with version control, Makefiles, LaTeX, or documentation pipelines. Auxiliary commands convert ABC, MIDI, ETF, and MusicXML inputs, update old LilyPond syntax, and integrate scores into larger documents.

### 为什么软件包爱好者会关心

LilyPond is package-nerd significant because it treats sheet music like source code. It brings compiler-style reproducibility, text diffs, batch builds, fonts, Scheme extensibility, and decades of compatibility concerns into a domain more often associated with graphical editors.

### 时间线

- 1996: Han-Wen Nienhuys and Jan Nieuwenhuizen began the LilyPond project after earlier work around MusiXTeX-related tooling.
- 2003-05: The paper "LilyPond, a system for automated music engraving" appeared in the XIV Colloquium on Musical Informatics literature record.
- 2003-09-24: LilyPond 2.0.0 was released with syntax cleanups for easier and more efficient music entry.
- 2026-04-21: The LilyPond site listed LilyPond 2.26.0 as a stable release.

### Related projects

- LilyPond is related to GNU, TeX/LaTeX-style publishing workflows, MusicXML and ABC conversion tools, Guile/Scheme extension work, and graphical or hybrid front ends that use LilyPond for final engraving. It is often compared with notation programs such as MuseScore, Finale, and Sibelius, but its source-first workflow is closer to document compilers.

### 来源

- <https://lilypond.org/>
- <https://lilypond.org/attic.html>
- <https://lilypond.org/doc/v2.24/Documentation/essay-big-page.html>
- <https://lilypond.org/doc/v2.26/Documentation>
- <https://lilypond.org/doc/v2.26/Documentation/web/introduction>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Debian apt - lilypond - 2.24.4-5: normalized package name match | Debian stable package indexes: lilypond from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | program for typesetting sheet music | https://lilypond.org/
- Debian apt - lilypond-data - 2.24.4-5: normalized package name match | Debian stable package indexes: lilypond-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LilyPond music typesetter (data files) | https://lilypond.org/
- Debian apt - lilypond-doc - 2.24.4-5: normalized package name match | Debian stable package indexes: lilypond-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LilyPond Documentation in info format (and metapackage) | https://lilypond.org/
- Debian apt - lilypond-doc-html - 2.24.4-5: normalized package name match | Debian stable package indexes: lilypond-doc-html from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LilyPond HTML Documentation | https://lilypond.org/
- Debian apt - lilypond-doc-html-ca - 2.24.4-5: normalized package name match | Debian stable package indexes: lilypond-doc-html-ca from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LilyPond HTML Documentation in Catalan | https://lilypond.org/
- Debian apt - lilypond-doc-html-cs - 2.24.4-5: normalized package name match | Debian stable package indexes: lilypond-doc-html-cs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LilyPond HTML Documentation in Czech | https://lilypond.org/
- Debian apt - lilypond-doc-html-de - 2.24.4-5: normalized package name match | Debian stable package indexes: lilypond-doc-html-de from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LilyPond HTML Documentation in German | https://lilypond.org/
- Debian apt - lilypond-doc-html-es - 2.24.4-5: normalized package name match | Debian stable package indexes: lilypond-doc-html-es from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LilyPond HTML Documentation in Spanish | https://lilypond.org/
- Debian apt - lilypond-doc-html-fr - 2.24.4-5: normalized package name match | Debian stable package indexes: lilypond-doc-html-fr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LilyPond HTML Documentation in French | https://lilypond.org/
- Debian apt - lilypond-doc-html-hu - 2.24.4-5: normalized package name match | Debian stable package indexes: lilypond-doc-html-hu from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LilyPond HTML Documentation in Hungarian | https://lilypond.org/
- Debian apt - lilypond-doc-html-it - 2.24.4-5: normalized package name match | Debian stable package indexes: lilypond-doc-html-it from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LilyPond HTML Documentation in Italian | https://lilypond.org/
- Debian apt - lilypond-doc-html-ja - 2.24.4-5: normalized package name match | Debian stable package indexes: lilypond-doc-html-ja from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LilyPond HTML Documentation in Japanese | https://lilypond.org/
- Debian apt - lilypond-doc-html-nl - 2.24.4-5: normalized package name match | Debian stable package indexes: lilypond-doc-html-nl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LilyPond HTML Documentation in Dutch | https://lilypond.org/
- Debian apt - lilypond-doc-html-pt - 2.24.4-5: normalized package name match | Debian stable package indexes: lilypond-doc-html-pt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LilyPond HTML Documentation in Portuguese | https://lilypond.org/
- Debian apt - lilypond-doc-html-zh - 2.24.4-5: normalized package name match | Debian stable package indexes: lilypond-doc-html-zh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LilyPond HTML Documentation in Chinese | https://lilypond.org/
- Debian apt - lilypond-doc-pdf - 2.24.4-5: normalized package name match | Debian stable package indexes: lilypond-doc-pdf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LilyPond PDF Documentation | https://lilypond.org/


## Combined YAML source

View the package source record on GitHub. [combined/lilypond.yml](https://github.com/mxcl/pkgdb/blob/main/combined/lilypond.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
