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

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

## 安装

```sh
sudo av install brew:libetpan
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libetpan
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libetpan
```

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

### Linux

- apk (92%):

```sh
sudo apk add libetpan
```

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

- dnf (92%):

```sh
sudo dnf install libetpan
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#libetpan
```

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

- pacman (92%):

```sh
sudo pacman -S libetpan
```

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

- Debian apt (92%):

```sh
sudo apt install libetpan-dev
```

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

- zypper (92%):

```sh
sudo zypper install libetpan-devel
```

  证据: openSUSE Tumbleweed package metadata: libetpan-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:libetpan
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/libetpan>
- **版本:** 1.10.1
- **来源摘要:** Portable mail library handling several protocols
- **主页:** <https://www.etpan.org/libetpan.html>
- **仓库:** <https://github.com/dinhvh/libetpan>
- **上游文档:** <https://github.com/dinhvh/libetpan#readme>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/dinhvh/libetpan/archive/refs/tags/1.10.1.tar.gz>
- **最后更新:** 2026-06-14T23:21:49Z
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- libetpan-config (cli)
- libetpan-config (别名)

## 依赖

- openssl@3

## 构建依赖

- autoconf
- automake
- libtool
- pkgconf

## macOS 提供的库

- cyrus-sasl

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 1.10.1
- 管理器更新时间: 2026-06-14
- 本地数据: OK
- 上游仓库: https://github.com/dinhvh/libetpan
- 检测到的最新版本: 1.10.1 (当前)
## 项目历史与用法

LibEtPan is a portable C mail framework for IMAP, SMTP, POP, NNTP, local mailbox formats, MIME, and RFC 822 style message handling.

### 项目历史

The project presents itself as a portable and efficient framework for mail access in C. Its older NEWS file records releases in the 0.28 to 0.45 range during 2003-2006, with early work on IMAP fixes, maildir support, MIME parsing, Berkeley DB-backed caches, SSL/TLS, SASL, PGP/S/MIME, Windows support, and cross-compilation.

### 采用历史

The etpan.org project page identifies LibEtPan as the low-level API used by MailCore and MailCore 2, then lists downstream use in Mac and iOS mail applications as well as Claws Mail and other clients. That placement gave it a long life as a reusable mail-protocol layer below application-specific user interfaces.

### 使用方式

LibEtPan is used either as a C library linked through pkg-config or through platform project files for macOS, iOS, and Windows. The upstream site includes examples for composing MIME/RFC 2822 messages, downloading IMAP and POP messages, and sending SMTP mail.

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

For package maintainers, LibEtPan is a dense networking library with many optional protocol surfaces: SSL/TLS, SASL, local mailbox formats, MIME generation, and multiple server quirks. Its ChangeLog shows the maintenance style of a real mail library, with repeated compatibility work for specific IMAP servers and encodings.

### 时间线

- 2003: The NEWS file records libEtPan 0.28 on April 1, 2003 and 0.29 on October 6, 2003.
- 2005: The NEWS file records versions 0.36 through 0.41, including Windows support, SASL, S/MIME, and PGP work.
- 2011: The ChangeLog records libetpan 1.1 on July 12, 2011 with IMAP NAMESPACE, SMTP SIZE, and progress-report API improvements.
- 2013: The 1.2 tag was dated June 4, 2013 on GitHub.
- 2014: The 1.5 and 1.6 tags were dated May 5, 2014 and October 31, 2014.
- 2019: The 1.9.4 tag was dated November 1, 2019.
- 2026: The 1.10 tag was dated May 22, 2026, and the repository page listed a 1.10.1 release dated June 14, 2026.

### Related projects

- The project page explicitly connects LibEtPan to MailCore and MailCore 2. Its feature list also places it near mail clients and libraries that need IMAP, SMTP, POP, NNTP, mbox, MH, Maildir, MIME, and RFC 822 handling.

### 来源

- <https://github.com/dinhvh/libetpan>
- <https://github.com/dinhvh/libetpan/tags>
- <https://raw.githubusercontent.com/dinhvh/libetpan/master/ChangeLog>
- <https://raw.githubusercontent.com/dinhvh/libetpan/master/NEWS>
- <https://www.etpan.org/libetpan.html>


## 安全说明

没有找到 libetpan 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

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

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

- Debian apt - libetpan-dev - 1.9.4-6: normalized package name match | Debian stable package indexes: libetpan-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | mail handling library - development files | https://www.etpan.org/libetpan.html
- Debian apt - libetpan-doc - 1.9.4-6: normalized package name match | Debian stable package indexes: libetpan-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | mail handling library - API documentation | https://www.etpan.org/libetpan.html
- Debian apt - libetpan20t64 - 1.9.4-6: normalized package name match | Debian stable package indexes: libetpan20t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | mail handling library | https://www.etpan.org/libetpan.html
- Nix - libetpan: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libetpan/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libetpan-dev - 1.9.4-3.2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libetpan-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | mail handling library - development files | https://www.etpan.org/libetpan.html
- Ubuntu apt - libetpan-doc - 1.9.4-3.2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libetpan-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | mail handling library - API documentation | https://www.etpan.org/libetpan.html
- Ubuntu apt - libetpan20t64 - 1.9.4-3.2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libetpan20t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | mail handling library | https://www.etpan.org/libetpan.html
- apk - libetpan - 1.10-r0: normalized package name match | Alpine Linux edge package indexes: libetpan from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | a portable middleware for email access | http://www.etpan.org/
- apk - libetpan-dev - 1.10-r0: normalized package name match | Alpine Linux edge package indexes: libetpan-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | a portable middleware for email access (development files) | http://www.etpan.org/
- apk - libetpan-doc - 1.10-r0: normalized package name match | Alpine Linux edge package indexes: libetpan-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | a portable middleware for email access (documentation) | http://www.etpan.org/
- dnf - libetpan - 1.10-1.fc45: normalized package name match | Fedora Rawhide package metadata: libetpan from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Portable, efficient middle-ware for different kinds of mail access | http://www.etpan.org/
- dnf - libetpan-devel - 1.10-1.fc45: normalized package name match | Fedora Rawhide package metadata: libetpan-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development package for libetpan | http://www.etpan.org/
- pacman - libetpan - 1.10-1: normalized package name match | Arch Linux sync databases: libetpan from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A portable middleware for email access | https://www.etpan.org/libetpan.html
- zypper - libetpan-devel - 1.10-1.1: normalized package name match | openSUSE Tumbleweed package metadata: libetpan-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Development files for libetpan, a mail handling library | https://www.etpan.org/libetpan.html
- zypper - libetpan20 - 1.10-1.1: normalized package name match | openSUSE Tumbleweed package metadata: libetpan20 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Mail handling library | https://www.etpan.org/libetpan.html
- MacPorts - libetpan: normalized package name match | MacPorts ports tree: mail/libetpan/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://www.automicvault.com/zh-hans/pkg/web-dev-tools/) - Matched web development metadata.
- [Productivity CLI packages](https://www.automicvault.com/zh-hans/pkg/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [openssl@3](https://www.automicvault.com/zh-hans/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/zh-hans/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/zh-hans/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/zh-hans/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [claws-mail](https://www.automicvault.com/zh-hans/pkg/brew/claws-mail/) - Popular package that depends on this formula.
- [davmail](https://www.automicvault.com/zh-hans/pkg/brew/davmail/) - Shares av.db curated category or tags: cli, imap, mail, networking, smtp.
- [dovecot](https://www.automicvault.com/zh-hans/pkg/brew/dovecot/) - Shares av.db curated category or tags: cli, email, imap, mail, networking.
- [fetchmail](https://www.automicvault.com/zh-hans/pkg/brew/fetchmail/) - Shares av.db curated category or tags: cli, email, imap, networking, pop3.
- [getmail6](https://www.automicvault.com/zh-hans/pkg/brew/getmail6/) - Shares av.db curated category or tags: cli, email, imap, networking, pop3.
- [mailutils](https://www.automicvault.com/zh-hans/pkg/brew/mailutils/) - Shares av.db curated category or tags: cli, email, imap, networking, pop3.
- [exim](https://www.automicvault.com/zh-hans/pkg/brew/exim/) - Shares av.db curated category or tags: cli, email, mail, networking, smtp.
- [goimapnotify](https://www.automicvault.com/zh-hans/pkg/brew/goimapnotify/) - Shares av.db curated category or tags: cli, email, imap, networking.
- [isync](https://www.automicvault.com/zh-hans/pkg/brew/isync/) - Shares av.db curated category or tags: cli, email, imap, networking.
- [nginx](https://www.automicvault.com/zh-hans/pkg/brew/nginx/) - Local package facts share a topical domain. Shared terms: cli, imap, networking, openssl, openssl-3.

## Combined YAML source

View the package source record on GitHub. [combined/libetpan.yml](https://github.com/automic-vault/db/blob/main/combined/libetpan.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
