macOS
brew install dublocal Homebrew formula metadata
sudo port install dubMacPorts ports tree · devel/dub/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für dub in AI-Agent-Workflows.
Installation
brew install dublocal Homebrew formula metadata
sudo port install dubMacPorts ports tree · devel/dub/Portfile · Quelle: api.github.com
sudo apk add dubAlpine Linux edge package indexes · dub · Quelle: dl-cdn.alpinelinux.org
sudo apt install dubDebian stable package indexes · dub · Quelle: deb.debian.org
sudo dnf install dubFedora Rawhide package metadata · dub · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#dubnixpkgs package indexes · pkgs/by-name/du/dub/package.nix · Quelle: api.github.com
sudo pacman -S dubArch Linux sync databases · dub · Quelle: geo.mirror.pkgbuild.com
sudo zypper install dubopenSUSE Tumbleweed package metadata · dub · Quelle: download.opensuse.org
Überblick
Build tool for D projects
Verlauf
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.
Sicherheitslage
generalized runtime or code generation signal.
yellow Risiko · mittel Konfidenz · runtime
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
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.jsonExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
dub | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:dub |
|---|---|
| Version | 1.41.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/dub |
| Homepage | https://code.dlang.org/getting_started |
| Repository | https://github.com/dlang/dub |
| Upstream-Dokumentation | https://dub.pm/ |
| Lizenz | MIT |
| Quellarchiv | https://github.com/dlang/dub/archive/refs/tags/v1.41.0.tar.gz |
| Zuletzt aktualisiert | 2026-06-22T14:03:12-07:00 |
| Pulse | updated |
| Abhängigkeiten | pkgconf |
| Build-Abhängigkeiten | ldc |
| Von macOS bereitgestellte Bibliotheken | curl |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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 dubQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.