macOS
brew install libcoaplocal Homebrew formula metadata
安装
brew install libcoaplocal Homebrew formula metadata
sudo apk add libcoapAlpine Linux edge package indexes · libcoap · 来源: dl-cdn.alpinelinux.org
sudo dnf install libcoapFedora Rawhide package metadata · libcoap · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libcoapnixpkgs package indexes · pkgs/by-name/li/libcoap/package.nix · 来源: api.github.com
sudo zypper install libcoap-developenSUSE Tumbleweed package metadata · libcoap-devel · 来源: download.opensuse.org
概览
Lightweight application-protocol for resource-constrained devices
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
coap-client | cli | 全局可执行文件 | |
coap-client-openssl | cli | 全局可执行文件 | |
coap-rd | cli | 全局可执行文件 | |
coap-rd-openssl | cli | 全局可执行文件 | |
coap-server | cli | 全局可执行文件 | |
coap-server-openssl | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/obgm/libcoap
安装元数据
| 软件包键 | brew:libcoap |
|---|---|
| 版本 | 4.3.5b |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/libcoap |
| 主页 | https://github.com/obgm/libcoap |
| 仓库 | https://github.com/obgm/libcoap |
| 上游文档 | https://libcoap.net/doc/reference/4.3.5/man_coap.html |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/obgm/libcoap/archive/refs/tags/v4.3.5b.tar.gz |
| 依赖 | openssl@3 |
| 构建依赖 | autoconf, automake, libtool, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-3来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.