Automic VaultAutomic Vault

brew

Installer dub avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

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

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install dub

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install dub

MacPorts ports tree · devel/dub/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add dub

Alpine Linux edge package indexes · dub · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install dub

Debian stable package indexes · dub · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install dub

Fedora Rawhide package metadata · dub · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#dub

nixpkgs package indexes · pkgs/by-name/du/dub/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S dub

Arch Linux sync databases · dub · Source: geo.mirror.pkgbuild.com

openSUSE zyppervérifié · 92%
sudo zypper install dub

openSUSE Tumbleweed package metadata · dub · Source: download.opensuse.org

aperçu

Résumé du paquet

Build tool for D projects

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

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

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.

Chronologie

  • 2010s: DUB emerges from vibe.d's package-manager needs and generalizes into a package and build manager for D.
  • 2010s: code.dlang.org becomes the central DUB package registry.
  • 2017: DUB 1.5 and 1.6 releases appear in the GitHub release history.
  • 2020s: DUB remains the documented D package/build workflow and is packaged by mainstream OS package managers.

Related projects

  • vibe.d is central to DUB's origin story because DUB's README names it as the package manager that DUB generalized beyond.
  • code.dlang.org is the registry side of the DUB ecosystem; VisualD and Mono-D are related development tools that consumed DUB package metadata.

posture de sécurité

Niveau de risque : yellow

generalized runtime or code generation signal.

Classificateur de risque

risque yellow · confiance moyen · runtime

Pourquoi

  • generalized runtime or code generation signal

Signaux

  • text:build tool

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • S’installe avec 1 dépendances d’exécution.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

Revue recommandée

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

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
/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
Windows
%ProgramData%\dub\settings.json<dub executable folder>\..\etc\dub\settings.json%DUB_HOME%\settings.json%ROOT_PACKAGE_DIR%\dub.settings.json

exécutables

Exécutables installés

CommandeTypeExpositionNote
dubcliexécutable global

fraîcheur

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

page générée2026-07-25
version du gestionnaire1.41.0
gestionnaire mis à jour2026-06-22
données localesOK
amontà jour
dernière version détectéev1.41.0

https://github.com/dlang/dub

  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:dub
Version1.41.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/dub
Page d'accueilhttps://code.dlang.org/getting_started
Dépôthttps://github.com/dlang/dub
Docs amonthttps://dub.pm/
LicenceMIT
Archive sourcehttps://github.com/dlang/dub/archive/refs/tags/v1.41.0.tar.gz
Dernière mise à jour2026-06-22T14:03:12-07:00
Pulseupdated
Dépendancespkgconf
Dépendances de compilationldc
Bibliothèques fournies par macOScurl
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedub
Version Scheme1
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

dub 1.40.0-1

Package and build management system for D

https://code.dlang.org/

sudo apt install dub
  • Section: devel
  • Architecture: amd64
  • 6 Dépendances
  • 2 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Dub
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dub from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

dub

nix profile install nixpkgs#dub
  • normalized package name match
  • Correspondance par : Dub
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/du/dub/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

dub 1.36.0-1ubuntu2

Package and build management system for D

https://code.dlang.org/

sudo apt install dub
  • Section: universe/devel
  • Architecture: amd64
  • 6 Dépendances
  • 2 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Dub
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dub from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

dub 1.41.0-r2

Package and build management system for D

https://code.dlang.org/

sudo apk add dub
  • License: MIT
  • Architecture: x86_64
  • Source Package: dub
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Dub
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dub from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

dub-doc 1.41.0-r2

Package and build management system for D (documentation)

https://code.dlang.org/

sudo apk add dub-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: dub
  • normalized package name match
  • Correspondance par : Dub
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dub-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

dub-zsh-completion 1.41.0-r2

Zsh completions for dub

https://code.dlang.org/

sudo apk add dub-zsh-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: dub
  • normalized package name match
  • Correspondance par : Dub
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dub-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

dub 1.41.0-1.fc45

Package and build management system for D

https://github.com/dlang/dub

sudo dnf install dub
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: dub
  • 8 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Dub
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: dub from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

dub 1.41.0-1

Developer package manager for D programming language

https://github.com/dlang/dub

sudo pacman -S dub
  • License: MIT
  • Architecture: x86_64
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Dub
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: dub from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

dub 1.41.0-1.4

Package manager and meta build tool for the D programming language

https://code.dlang.org

sudo zypper install dub
  • License: MIT
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: dub
  • 4 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Dub
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: dub from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

dub

sudo port install dub
  • normalized package name match
  • Correspondance par : Dub
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/dub/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment