macOS
brew install dtclocal Homebrew formula metadata
sudo port install dtcMacPorts ports tree · cross/dtc/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de dtc pour les workflows d'agents IA.
installation
brew install dtclocal Homebrew formula metadata
sudo port install dtcMacPorts ports tree · cross/dtc/Portfile · Source: api.github.com
sudo apk add dtcAlpine Linux edge package indexes · dtc · Source: dl-cdn.alpinelinux.org
sudo dnf install dtcFedora Rawhide package metadata · dtc · Source: dl.fedoraproject.org
nix profile install nixpkgs#dtcnixpkgs package indexes · pkgs/by-name/dt/dtc/package.nix · Source: api.github.com
sudo pacman -S dtcArch Linux sync databases · dtc · Source: geo.mirror.pkgbuild.com
sudo zypper install dtcopenSUSE Tumbleweed package metadata · dtc · Source: download.opensuse.org
winget install --id oss-winget.dtc -eWindows Package Manager source index · oss-winget.dtc · Source: cdn.winget.microsoft.com
aperçu
Device tree compiler
historique
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.
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.
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.
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.
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
convert-dtsv0 | cli | exécutable global | |
dtc | cli | exécutable global | |
dtdiff | cli | exécutable global | |
fdtdump | cli | exécutable global | |
fdtget | cli | exécutable global | |
fdtoverlay | cli | exécutable global | |
fdtput | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://git.kernel.org/pub/scm/utils/dtc/dtc
métadonnées d'installation
| Clé du paquet | brew:dtc |
|---|---|
| Version | 1.8.1 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/dtc |
| Page d'accueil | https://git.kernel.org/pub/scm/utils/dtc/dtc.git |
| Dépôt | https://git.kernel.org/pub/scm/utils/dtc/dtc.git |
| Docs amont | https://git.kernel.org/pub/scm/utils/dtc/dtc.git/tree/Documentation |
| Licence | GPL-2.0-or-later OR BSD-2-Clause |
| Archive source | https://mirrors.edge.kernel.org/pub/software/utils/dtc/dtc-1.8.1.tar.xz |
| Dernière mise à jour | 2026-05-28T04:27:00Z |
| Pulse | updated |
| Dépendances | libyaml |
| Dépendances de compilation | meson, ninja, pkgconf |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
dtc
nix profile install nixpkgs#dtcdtc 1.7.2-r1
Device Tree Compiler
https://git.kernel.org/pub/scm/utils/dtc/dtc.git/
sudo apk add dtcdtc-dev 1.7.2-r1
Device Tree Compiler (development files)
https://git.kernel.org/pub/scm/utils/dtc/dtc.git/
sudo apk add dtc-devlibfdt 1.7.2-r1
Device tree library
https://git.kernel.org/pub/scm/utils/dtc/dtc.git/
sudo apk add libfdtpy3-libfdt 1.7.2-r1
Device tree library for Python 3
https://git.kernel.org/pub/scm/utils/dtc/dtc.git/
sudo apk add py3-libfdtpy3-libfdt-pyc 1.7.2-r1
Precompiled Python bytecode for py3-libfdt
https://git.kernel.org/pub/scm/utils/dtc/dtc.git/
sudo apk add py3-libfdt-pycdtc 1.8.1-2.fc45
Device Tree Compiler
sudo dnf install dtclibfdt 1.8.1-2.fc45
Device tree library
sudo dnf install libfdtlibfdt-devel 1.8.1-2.fc45
Development headers for device tree library
sudo dnf install libfdt-devellibfdt-static 1.8.1-2.fc45
Static version of device tree library
sudo dnf install libfdt-staticmingw32-libfdt 1.8.1-2.fc45
MinGW Device tree library
sudo dnf install mingw32-libfdtmingw32-libfdt-static 1.8.1-2.fc45
Static version of MinGW Device tree library
sudo dnf install mingw32-libfdt-staticmingw64-libfdt 1.8.1-2.fc45
MinGW Device tree library
sudo dnf install mingw64-libfdtmingw64-libfdt-static 1.8.1-2.fc45
Static version of MinGW Device tree library
sudo dnf install mingw64-libfdt-staticpython3-libfdt 1.8.1-2.fc45
Python 3 bindings for device tree library
sudo dnf install python3-libfdtdtc 1:1.7.2-1
Device Tree Compiler
sudo pacman -S dtcpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.