# 安装 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/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-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/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/lilypond>
- **版本:** 2.26.0
- **来源摘要:** Music engraving system
- **主页:** <https://lilypond.org>
- **上游文档:** <https://lilypond.org>
- **许可证:** GPL-3.0-or-later AND GPL-3.0-only AND OFL-1.1-RFN AND GFDL-1.3-no-invariants-or-later AND LicenseRef-Homebrew-public-domain AND MIT AND AGPL-3.0-only AND LPPL-1.3c
- **源码归档:** <https://lilypond.org/download/sources/v2.26/lilypond-2.26.0.tar.gz>
- **更新:** 2026-04-22T01:02:30Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

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

## 依赖

- bdw-gc
- cairo
- fontconfig
- freetype
- gettext
- ghostscript
- glib
- guile
- harfbuzz
- libpng
- pango
- python@3.14

## 构建依赖

- bison
- fontforge
- gettext
- make
- pkgconf
- t1utils
- texinfo
- texlive

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 2.26.0
- 管理器更新时间: 2026-04-22
- 本地数据: ok
- 上游仓库: https://lilypond.org
- info: Release/tag comparison is only available for GitHub repositories.

## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** green / low
- narrow executable package without higher-risk signals

## 相关链接

- [glib](https://www.automicvault.com/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [harfbuzz](https://www.automicvault.com/pkg/brew/harfbuzz/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [libpng](https://www.automicvault.com/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [freetype](https://www.automicvault.com/pkg/brew/freetype/) - Runtime dependency declared by Homebrew.
- [fontconfig](https://www.automicvault.com/pkg/brew/fontconfig/) - Runtime dependency declared by Homebrew.
- [pango](https://www.automicvault.com/pkg/brew/pango/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [bison](https://www.automicvault.com/pkg/brew/bison/) - Build dependency declared by Homebrew.
- [make](https://www.automicvault.com/pkg/brew/make/) - Build dependency declared by Homebrew.

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
