macOS
brew install dublocal Homebrew formula metadata
sudo port install dubMacPorts ports tree · devel/dub/Portfile · ソース: api.github.com
brew
dub のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install dublocal Homebrew formula metadata
sudo port install dubMacPorts ports tree · devel/dub/Portfile · ソース: api.github.com
sudo apk add dubAlpine Linux edge package indexes · dub · ソース: dl-cdn.alpinelinux.org
sudo dnf install dubFedora Rawhide package metadata · dub · ソース: dl.fedoraproject.org
nix profile install nixpkgs#dubnixpkgs package indexes · pkgs/by-name/du/dub/package.nix · ソース: api.github.com
sudo pacman -S dubArch Linux sync databases · dub · ソース: geo.mirror.pkgbuild.com
sudo zypper install dubopenSUSE Tumbleweed package metadata · dub · ソース: download.opensuse.org
概要
Build tool for D projects
履歴
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.
セキュリティ状態
generalized runtime or code generation signal.
リスク yellow · 信頼度 中 · runtime
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.json実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
dub | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:dub |
|---|---|
| バージョン | 1.41.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/dub |
| ホームページ | https://code.dlang.org/getting_started |
| リポジトリ | https://github.com/dlang/dub |
| 上流ドキュメント | https://dub.pm/ |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/dlang/dub/archive/refs/tags/v1.41.0.tar.gz |
| 最終更新 | 2026-06-22T14:03:12-07:00 |
| Pulse | updated |
| 依存関係 | pkgconf |
| ビルド依存関係 | ldc |
| macOS 提供ライブラリ | curl |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 dubソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.