# Installer dtc avec Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de dtc pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install dtc
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dtc
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: Fedora Rawhide package metadata: dtc 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#dtc
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:dtc
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.8.1
- **Résumé source:** Device tree compiler
- **Page d'accueil:** <https://git.kernel.org/pub/scm/utils/dtc/dtc.git>
- **Dernière mise à jour:** 2026-05-28T04:27:00Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- convert-dtsv0 (alias)
- dtc (alias)
- dtdiff (alias)
- fdtdump (alias)
- fdtget (alias)
- fdtoverlay (alias)
- fdtput (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.8.1
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

- <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>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/


## Combined YAML source

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


## Sources

- 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
