macOS
brew install dublocal Homebrew formula metadata
sudo port install dubMacPorts ports tree · devel/dub/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de dub pour les workflows d'agents IA.
installation
brew install dublocal Homebrew formula metadata
sudo port install dubMacPorts ports tree · devel/dub/Portfile · Source: api.github.com
sudo apk add dubAlpine Linux edge package indexes · dub · Source: dl-cdn.alpinelinux.org
sudo apt install dubDebian stable package indexes · dub · Source: deb.debian.org
sudo dnf install dubFedora Rawhide package metadata · dub · Source: dl.fedoraproject.org
nix profile install nixpkgs#dubnixpkgs package indexes · pkgs/by-name/du/dub/package.nix · Source: api.github.com
sudo pacman -S dubArch Linux sync databases · dub · Source: geo.mirror.pkgbuild.com
sudo zypper install dubopenSUSE Tumbleweed package metadata · dub · Source: download.opensuse.org
aperçu
Build tool for D projects
historique
DUB is the package and build manager that gave the D language ecosystem a conventional registry-plus-build-tool workflow. It matters because it made reusable D libraries installable and buildable through a shared package description instead of scattered project-specific build scripts.
The project describes itself as a package and build manager for D applications and libraries, with a central package registry at code.dlang.org. Its README says DUB emerged as a more general replacement for the package manager originally associated with vibe.d, then expanded from dependency management into building projects and generating IDE project files.
DUB's design center was deliberately small: a short dub.json or later package file, source in a conventional directory, and automatic dependency downloads during builds. That placed it in the same cultural slot as Cargo, npm, or Bundler, but tailored to D's compiler ecosystem and common D project layouts.
DUB became the normal packaging path for public D libraries because the official registry, documentation, and compiler-facing workflow all point through it. The README records broad packaging support over time, including Homebrew, MacPorts, Chocolatey, Debian/Ubuntu, Arch, Alpine, FreeBSD, and OpenBSD.
Its adoption is also tied to IDE and editor integration. The project documentation notes VisualD project generation and Mono-D support for dub.json, which helped make DUB package metadata double as development-environment metadata.
D developers use DUB to create packages, resolve dependencies, build executables and libraries, run tests, and publish packages to the D package registry. The common workflow is intentionally root-directory based: run dub from a package directory and let the package file describe dependencies and build settings.
DUB also has package-nerd value as an example of a language ecosystem build tool that grew out of a framework-specific need, then became the ecosystem-level package manager.
For package database work, DUB is a high-signal package because it is both a CLI and an ecosystem primitive: the executable is a developer tool, while the project also defines package metadata conventions for the D community.
It is historically interesting because it sits between older makefile-centric compiled-language workflows and newer language-native package managers. DUB made D packages discoverable through a central registry while still respecting multiple D compilers such as DMD, GDC, and LDC.
posture de sécurité
generalized runtime or code generation signal.
risque yellow · confiance moyen · runtime
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.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/var/lib/dub/settings.json<dub executable folder>/../etc/dub/settings.json/etc/dub/settings.json$DUB_HOME/settings.json$ROOT_PACKAGE_DIR/dub.settings.json%ProgramData%\dub\settings.json<dub executable folder>\..\etc\dub\settings.json%DUB_HOME%\settings.json%ROOT_PACKAGE_DIR%\dub.settings.jsonexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
dub | 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.
métadonnées d'installation
| Clé du paquet | brew:dub |
|---|---|
| Version | 1.41.0 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/dub |
| Page d'accueil | https://code.dlang.org/getting_started |
| Dépôt | https://github.com/dlang/dub |
| Docs amont | https://dub.pm/ |
| Licence | MIT |
| Archive source | https://github.com/dlang/dub/archive/refs/tags/v1.41.0.tar.gz |
| Dernière mise à jour | 2026-06-22T14:03:12-07:00 |
| Pulse | updated |
| Dépendances | pkgconf |
| Dépendances de compilation | ldc |
| Bibliothèques fournies par macOS | curl |
| 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 | dub |
| Version Scheme | 1 |
| 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.
dub 1.40.0-1
Package and build management system for D
sudo apt install dubdub
nix profile install nixpkgs#dubdub 1.36.0-1ubuntu2
Package and build management system for D
sudo apt install dubdub 1.41.0-r2
Package and build management system for D
sudo apk add dubdub-doc 1.41.0-r2
Package and build management system for D (documentation)
sudo apk add dub-docdub-zsh-completion 1.41.0-r2
Zsh completions for dub
sudo apk add dub-zsh-completiondub 1.41.0-1.fc45
Package and build management system for D
sudo dnf install dubdub 1.41.0-1
Developer package manager for D programming language
sudo pacman -S dubdub 1.41.0-1.4
Package manager and meta build tool for the D programming language
sudo zypper install dubdub
sudo port install dubpiste 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.