# 使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper, chocolatey 安装 libxslt

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

## 安装

```sh
sudo av install brew:libxslt
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libxslt
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libxslt
```

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

### Linux

- apk (92%):

```sh
sudo apk add libxslt
```

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

- dnf (92%):

```sh
sudo dnf install libxslt
```

  证据: Fedora Rawhide package metadata: libxslt 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#libxslt
```

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

- pacman (92%):

```sh
sudo pacman -S libxslt
```

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

- Debian apt (92%):

```sh
sudo apt install libxslt1-dev
```

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

- zypper (92%):

```sh
sudo zypper install libexslt0
```

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

### Windows

- Chocolatey (92%):

```sh
choco install xsltproc
```

  证据: Chocolatey community package catalog: xsltproc from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','wsl-ubuntu-2204'

## 软件包事实

- **软件包键:** brew:libxslt
- **软件包管理器:** Homebrew
- **版本:** 1.1.45
- **来源摘要:** C XSLT library for GNOME
- **主页:** <http://xmlsoft.org/XSLT/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- xslt-config (别名)
- xsltproc (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

libxslt is the GNOME XSLT C library, built on libxml2 and packaged with xsltproc, the small command-line transformer that made XSLT practical in Unix pipelines, documentation builds, and application installers.

### 项目历史

Daniel Veillard wrote libxslt for the GNOME project. The GNOME-hosted reference manual describes it as the XSLT C library developed for GNOME, based on libxml2, and implementing much of EXSLT alongside XSLT processing.

Veillard announced libxslt 1.0.0 on July 10, 2001 as the first stable release of the GNOME XSLT library. The announcement said it implemented the XSLT 1.0 constructs, included common extensions, provided an extension framework, and shipped xsltproc with profiling support.

### 采用历史

The 1.0.0 announcement framed DocBook processing as an early adoption path: GNOME and KDE documentation were named as target users, and KDE, GNOME, AxKit, and other projects were thanked for reuse and patches. That put libxslt directly into the XML documentation toolchain culture of early-2000s free software.

The NEWS file shows the library settling into long-term maintenance after the early GNOME/XML push, with portability work, EXSLT fixes, Windows build support, lxml-facing exported symbols in 2009, and security fixes across later releases.

### 使用方式

Package users usually meet libxslt through xsltproc, build-time documentation generation, language bindings, or applications that need an embeddable C XSLT engine rather than a JVM or browser runtime. Its tight pairing with libxml2 made it a standard dependency for XML-heavy C, Python, and desktop software stacks.

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

libxslt is one of those quiet infrastructure packages that explains why so many old source builds can turn DocBook XML into man pages, HTML, or release documentation. Package nerds care because xsltproc is both a standalone CLI and a build dependency that leaks into dependency graphs far beyond visible XML applications.

### 时间线

- 2001-07-10: Daniel Veillard announced libxslt 1.0.0 as the first stable GNOME XSLT library release.
- 2003-11-04: libxslt 1.1.0 was released, according to the project NEWS file.
- 2009-09-24: libxslt 1.1.26 exported xsltProcessOneNode for lxml.
- 2017-11-02: libxslt 1.1.32 included portability and Windows test work.

### Related projects

- libxml2 is the base XML C library underneath libxslt. EXSLT supplies many of the portable extension functions implemented by libxslt. xsltproc is the command-line face of the library, and DocBook toolchains are one of its historically important consumers.

### 来源

- <https://github.com/GNOME/libxslt/blob/master/NEWS>
- <https://gnome.pages.gitlab.gnome.org/libxslt/devhelp/>
- <https://gnome.pages.gitlab.gnome.org/libxslt/tutorial/libxslttutorial.html>
- <https://groups.google.com/g/mailing.gnome.announce/c/AJwONLlAteQ>


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

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

- Debian apt - libxslt1-dev - 1.1.35-1.2+deb13u3: normalized package name match | Debian stable package indexes: libxslt1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | XSLT 1.0 processing library - development kit | https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home
- Debian apt - libxslt1.1 - 1.1.35-1.2+deb13u3: normalized package name match | Debian stable package indexes: libxslt1.1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | XSLT 1.0 processing library - runtime library | https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home
- Debian apt - xsltproc - 1.1.35-1.2+deb13u3: normalized package name match | Debian stable package indexes: xsltproc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | XSLT 1.0 command line processor | https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home
- Nix - libxslt: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libxslt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libxslt1-dev - 1.1.39-0exp1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libxslt1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | XSLT 1.0 processing library - development kit | https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home
- Ubuntu apt - libxslt1.1 - 1.1.39-0exp1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libxslt1.1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | XSLT 1.0 processing library - runtime library | https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home
- Ubuntu apt - xsltproc - 1.1.39-0exp1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: xsltproc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | XSLT 1.0 command line processor | https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home
- apk - libxslt - 1.1.43-r3: normalized package name match | Alpine Linux edge package indexes: libxslt from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | XML stylesheet transformation library | http://xmlsoft.org/XSLT/
- apk - libxslt-dev - 1.1.43-r3: normalized package name match | Alpine Linux edge package indexes: libxslt-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | XML stylesheet transformation library (development files) | http://xmlsoft.org/XSLT/
- apk - libxslt-doc - 1.1.43-r3: normalized package name match | Alpine Linux edge package indexes: libxslt-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | XML stylesheet transformation library (documentation) | http://xmlsoft.org/XSLT/
- apk - libxslt-static - 1.1.43-r3: normalized package name match | Alpine Linux edge package indexes: libxslt-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | XML stylesheet transformation library (static library) | http://xmlsoft.org/XSLT/
- dnf - libxslt - 1.1.43-9.fc45: normalized package name match | Fedora Rawhide package metadata: libxslt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Library providing the Gnome XSLT engine | https://gitlab.gnome.org/GNOME/libxslt
- dnf - libxslt-devel - 1.1.43-9.fc45: normalized package name match | Fedora Rawhide package metadata: libxslt-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development libraries and header files for libxslt | https://gitlab.gnome.org/GNOME/libxslt
- dnf - python3-libxslt - 1.1.43-9.fc45: normalized package name match | Fedora Rawhide package metadata: python3-libxslt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Python 3 bindings for libxslt | https://gitlab.gnome.org/GNOME/libxslt
- pacman - libxslt - 1.1.45-2: normalized package name match | Arch Linux sync databases: libxslt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | XML stylesheet transformation library | https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home
- zypper - libexslt0 - 1.1.45-1.4: normalized package name match | openSUSE Tumbleweed package metadata: libexslt0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | EXSLT Library | https://gitlab.gnome.org/GNOME/libxslt


## Combined YAML source

View the package source record on GitHub. [combined/libxslt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libxslt.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
