# dtc mit Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für dtc in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:dtc
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install dtc
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dtc
```

  Evidenz: MacPorts ports tree: cross/dtc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add dtc
```

  Evidenz: Alpine Linux edge package indexes: dtc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install dtc
```

  Evidenz: Fedora Rawhide package metadata: dtc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#dtc
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/dt/dtc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S dtc
```

  Evidenz: Arch Linux sync databases: dtc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install dtc
```

  Evidenz: openSUSE Tumbleweed package metadata: dtc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id oss-winget.dtc -e
```

  Evidenz: Windows Package Manager source index: oss-winget.dtc from https://cdn.winget.microsoft.com/cache/source.msix

## Paketfakten

- **Paketschlüssel:** brew:dtc
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/dtc>
- **Version:** 1.8.1
- **Quellzusammenfassung:** Device tree compiler
- **Homepage:** <https://git.kernel.org/pub/scm/utils/dtc/dtc.git>
- **Upstream-Dokumentation:** <https://git.kernel.org/pub/scm/utils/dtc/dtc.git>
- **Lizenz:** GPL-2.0-or-later OR BSD-2-Clause
- **Quellarchiv:** <https://mirrors.edge.kernel.org/pub/software/utils/dtc/dtc-1.8.1.tar.xz>
- **Zuletzt aktualisiert:** 2026-05-28T04:27:00Z
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- convert-dtsv0 (cli)
- dtc (cli)
- dtdiff (cli)
- fdtdump (cli)
- fdtget (cli)
- fdtoverlay (cli)
- fdtput (cli)
- convert-dtsv0 (Alias)
- dtc (Alias)
- dtdiff (Alias)
- fdtdump (Alias)
- fdtget (Alias)
- fdtoverlay (Alias)
- fdtput (Alias)

## Abhängigkeiten

- libyaml

## Build-Abhängigkeiten

- meson
- ninja
- pkgconf

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 1.8.1
- Manager aktualisiert: 2026-05-28
- lokale Daten: OK
- Upstream-Repository: https://git.kernel.org/pub/scm/utils/dtc/dtc
- Info: Release/tag comparison is only available for GitHub repositories.
## Projektgeschichte und Nutzung

dtc is the Device Tree Compiler, the upstream toolchain for converting human-readable Devicetree Source files into binary Devicetree Blob files and back. It is a small command-line package, but it sits on a critical path for Linux, embedded boards, bootloaders, firmware descriptions, and hardware bring-up.

### Projektgeschichte

The Linux kernel documentation explains the historical setting: Devicetree came from Open Firmware as a way for firmware to describe hardware to an operating system, long used on PowerPC and SPARC. In 2005, PowerPC Linux cleanup required DT support broadly, and the Flattened Device Tree format was created so bootloaders such as U-Boot and kexec could pass a binary blob to the kernel without requiring a full Open Firmware implementation.

dtc is the userspace compiler around that format. Its manual says the compiler takes a device tree in one format and emits another, typically compiling DTS source into DTB binary output, while also supporting filesystem-style input, assembly output, YAML intermediate output, libfdt, fdtdump, fdtget, fdtput, fdtoverlay, and related tools.

The upstream repository is maintained on git.kernel.org by the DTC group. The official manual names git.kernel.org as the source location and gives the HTTP(S) upstream repository URL, making it the authoritative repo rather than a package-manager mirror.

### Adoptionsgeschichte

dtc adoption follows Linux and embedded adoption rather than an application popularity curve. Whenever a board port, bootloader, firmware workflow, or kernel build needs DTS-to-DTB compilation or libfdt tools, dtc becomes part of the build or debugging environment.

Package-manager coverage is broad: the input package metadata records Alpine, Homebrew, Fedora/DNF, MacPorts, Nix, Arch/pacman, winget, and zypper packages. Homebrew analytics are much higher than the other packages in this batch, which fits dtc's role as infrastructure pulled in by embedded, kernel, and hardware workflows.

### Wie es verwendet wird

The core command compiles between input formats such as `dts`, `dtb`, and filesystem representation, and output formats such as `dtb`, `dts`, assembly, and YAML. Common workflows include compiling board `.dts` files, decompiling `.dtb` blobs for inspection, generating overlays with symbol and fixup metadata, and using libfdt utilities in scripts.

The package has no user config file or credentials. It is a compiler/tool suite whose behavior is driven by command-line options and source files.

### Warum Paket-Nerds sich dafür interessieren

dtc is significant because it is one of those packages that looks small in a package list but represents an entire hardware-description ABI. If you build kernels, bootloaders, board support packages, or firmware images, `dtc` is often just there, quietly turning text descriptions into boot-time data.

For package nerds, it is also a reminder that not all important packages are user-facing applications. dtc is plumbing: versioned tarballs from kernel.org, a dual GPL/BSD license model, libfdt consumers, distro packaging, and an executable family that shows up anywhere embedded Linux work happens.

### Zeitleiste

- 2005: Linux kernel documentation describes Flattened Device Tree creation during PowerPC Linux cleanup.
- 2006-01: The dtc refs page shows the `dwg-last` tag.
- 2007-08: The dtc refs page shows v1.0.0.
- 2011-05: The dtc refs page shows v1.3.0.
- 2021-06: The dtc refs page shows v1.6.1.
- 2026-05: The dtc refs page shows v1.8.1, packaged by Homebrew as the stable version.

### Related projects

- Linux Devicetree support is the main operating-system context for dtc.
- U-Boot and kexec are named by the Linux kernel documentation as bootloaders or loaders modified to pass and modify DTB data.
- libfdt is part of the dtc source tree and provides library access to Flattened Device Tree data.
- Devicetree.org specifications are cited by the Linux kernel documentation as the format overview.

### Quellen

- <https://git.kernel.org/pub/scm/utils/dtc/dtc.git>
- <https://git.kernel.org/pub/scm/utils/dtc/dtc.git/plain/Documentation/manual.txt>
- <https://git.kernel.org/pub/scm/utils/dtc/dtc.git/refs/>
- <https://www.kernel.org/doc/html/latest/devicetree/usage-model.html>
- <https://formulae.brew.sh/api/formula/dtc.json>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Details aus der Quelldatenbank

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

## Andere Paketmanager-Einträge

- Nix - dtc: normalized package name match | nixpkgs package indexes: pkgs/by-name/dt/dtc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - dtc - 1.7.2-r1: normalized package name match | Alpine Linux edge package indexes: dtc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Device Tree Compiler | https://git.kernel.org/pub/scm/utils/dtc/dtc.git/
- apk - dtc-dev - 1.7.2-r1: normalized package name match | Alpine Linux edge package indexes: dtc-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Device Tree Compiler (development files) | https://git.kernel.org/pub/scm/utils/dtc/dtc.git/
- apk - libfdt - 1.7.2-r1: normalized package name match | Alpine Linux edge package indexes: libfdt from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Device tree library | https://git.kernel.org/pub/scm/utils/dtc/dtc.git/
- apk - py3-libfdt - 1.7.2-r1: normalized package name match | Alpine Linux edge package indexes: py3-libfdt from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Device tree library for Python 3 | https://git.kernel.org/pub/scm/utils/dtc/dtc.git/
- apk - py3-libfdt-pyc - 1.7.2-r1: normalized package name match | Alpine Linux edge package indexes: py3-libfdt-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for py3-libfdt | https://git.kernel.org/pub/scm/utils/dtc/dtc.git/
- dnf - dtc - 1.8.1-4.fc45: normalized package name match | Fedora Rawhide package metadata: dtc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Device Tree Compiler | https://devicetree.org/
- dnf - libfdt - 1.8.1-4.fc45: normalized package name match | Fedora Rawhide package metadata: libfdt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Device tree library | https://devicetree.org/
- dnf - libfdt-devel - 1.8.1-4.fc45: normalized package name match | Fedora Rawhide package metadata: libfdt-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development headers for device tree library | https://devicetree.org/
- dnf - libfdt-static - 1.8.1-4.fc45: normalized package name match | Fedora Rawhide package metadata: libfdt-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Static version of device tree library | https://devicetree.org/
- dnf - mingw32-libfdt - 1.8.1-4.fc45: normalized package name match | Fedora Rawhide package metadata: mingw32-libfdt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | MinGW Device tree library | https://devicetree.org/
- dnf - mingw32-libfdt-static - 1.8.1-4.fc45: normalized package name match | Fedora Rawhide package metadata: mingw32-libfdt-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Static version of MinGW Device tree library | https://devicetree.org/
- dnf - mingw64-libfdt - 1.8.1-4.fc45: normalized package name match | Fedora Rawhide package metadata: mingw64-libfdt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | MinGW Device tree library | https://devicetree.org/
- dnf - mingw64-libfdt-static - 1.8.1-4.fc45: normalized package name match | Fedora Rawhide package metadata: mingw64-libfdt-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Static version of MinGW Device tree library | https://devicetree.org/
- dnf - python3-libfdt - 1.8.1-4.fc45: normalized package name match | Fedora Rawhide package metadata: python3-libfdt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Python 3 bindings for device tree library | https://devicetree.org/
- pacman - dtc - 1:1.8.1-1: normalized package name match | Arch Linux sync databases: dtc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Device Tree Compiler | https://www.devicetree.org/


## Verwandte Links

- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/de/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/de/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [pkgconf](https://pkg.so/de/brew/pkgconf/) - Build dependency declared by Homebrew.
- [ninja](https://pkg.so/de/brew/ninja/) - Build dependency declared by Homebrew.
- [meson](https://pkg.so/de/brew/meson/) - Build dependency declared by Homebrew.
- [qemu](https://pkg.so/de/brew/qemu/) - Popular package that depends on this formula.
- [nuitka](https://pkg.so/de/brew/nuitka/) - Shares pkgdb curated category or tags: cli, compiler, compilers, developer-tools.
- [nvc](https://pkg.so/de/brew/nvc/) - Shares pkgdb curated category or tags: cli, compiler, compilers, developer-tools.
- [cc65](https://pkg.so/de/brew/cc65/) - Shares pkgdb curated category or tags: cli, compiler, compilers, developer-tools.
- [pythran](https://pkg.so/de/brew/pythran/) - Shares pkgdb curated category or tags: cli, compiler, compilers, developer-tools.
- [mlton](https://pkg.so/de/brew/mlton/) - Shares pkgdb curated category or tags: cli, compiler, compilers, developer-tools.
- [m68k-elf-gcc](https://pkg.so/de/brew/m68k-elf-gcc/) - Shares pkgdb curated category or tags: cli, compiler, compilers, developer-tools.
- [mingw-w64](https://pkg.so/de/brew/mingw-w64/) - Shares pkgdb curated category or tags: cli, compilers, developer-tools.
- [arm-none-eabi-gcc](https://pkg.so/de/brew/arm-none-eabi-gcc/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools, embedded.
- [snapcraft](https://pkg.so/de/brew/snapcraft/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, device, libyaml.

## Combined YAML source

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


## Quellen

- 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
