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

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

## 安装

```sh
sudo av install brew:libressl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libressl
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libressl
```

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

### Linux

- apk (92%):

```sh
sudo apk add libressl
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#libressl
```

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

- pacman (92%):

```sh
sudo pacman -S libressl
```

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

- zypper (92%):

```sh
sudo zypper install libressl
```

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

- Debian apt (92%):

```sh
sudo apt install openssl
```

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

- dnf (92%):

```sh
sudo dnf install openssl
```

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

### Windows

- Chocolatey (92%):

```sh
choco install openssl
```

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

- Scoop (92%):

```sh
scoop install main/openssl
```

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

- winget (92%):

```sh
winget install --id ShiningLight.OpenSSL.Dev -e
```

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

## 软件包事实

- **软件包键:** brew:libressl
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/libressl>
- **版本:** 4.3.2
- **来源摘要:** Version of the SSL/TLS protocol forked from OpenSSL
- **主页:** <https://www.libressl.org/>
- **仓库:** <https://github.com/libressl/portable>
- **上游文档:** <https://www.libressl.org/>
- **许可证:** OpenSSL
- **源码归档:** <https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-4.3.2.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ocspcheck (cli)
- openssl (cli)
- ocspcheck (别名)
- openssl (别名)

## 依赖

- ca-certificates

## 安装行为

- post-install 钩子: 未定义
- 注意事项: A CA file has been bootstrapped using certificates from the SystemRoots keychain. To add additional certificates (e.g. the certificates added in the System keychain), place .pem files in $HOMEBREW_PREFIX/etc/libressl/certs and run $HOMEBREW_PREFIX/opt/libressl/bin/openssl certhash $HOMEBREW_PREFIX/etc/libressl/certs
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 4.3.2
- 本地数据: OK
- 上游仓库: https://www.libressl.org/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

LibreSSL is the OpenBSD project's fork of the OpenSSL TLS and crypto stack, started in 2014 with goals of modernization, auditability, security, and OpenBSD-style development practice. It ships libcrypto, libssl, libtls, and command-line utilities such as openssl and ocspcheck.

### 项目历史

The official site describes LibreSSL as forked from OpenSSL in 2014, with primary development inside the OpenBSD source tree and regular portable repackaging for other operating systems. The portable repository states the fork point as OpenSSL 1.0.1g and explains that the GitHub project contains the build scaffold and compatibility layer for building OpenBSD's LibreSSL code outside OpenBSD.

The project goals are deliberately conservative: modernize the OpenSSL codebase, apply code review and frequent releases, remove obsolete or broken features and operating-system support, and encourage safer programming interfaces. The portable README also makes clear that LibreSSL is not ABI-compatible with OpenSSL and that API compatibility is limited by the projects' different priorities.

### 采用历史

LibreSSL was adopted first as part of OpenBSD and then as a portable package for Linux, BSDs, macOS, Windows, and other systems. Its wider package-manager life has been shaped by a trade-off: users wanted a cleaned-up OpenSSL-compatible stack, but many large ecosystems remained tied to OpenSSL ABI/API expectations.

For Unix distributions and Homebrew, LibreSSL became a useful alternate TLS implementation and a source of the libtls API, while also serving as a practical stress test for software that claimed OpenSSL portability but depended on OpenSSL-specific behavior.

### 使用方式

Packaged LibreSSL is used either by linking applications to libcrypto, libssl, or libtls, or through command-line tools such as openssl and ocspcheck. The release process tracks OpenBSD development: stable portable branches are derived from OpenBSD releases and receive security updates for a defined support window.

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

LibreSSL is package-nerd significant because it is a security fork with real downstream consequences. It forces maintainers to separate OpenSSL-the-API from OpenSSL-the-implementation, exposes accidental ABI assumptions, and gives package managers a second TLS stack whose release cadence is tied to OpenBSD rather than the OpenSSL project.

### 时间线

- 2014: LibreSSL forked from OpenSSL.
- 2014-07-11: LibreSSL 2.0.0 released, based on an OpenBSD 5.6 development snapshot.
- 2014-08-08: LibreSSL 2.0.5 tied to OpenBSD 5.6 release.
- 2015-09-23: LibreSSL 2.3.0 released.
- 2024-10-14: LibreSSL 4.0.0 released.
- 2026-05-25: LibreSSL 4.3.2 released.

### Related projects

- Related projects include OpenSSL, OpenBSD's libcrypto/libssl/libtls trees, BoringSSL, AWS-LC, wolfSSL, mbedTLS, and downstream software such as OpenSSH and curl that depend on TLS libraries.

### 来源

- <https://github.com/libressl/portable>
- <https://www.libressl.org/>
- <https://www.libressl.org/goals.html>
- <https://www.libressl.org/releases.html>


## 安全说明

library-like package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/ssl/openssl.cnf
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libressl
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** head, stable

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

- Nix - libressl: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libressl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - libressl - 4.3.2-r0: normalized package name match | Alpine Linux edge package indexes: libressl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Version of the TLS/crypto stack forked from OpenSSL | https://www.libressl.org/
- apk - libressl-dbg - 4.3.2-r0: normalized package name match | Alpine Linux edge package indexes: libressl-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Version of the TLS/crypto stack forked from OpenSSL (debug symbols) | https://www.libressl.org/
- apk - libressl-dev - 4.3.2-r0: normalized package name match | Alpine Linux edge package indexes: libressl-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Version of the TLS/crypto stack forked from OpenSSL (development files) | https://www.libressl.org/
- apk - libressl-doc - 4.3.2-r0: normalized package name match | Alpine Linux edge package indexes: libressl-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Version of the TLS/crypto stack forked from OpenSSL (documentation) | https://www.libressl.org/
- apk - libressl-nc - 4.3.2-r0: normalized package name match | Alpine Linux edge package indexes: libressl-nc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | libressl TLS-enabled nc(1) | https://www.libressl.org/
- apk - libressl-static - 4.3.2-r0: normalized package name match | Alpine Linux edge package indexes: libressl-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Version of the TLS/crypto stack forked from OpenSSL (static library) | https://www.libressl.org/
- apk - libressl4.3-libcrypto - 4.3.2-r0: normalized package name match | Alpine Linux edge package indexes: libressl4.3-libcrypto from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | libressl libcrypto library | https://www.libressl.org/
- apk - libressl4.3-libssl - 4.3.2-r0: normalized package name match | Alpine Linux edge package indexes: libressl4.3-libssl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | libressl libssl library | https://www.libressl.org/
- apk - libressl4.3-libtls - 4.3.2-r0: normalized package name match | Alpine Linux edge package indexes: libressl4.3-libtls from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | libressl libtls library | https://www.libressl.org/
- pacman - libressl - 4.3.2-1: normalized package name match | Arch Linux sync databases: libressl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Free version of the TLS/crypto stack forked from OpenSSL | https://www.libressl.org/
- zypper - libcrypto57 - 4.3.2-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libcrypto57 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | An SSL/TLS protocol implementation | https://www.libressl.org/
- zypper - libressl - 4.3.2-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libressl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | An SSL/TLS protocol implementation | https://www.libressl.org/
- zypper - libressl-devel - 4.3.2-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libressl-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for LibreSSL, an SSL/TLS protocol implementation | https://www.libressl.org/
- zypper - libressl-devel-doc - 4.3.2-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libressl-devel-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Documentation for the LibreSSL API | https://www.libressl.org/
- zypper - libssl60 - 4.3.2-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libssl60 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | An SSL/TLS protocol implementation | https://www.libressl.org/


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [movgrab](https://pkg.so/zh-hans/brew/movgrab/) - Popular package that depends on this formula.
- [nss](https://pkg.so/zh-hans/brew/nss/) - Shares pkgdb curated category or tags: cli, cryptography, security, tls.
- [mbedtls](https://pkg.so/zh-hans/brew/mbedtls/) - Shares pkgdb curated category or tags: cli, cryptography, security, ssl, tls.
- [aws-lc](https://pkg.so/zh-hans/brew/aws-lc/) - Shares pkgdb curated category or tags: cli, cryptography, openssl-compatible, security, tls.
- [sslscan](https://pkg.so/zh-hans/brew/sslscan/) - Shares pkgdb curated category or tags: cli, security, ssl, tls.
- [botan](https://pkg.so/zh-hans/brew/botan/) - Shares pkgdb curated category or tags: cli, cryptography, security, tls.
- [ssllabs-scan](https://pkg.so/zh-hans/brew/ssllabs-scan/) - Shares pkgdb curated category or tags: cli, security, ssl, tls.
- [sslsplit](https://pkg.so/zh-hans/brew/sslsplit/) - Shares pkgdb curated category or tags: cli, security, ssl, tls.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Shares pkgdb curated category or tags: cli, cryptography, security, ssl, tls.
- [openssl@3.0](https://pkg.so/zh-hans/brew/openssl-3-0/) - Security-sensitive metadata or terminology overlaps. Shared terms: ca-certificates, certificates, cli, cryptography, openssl.
- [openssl@3.5](https://pkg.so/zh-hans/brew/openssl-3-5/) - Security-sensitive metadata or terminology overlaps. Shared terms: ca-certificates, certificates, cli, cryptography, openssl.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
