# libcoap を Homebrew, apk, dnf, Nix, pacman, zypper でインストール

libcoap のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:libcoap
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install libcoap
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add libcoap
```

  証拠: Alpine Linux edge package indexes: libcoap from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install libcoap
```

  証拠: Fedora Rawhide package metadata: libcoap from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libcoap
```

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

- pacman (92%):

```sh
sudo pacman -S libcoap
```

  証拠: Arch Linux sync databases: libcoap from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libcoap-devel
```

  証拠: openSUSE Tumbleweed package metadata: libcoap-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:libcoap
- **パッケージマネージャ:** Homebrew
- **バージョン:** 4.3.5b
- **ソース概要:** Lightweight application-protocol for resource-constrained devices
- **ホームページ:** <https://github.com/obgm/libcoap>
- **リポジトリ:** <https://github.com/obgm/libcoap>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- coap-client (エイリアス)
- coap-client-openssl (エイリアス)
- coap-rd (エイリアス)
- coap-rd-openssl (エイリアス)
- coap-server (エイリアス)
- coap-server-openssl (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 4.3.5b
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 2010: Copyright range in the official repository begins for Olaf Bergmann and contributors.
- 2014-06: RFC 7252 published CoAP as an Internet Standards Track protocol.
- 2020s: Repository documents support for multiple CoAP extension RFCs and embedded environments.

### Related projects

- Related projects and standards include RFC 7252 CoAP, Contiki-NG, RIOT-OS, LwIP, Espressif ESP-IDF, OSCORE, and the libcoap-minimal examples referenced by the project.

### ソース

- <https://datatracker.ietf.org/doc/html/rfc7252>
- <https://formulae.brew.sh/formula/libcoap>
- <https://github.com/obgm/libcoap>
- <https://libcoap.net/>


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## 他のパッケージマネージャ記録

- Nix - libcoap: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libcoap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - libcoap - 4.3.5b-r0: normalized package name match | Alpine Linux edge package indexes: libcoap from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A CoAP (RFC 7252) implementation | https://libcoap.net/
- apk - libcoap-dev - 4.3.5b-r0: normalized package name match | Alpine Linux edge package indexes: libcoap-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A CoAP (RFC 7252) implementation (development files) | https://libcoap.net/
- apk - libcoap-doc - 4.3.5b-r0: normalized package name match | Alpine Linux edge package indexes: libcoap-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A CoAP (RFC 7252) implementation (documentation) | https://libcoap.net/
- dnf - libcoap - 4.3.5b-3.fc45: normalized package name match | Fedora Rawhide package metadata: libcoap from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | C library implementation of CoAP | https://libcoap.net/
- dnf - libcoap-devel - 4.3.5b-3.fc45: normalized package name match | Fedora Rawhide package metadata: libcoap-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development package for libcoap | https://libcoap.net/
- dnf - libcoap-doc - 4.3.5b-3.fc45: normalized package name match | Fedora Rawhide package metadata: libcoap-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation package for libcoap | https://libcoap.net/
- dnf - libcoap-utils - 4.3.5b-3.fc45: normalized package name match | Fedora Rawhide package metadata: libcoap-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Client and server CoAP utilities | https://libcoap.net/
- pacman - libcoap - 4.3.5b-1: normalized package name match | Arch Linux sync databases: libcoap from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A CoAP (RFC 7252) implementation in C | https://github.com/obgm/libcoap/
- zypper - libcoap-devel - 4.3.5b-1.4: normalized package name match | openSUSE Tumbleweed package metadata: libcoap-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for libcoap | https://libcoap.net/
- zypper - libcoap-utils - 4.3.5b-1.4: normalized package name match | openSUSE Tumbleweed package metadata: libcoap-utils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Utilities for Constrained Application Protocol (CoAP) | https://libcoap.net/
- zypper - libcoap3-3 - 4.3.5b-1.4: normalized package name match | openSUSE Tumbleweed package metadata: libcoap3-3 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | C implementation of Constrained Application Protocol (CoAP) | https://libcoap.net/


## Combined YAML source

View the package source record on GitHub. [combined/libcoap.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libcoap.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
