Automic VaultAutomic Vault

brew

Install libotr with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Off-The-Record (OTR) messaging library. Version 4.1.1 via Homebrew; verified 2026-06-19.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libotr

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install libotr

MacPorts ports tree · security/libotr/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add libotr

Alpine Linux edge package indexes · libotr · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libotr5-bin

Debian stable package indexes · libotr5-bin · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install libotr

Fedora Rawhide package metadata · libotr · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#libotr

nixpkgs package indexes · pkgs/by-name/li/libotr/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S libotr

Arch Linux sync databases · libotr · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libotr-devel

openSUSE Tumbleweed package metadata · libotr-devel · source: download.opensuse.org

overview

Package summary

Off-The-Record (OTR) messaging library

Commands and aliases

  • otr_mackey
  • otr_modify
  • otr_parse
  • otr_readforge
  • otr_remac
  • otr_sesskeys

history

Project history and usage

libotr is the portable C library and toolkit for Off-the-Record Messaging, a protocol for private instant-messaging conversations with encryption, authentication during the conversation, deniability after the fact, and perfect forward secrecy.

Project history

OTR came from academic and cypherpunk work on making instant messaging behave more like an off-the-record conversation than signed email. The official OTR site links the library, the Pidgin plugin, protocol descriptions, and the original research papers as one software-and-protocol family.

libotr served as the reference C implementation for client developers. The project paired the LGPL library with GPL toolkit programs and with pidgin-otr, making it practical for multiprotocol IM clients to add OTR without each client reimplementing the cryptographic state machine.

Adoption history

OTR became especially associated with desktop XMPP and multiprotocol IM clients. XMPP Extension Protocol 0364 described OTR as the de facto standard for end-to-end encryption in XMPP, while the OTR site maintained user-facing downloads for pidgin-otr, source repositories, protocol documents, and implementation lists.

How it is used

Applications link libotr to negotiate OTR sessions, run the authenticated key exchange, encrypt and authenticate data messages, and expose higher-level verification flows such as the Socialist Millionaires' Protocol. The Homebrew package also installs toolkit programs for inspecting, modifying, and testing OTR message artifacts.

Why package nerds care

libotr matters because it is a small library package carrying a big protocol story: it let package managers deliver interoperable deniable encryption to chat clients before modern app-specific encrypted messengers became dominant. Its 2016 security release also shows why distro maintainers cared about keeping even niche crypto libraries patched.

Timeline

  • 2004: The OTR design was published in the WPES paper linked from the official OTR documentation.
  • 2012: libotr 4.0.0 and pidgin-otr 4.0.0 were released.
  • 2014: libotr 4.1.0 was released with build-system, secure-memory, constant-time comparison, and API changes.
  • 2016: libotr 4.1.1 fixed CVE-2016-2851 and tightened protocol parsing.

Related projects

  • pidgin-otr is the best-known client plugin distributed alongside libotr by the OTR project.
  • The OTR protocol documents define the wire protocol that libotr implements.
  • XMPP clients and multiprotocol IM clients were the main ecosystem where libotr was reused.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.
  • Installs with 2 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
otr_mackeycliglobal executable
otr_modifycliglobal executable
otr_parsecliglobal executable
otr_readforgecliglobal executable
otr_remaccliglobal executable
otr_sesskeyscliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version4.1.1
manager updated2026-06-19
local dataok
upstreamnot checked
latest detectednot detected

https://otr.cypherpunks.ca/

install metadata

Package metadata

Package keybrew:libotr
Version4.1.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libotr
Homepagehttps://otr.cypherpunks.ca/
Repositoryhttps://bugs.otr.im/git/libotr.git
Upstream docshttps://otr.cypherpunks.ca/
LicenseLGPL-2.1-only AND GPL-2.0-only
Source archivehttps://otr.cypherpunks.ca/libotr-4.1.1.tar.gz
Last updated2026-06-19T12:32:38-07:00
Pulseupdated
Dependencieslibgcrypt, libgpg-error
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibotr
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libotr5-bin 4.1.1-6

toolkit for Off-the-Record Messaging library

https://otr.cypherpunks.ca/

sudo apt install libotr5-bin
  • Section: misc
  • Architecture: amd64
  • Source Package: libotr
  • 3 dependencies
  • normalized package name match
  • Matched by: Libotr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libotr5-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libotr5-dev 4.1.1-6

Off-the-Record Messaging library development files

https://otr.cypherpunks.ca/

sudo apt install libotr5-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libotr
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Libotr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libotr5-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libotr5t64 4.1.1-6

Off-the-Record Messaging library

https://otr.cypherpunks.ca/

sudo apt install libotr5t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libotr
  • 2 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Libotr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libotr5t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libotr

nix profile install nixpkgs#libotr
  • normalized package name match
  • Matched by: Libotr
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libotr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libotr5-bin 4.1.1-5.1build1

toolkit for Off-the-Record Messaging library

https://otr.cypherpunks.ca/

sudo apt install libotr5-bin
  • Section: universe/misc
  • Architecture: amd64
  • Source Package: libotr
  • 3 dependencies
  • normalized package name match
  • Matched by: Libotr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libotr5-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libotr5-dev 4.1.1-5.1build1

Off-the-Record Messaging library development files

https://otr.cypherpunks.ca/

sudo apt install libotr5-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: libotr
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Libotr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libotr5-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libotr5t64 4.1.1-5.1build1

Off-the-Record Messaging library

https://otr.cypherpunks.ca/

sudo apt install libotr5t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libotr
  • 2 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Libotr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libotr5t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libotr 4.1.1-r5

Off The Record Messaging, an encryption library for secure IM conversations

http://otr.cypherpunks.ca/

sudo apk add libotr
  • License: LGPL-2.1-only
  • Architecture: x86_64
  • Source Package: libotr
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libotr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libotr from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libotr-dev 4.1.1-r5

Off The Record Messaging, an encryption library for secure IM conversations (development files)

http://otr.cypherpunks.ca/

sudo apk add libotr-dev
  • License: LGPL-2.1-only
  • Architecture: x86_64
  • Source Package: libotr
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libotr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libotr-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libotr-doc 4.1.1-r5

Off The Record Messaging, an encryption library for secure IM conversations (documentation)

http://otr.cypherpunks.ca/

sudo apk add libotr-doc
  • License: LGPL-2.1-only
  • Architecture: x86_64
  • Source Package: libotr
  • normalized package name match
  • Matched by: Libotr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libotr-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libotr-tools 4.1.1-r5

libotr tools

http://otr.cypherpunks.ca/

sudo apk add libotr-tools
  • License: LGPL-2.1-only
  • Architecture: x86_64
  • Source Package: libotr
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libotr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libotr-tools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

libotr 4.1.1-25.fc44

Off-The-Record Messaging library and toolkit

http://otr.cypherpunks.ca/

sudo dnf install libotr
  • License: GPL-2.0-only AND LicenseRef-Callaway-LGPLv2
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libotr
  • 6 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Libotr
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libotr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libotr-devel 4.1.1-25.fc44

Development library and include files for libotr

http://otr.cypherpunks.ca/

sudo dnf install libotr-devel
  • License: GPL-2.0-only AND LicenseRef-Callaway-LGPLv2
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libotr
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libotr
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libotr-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

libotr 4.1.1-6

Off-the-Record Messaging Library and Toolkit

https://otr.cypherpunks.ca/

sudo pacman -S libotr
  • License: GPL-2.0-only AND LGPL-2.1-only
  • Architecture: x86_64
  • 2 dependencies
  • normalized package name match
  • Matched by: Libotr
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: libotr from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libotr-devel 4.1.1-4.12

Include files and development libraries

https://www.cypherpunks.ca/otr/

sudo zypper install libotr-devel
  • License: GPL-2.0-only AND LGPL-2.1-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: libotr
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libotr
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libotr-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libotr-tools 4.1.1-4.12

"Off The Record" messaging library toolkit

https://www.cypherpunks.ca/otr/

sudo zypper install libotr-tools
  • License: GPL-2.0-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: libotr
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libotr
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libotr-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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