macOS
brew install libcoaplocal Homebrew formula metadata
brew
Lightweight application-protocol for resource-constrained devices. Version 4.3.5b via Homebrew; verified 2026-04-14.
install
brew install libcoaplocal Homebrew formula metadata
sudo apk add libcoapAlpine Linux edge package indexes · libcoap · source: dl-cdn.alpinelinux.org
sudo dnf install libcoapFedora Rawhide package metadata · libcoap · source: dl.fedoraproject.org
nix profile install nixpkgs#libcoapnixpkgs package indexes · pkgs/by-name/li/libcoap/package.nix · source: api.github.com
sudo zypper install libcoap-developenSUSE Tumbleweed package metadata · libcoap-devel · source: download.opensuse.org
overview
Lightweight application-protocol for resource-constrained devices
history
libcoap is a C implementation of the Constrained Application Protocol, the IETF protocol standardized as RFC 7252 for low-power, lossy, and memory-constrained networks. It gives Unix and embedded developers a reusable CoAP parser, networking layer, examples, and client/server tools.
The repository identifies libcoap as a C implementation of CoAP and carries copyright years beginning in 2010 for Olaf Bergmann and contributors. That places the project in the early CoAP implementation wave before the protocol was published as RFC 7252 in June 2014.
As CoAP grew from a basic REST-like protocol for constrained devices into a family of RFC extensions, libcoap accumulated support for related specifications including group communication, observing resources, block-wise transfers, CoAP over TCP/TLS/WebSockets, OSCORE, hop limit, and echo/request-token processing.
libcoap's adoption follows the embedded and IoT networking ecosystem rather than desktop application culture. Its README names hosted environments including Contiki-NG, Espressif ESP-IDF, LwIP, and RIOT-OS, which explains why package managers ship both library artifacts and tools such as `coap-client`, `coap-server`, and `coap-rd`.
Developers use libcoap to build CoAP clients, servers, resource directories, and test fixtures. Homebrew exposes separate OpenSSL-suffixed tools in addition to the base client, server, and resource-directory commands, making it useful both as a development library and a packet-level debugging utility.
libcoap is package-nerd relevant because it is a small C library sitting at the boundary between standards work and actual device networks. It is the installable thing that turns RFC language about constrained REST into commands a maintainer can run against embedded boards, gateways, and simulators.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
coap-client | cli | global executable | |
coap-client-openssl | cli | global executable | |
coap-rd | cli | global executable | |
coap-rd-openssl | cli | global executable | |
coap-server | cli | global executable | |
coap-server-openssl | cli | global executable |
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.
https://github.com/obgm/libcoap
install metadata
| Package key | brew:libcoap |
|---|---|
| Version | 4.3.5b |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libcoap |
| Homepage | https://github.com/obgm/libcoap |
| Repository | https://github.com/obgm/libcoap |
| Upstream docs | https://libcoap.net/doc/reference/4.3.5/man_coap.html |
| License | BSD-2-Clause |
| Source archive | https://github.com/obgm/libcoap/archive/refs/tags/v4.3.5b.tar.gz |
| Last updated | 2026-04-14T15:17:29Z |
| Pulse | updated |
| Dependencies | openssl@3 |
| Build dependencies | autoconf, automake, libtool, pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libcoap |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libcoap
nix profile install nixpkgs#libcoaplibcoap 4.3.5b-r0
A CoAP (RFC 7252) implementation
sudo apk add libcoaplibcoap-dev 4.3.5b-r0
A CoAP (RFC 7252) implementation (development files)
sudo apk add libcoap-devlibcoap-doc 4.3.5b-r0
A CoAP (RFC 7252) implementation (documentation)
sudo apk add libcoap-doclibcoap 4.3.5b-1.fc45
C library implementation of CoAP
sudo dnf install libcoaplibcoap-devel 4.3.5b-1.fc45
Development package for libcoap
sudo dnf install libcoap-devellibcoap-doc 4.3.5b-1.fc45
Documentation package for libcoap
sudo dnf install libcoap-doclibcoap-utils 4.3.5b-1.fc45
Client and server CoAP utilities
sudo dnf install libcoap-utilslibcoap-devel 4.3.5b-1.2
Development files for libcoap
sudo zypper install libcoap-devellibcoap-utils 4.3.5b-1.2
Utilities for Constrained Application Protocol (CoAP)
sudo zypper install libcoap-utilslibcoap3-3 4.3.5b-1.2
C implementation of Constrained Application Protocol (CoAP)
sudo zypper install libcoap3-3source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.