pkg.sopackage field notes

brew / rang 4699

Installer dub avec Homebrew

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

provider-native install command

aperçu

Résumé du paquet

Build tool for D projects

Commandes et alias

  • dub

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

  • Aucune métadonnée de bottle Homebrew n’a été enregistrée.

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
dubexécutableexécutable indexéDécouvert depuis l'index local des exécutables.

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-08-03
version du gestionnaire1.41.0
gestionnaire mis à jour2026-06-22
données localesinconnu
amontnon disponible
dernière version détectéenon détecté
  • 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 d'accueilhttps://code.dlang.org/getting_started
Dépôthttps://github.com/dlang/dub
Dernière mise à jour2026-06-22T14:03:12-07:00
Pulseupdated
Bouteillenon enregistré
Serviceaucun déclaré

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
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation