# device-mapper を Homebrew, apk, dnf, pacman, zypper, apt でインストール

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

## インストール

```sh
sudo av install brew:device-mapper
```

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

### macOS

- Homebrew (100%):

```sh
brew install device-mapper
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add device-mapper
```

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

- dnf (92%):

```sh
sudo dnf install device-mapper
```

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

- pacman (92%):

```sh
sudo pacman -S device-mapper
```

  証拠: Arch Linux sync databases: device-mapper from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install device-mapper
```

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

- Debian apt (92%):

```sh
sudo apt install dmsetup
```

  証拠: Debian stable package indexes: dmsetup from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## パッケージ情報

- **パッケージキー:** brew:device-mapper
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.03.41
- **ソース概要:** Userspace library and tools for logical volume management
- **ホームページ:** <https://sourceware.org/dm>
- **最終更新:** 2026-05-15T13:17:20Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- blkdeactivate (エイリアス)
- dmsetup (エイリアス)
- dmstats (エイリアス)
- dmvdostats (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

device-mapper is the Linux kernel block-device mapping framework and its companion userspace tools and library. In package-manager terms, the Homebrew formula exposes dmsetup, dmstats, and libdevmapper from the LVM2-maintained userspace code rather than a standalone application.

### プロジェクトの歴史

The Sourceware device-mapper page describes device-mapper as a Linux kernel component present since kernel 2.6 and required by LVM2 and EVMS. Its userspace code, including dmsetup and libdevmapper, is maintained alongside the LVM2 source package, tying the package's release history to LVM2 rather than to an independent device-mapper release stream.

The LVM2 Sourceware page records that LVM2 needs device-mapper support in the kernel, libdevmapper, and the LVM2 userspace tools. It also documents the source-control migration: the primary copy moved from CVS before June 7, 2012, and the Git repository moved to GitLab on June 30, 2023.

### 採用の歴史

device-mapper became a baseline Linux storage dependency because it sits underneath logical volume management and related block-device targets. It is packaged across Linux distributions as device-mapper or dmsetup, and Homebrew's formula gives macOS users access to the same userspace tooling for inspection, build, and compatibility workflows.

### 使われ方

Package users mostly meet device-mapper through dmsetup and libdevmapper. The tools are used to create, inspect, deactivate, and report mapped block devices, while higher-level systems such as LVM2 build logical-volume workflows on top of the same kernel/userspace interface.

### パッケージ好きにとっての重要性

device-mapper matters to package nerds because it is infrastructure plumbing: small command-line tools, a C library, kernel interfaces, and release coupling to LVM2. Its formula is less about a user-facing app and more about making Linux storage primitives available to scripts, tests, ports, and dependent packages.

### タイムライン

- Linux 2.6: device-mapper is part of the kernel block-device stack.
- 2012-06-07: LVM2 source history before this date was maintained in CVS.
- 2023-06-30: LVM2 and device-mapper userspace source moved to GitLab.

### Related projects

- LVM2 is the primary related userspace project and maintains the current dmsetup and libdevmapper source.
- EVMS and the original LVM are historical related projects named by the Sourceware device-mapper page.

### ソース

- <https://sourceware.org/dm/>
- <https://sourceware.org/lvm2/>


## セキュリティノート

device-mapper に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。


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

- apk - device-mapper - 2.03.35-r4: normalized package name match | Alpine Linux edge package indexes: device-mapper from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Device mapper userspace library and tools from LVM2 | https://sourceware.org/lvm2/
- apk - device-mapper-dev - 2.03.35-r4: normalized package name match | Alpine Linux edge package indexes: device-mapper-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Device mapper userspace library and tools from LVM2 (development files) | https://sourceware.org/lvm2/
- apk - device-mapper-dmeventd - 2.03.35-r4: normalized package name match | Alpine Linux edge package indexes: device-mapper-dmeventd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Device-mapper event daemon | https://sourceware.org/lvm2/
- apk - device-mapper-dmeventd-openrc - 2.03.35-r4: normalized package name match | Alpine Linux edge package indexes: device-mapper-dmeventd-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Device-mapper event daemon (OpenRC init scripts) | https://sourceware.org/lvm2/
- apk - device-mapper-doc - 2.03.35-r4: normalized package name match | Alpine Linux edge package indexes: device-mapper-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Device mapper userspace library and tools from LVM2 (documentation) | https://sourceware.org/lvm2/
- apk - device-mapper-event-libs - 2.03.35-r4: normalized package name match | Alpine Linux edge package indexes: device-mapper-event-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Device-mapper event daemon shared library | https://sourceware.org/lvm2/
- apk - device-mapper-libs - 2.03.35-r4: normalized package name match | Alpine Linux edge package indexes: device-mapper-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Device-mapper shared library | https://sourceware.org/lvm2/
- apk - device-mapper-static - 2.03.35-r4: normalized package name match | Alpine Linux edge package indexes: device-mapper-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Device-mapper static libraries and binaries | https://sourceware.org/lvm2/
- apk - device-mapper-udev - 2.03.35-r4: normalized package name match | Alpine Linux edge package indexes: device-mapper-udev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Device mapper udev rules | https://sourceware.org/lvm2/
- dnf - device-mapper - 1.02.215-3.fc45: normalized package name match | Fedora Rawhide package metadata: device-mapper from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Device mapper utility | https://www.sourceware.org/dm/
- pacman - device-mapper - 2.03.41-1: normalized package name match | Arch Linux sync databases: device-mapper from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz | Device mapper userspace library and tools | http://sourceware.org/dm/
- zypper - device-mapper - 2.03.38_1.02.212-2.5: normalized package name match | openSUSE Tumbleweed package metadata: device-mapper from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Device Mapper Tools | https://www.sourceware.org/lvm2/
- Debian apt - dmsetup - 2:1.02.205-2: installed executable or alias match | Debian stable package indexes: dmsetup from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Linux Kernel Device Mapper userspace library | https://sourceware.org/lvm2/
- Ubuntu apt - dmsetup - 2:1.02.185-3ubuntu3: installed executable or alias match | Ubuntu 24.04 LTS package indexes: dmsetup from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Linux Kernel Device Mapper userspace library | https://sourceware.org/lvm2/


## Combined YAML source

View the package source record on GitHub. [combined/device-mapper.yml](https://github.com/mxcl/pkgdb/blob/main/combined/device-mapper.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
