# 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/device-mapper>
- **バージョン:** 2.03.41
- **ソース概要:** Userspace library and tools for logical volume management
- **ホームページ:** <https://sourceware.org/dm>
- **上流ドキュメント:** <https://sourceware.org/dm>
- **ライセンス:** LGPL-2.1-only
- **ソースアーカイブ:** <https://sourceware.org/pub/lvm2/releases/LVM2.2.03.41.tgz>
- **最終更新:** 2026-05-15T13:17:20Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## 依存関係

- libaio

## ビルド依存関係

- pkgconf

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.03.41
- マネージャ更新日: 2026-05-15
- ローカルデータ: OK
- 上流リポジトリ: https://sourceware.org/dm
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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 を使えるよう、パッケージメタデータはここに公開されています。


## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** device-mapper
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** linux
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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/


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/ja/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [ncdu](https://pkg.so/ja/brew/ncdu/) - Shares pkgdb curated category or tags: cli, storage, system.
- [fio](https://pkg.so/ja/brew/fio/) - Shares pkgdb curated category or tags: cli, storage, system.
- [baobab](https://pkg.so/ja/brew/baobab/) - Shares pkgdb curated category or tags: cli, storage, system.
- [di](https://pkg.so/ja/brew/di/) - Shares pkgdb curated category or tags: cli, storage, system.
- [snapraid](https://pkg.so/ja/brew/snapraid/) - Shares pkgdb curated category or tags: cli, storage, system.
- [disktype](https://pkg.so/ja/brew/disktype/) - Shares pkgdb curated category or tags: cli, storage, system.
- [bonnie++](https://pkg.so/ja/brew/bonnie/) - Shares pkgdb curated category or tags: cli, storage, system.
- [btdu](https://pkg.so/ja/brew/btdu/) - Shares pkgdb curated category or tags: cli, storage, system.
- [btrfs-progs](https://pkg.so/ja/brew/btrfs-progs/) - Local package facts share a topical domain. Shared terms: cli, linux, logical, storage, system.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
