# Install libetpan with Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper

Portable mail library handling several protocols. Version 1.10.1 via Homebrew; verified 2026-06-14. Also installable with debian: sudo apt install libetpan-dev.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libetpan
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libetpan
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:libetpan
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libetpan>
- **Version:** 1.10.1
- **Source summary:** Portable mail library handling several protocols
- **Homepage:** <https://www.etpan.org/libetpan.html>
- **Repository:** <https://github.com/dinhvh/libetpan>
- **Upstream docs:** <https://github.com/dinhvh/libetpan#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/dinhvh/libetpan/archive/refs/tags/1.10.1.tar.gz>
- **Last updated:** 2026-06-14T23:21:49Z
- **Generated:** 2026-07-25T07:20:51+00:00

## Executables

- libetpan-config (cli)
- libetpan-config (alias)

## Dependencies

- openssl@3

## Build dependencies

- autoconf
- automake
- libtool
- pkgconf

## Uses from macOS

- cyrus-sasl

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-25
- Package-manager version: 1.10.1
- Package-manager updated: 2026-06-14
- Local data: ok
- Upstream repository: https://github.com/dinhvh/libetpan
- Upstream latest detected: 1.10.1 (current)
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

No matching local secret-handling manifest was found for libetpan. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **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

## Other Package-Manager Records

- 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


## Related links

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


## Sources

- 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
