# 使用 Homebrew, apt, dnf, zypper 安装 libxmlsec1

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

## 安装

```sh
sudo av install brew:libxmlsec1
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libxmlsec1
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install xmlsec1
```

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

- dnf (92%):

```sh
sudo dnf install xmlsec1
```

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

- zypper (92%):

```sh
sudo zypper install xmlsec1
```

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

## 软件包事实

- **软件包键:** brew:libxmlsec1
- **软件包管理器:** Homebrew
- **版本:** 1.3.12
- **来源摘要:** XML security library
- **主页:** <https://www.aleksey.com/xmlsec/>
- **仓库:** <https://github.com/lsh123/xmlsec>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- xmlsec1 (别名)
- xmlsec1-config (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

XML Security Library, packaged by Homebrew as libxmlsec1, is the C implementation of XML Signature and XML Encryption workflows built on libxml2. Its command-line tool, xmlsec1, made XML digital-signature verification and signing scriptable on Unix-like systems.

### 项目历史

Aleksey Sanin released XML Security Library 0.0.1 on 2002-03-17. Within weeks the project added online XML signature verification, test-suite work, a mailing list, RPM packages, and XML Encryption support.

The 1.0.0 release on 2003-04-17 was a major upgrade from the 0.0.x series, adding multiple crypto engines with support for OpenSSL, GnuTLS, and NSS, plus cleaned-up internals, documentation, tutorials, and examples. The project later maintained crypto-backend support for platform engines such as Microsoft CryptoAPI and MSCNG.

### 采用历史

xmlsec entered packaging systems because XML signatures are part of standards-heavy environments: SAML, document signing, SOAP-era security stacks, identity federation, and government or enterprise XML workflows. The project also published interoperability reports for XML Digital Signature and XML Encryption, which helped it function as a reference-quality implementation rather than a private library.

### 使用方式

The package provides both a C library and the xmlsec1 CLI. Users sign, verify, encrypt, and decrypt XML documents, usually while selecting a crypto backend and supplying keys, certificates, or trust material through command-line options or application code.

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

libxmlsec1 is significant because it connects the XML parser stack to the cryptographic stack. Its ABI, crypto backend defaults, and security hardening choices can affect language bindings and applications that validate signed XML, so distributions treat it as security-sensitive plumbing rather than a casual XML helper.

### 时间线

- 2002: XML Security Library 0.0.1 was released on 2002-03-17.
- 2002: XML Encryption support appeared in the 0.0.3 release on 2002-04-16.
- 2003: XML Security Library 1.0.0 was released on 2003-04-17 with multiple crypto-engine support.
- 2023: XML Security Library 1.3.0 introduced ABI and API breaking changes for newer XML Signature and Encryption behavior.
- 2026: XML Security Library 1.3.12 was announced on 2026-06-23 with additional crypto-algorithm support and transform-depth controls.

### Related projects

- xmlsec is built around libxml2 and related XML standards such as XML Signature, XML Encryption, Canonical XML, and Exclusive Canonical XML. Its crypto backends include OpenSSL, GnuTLS, NSS, and Windows crypto providers.

### 来源

- <https://raw.githubusercontent.com/lsh123/xmlsec/master/README.md>
- <https://www.aleksey.com/xmlsec/>
- <https://www.aleksey.com/xmlsec/documentation.html>
- <https://www.aleksey.com/xmlsec/news.html>


## 安全说明

library-like package without higher-risk signals.

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

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

- Debian apt - libxmlsec1-dev - 1.2.41-1+b1: installed executable or alias match | Debian stable package indexes: libxmlsec1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for the XML security library | https://www.aleksey.com/xmlsec/
- Debian apt - libxmlsec1-doc - 1.2.41-1: installed executable or alias match | Debian stable package indexes: libxmlsec1-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | XML security library -- documentation | https://www.aleksey.com/xmlsec/
- Debian apt - libxmlsec1t64 - 1.2.41-1+b1: installed executable or alias match | Debian stable package indexes: libxmlsec1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | XML security library | https://www.aleksey.com/xmlsec/
- Debian apt - libxmlsec1t64-gcrypt - 1.2.41-1+b1: installed executable or alias match | Debian stable package indexes: libxmlsec1t64-gcrypt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Gcrypt engine for the XML security library | https://www.aleksey.com/xmlsec/
- Debian apt - libxmlsec1t64-gnutls - 1.2.41-1+b1: installed executable or alias match | Debian stable package indexes: libxmlsec1t64-gnutls from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Gnutls engine for the XML security library | https://www.aleksey.com/xmlsec/
- Debian apt - libxmlsec1t64-nss - 1.2.41-1+b1: installed executable or alias match | Debian stable package indexes: libxmlsec1t64-nss from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Nss engine for the XML security library | https://www.aleksey.com/xmlsec/
- Debian apt - libxmlsec1t64-openssl - 1.2.41-1+b1: installed executable or alias match | Debian stable package indexes: libxmlsec1t64-openssl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Openssl engine for the XML security library | https://www.aleksey.com/xmlsec/
- Debian apt - xmlsec1 - 1.2.41-1+b1: installed executable or alias match | Debian stable package indexes: xmlsec1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | XML security command line processor | https://www.aleksey.com/xmlsec/
- Ubuntu apt - libxmlsec1-dev - 1.2.39-5build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libxmlsec1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Development files for the XML security library | https://www.aleksey.com/xmlsec/
- Ubuntu apt - libxmlsec1-doc - 1.2.39-5build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libxmlsec1-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | XML security library -- documentation | https://www.aleksey.com/xmlsec/
- Ubuntu apt - libxmlsec1t64 - 1.2.39-5build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libxmlsec1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | XML security library | https://www.aleksey.com/xmlsec/
- Ubuntu apt - libxmlsec1t64-gcrypt - 1.2.39-5build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libxmlsec1t64-gcrypt from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Gcrypt engine for the XML security library | https://www.aleksey.com/xmlsec/
- Ubuntu apt - libxmlsec1t64-gnutls - 1.2.39-5build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libxmlsec1t64-gnutls from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Gnutls engine for the XML security library | https://www.aleksey.com/xmlsec/
- Ubuntu apt - libxmlsec1t64-nss - 1.2.39-5build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libxmlsec1t64-nss from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Nss engine for the XML security library | https://www.aleksey.com/xmlsec/
- Ubuntu apt - libxmlsec1t64-openssl - 1.2.39-5build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libxmlsec1t64-openssl from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Openssl engine for the XML security library | https://www.aleksey.com/xmlsec/
- Ubuntu apt - xmlsec1 - 1.2.39-5build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: xmlsec1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | XML security command line processor | https://www.aleksey.com/xmlsec/


## Combined YAML source

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