Automic VaultAutomic Vault

brew

dune を Homebrew, apk, MacPorts, Nix, pacman, dnf でインストール

dune のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install dune

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install dune

MacPorts ports tree · shells/dune/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add dune

Alpine Linux edge package indexes · dune · ソース: dl-cdn.alpinelinux.org

Nix確認済み · 92%
nix profile install nixpkgs#dune

nixpkgs package indexes · pkgs/by-name/du/dune/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S dune

Arch Linux sync databases · dune · ソース: geo.mirror.pkgbuild.com

Fedora dnf確認済み · 92%
sudo dnf install ocaml-dune

Fedora Rawhide package metadata · ocaml-dune · ソース: dl.fedoraproject.org

概要

パッケージ概要

Composable build system for OCaml

履歴

プロジェクトの歴史と使われ方

Dune is the dominant build system for OCaml projects, with support for OCaml, Reason, and Coq workflows. Its significance is that it standardized a large part of OCaml package building around declarative `dune`, `dune-project`, and `dune-workspace` files rather than per-project build scripts.

プロジェクトの歴史

Dune began as jbuilder, a build system derived from ideas used inside Jane Street and adapted for open-source OCaml projects. The upstream README still frames Dune as inspired by Jane Street's internal build scheme and matured through daily use by hundreds of developers.

The project was renamed from jbuilder to Dune during the 1.x era. The Dune project documented a staged deprecation of the `jbuilder` binary and `jbuild` files, with automatic `dune upgrade` support to migrate projects to `dune` files and `dune-project` metadata.

Dune's public repository is maintained under the OCaml GitHub organization. GitHub metadata records the repository as created in 2016, with OCaml as the main language, MIT licensing, and ongoing 3.x releases through 2026.

採用の歴史

Dune adoption spread through the OCaml packaging ecosystem because opam packages could use a common build invocation, and Dune itself documents recommended package builds such as `dune build -p name -j jobs` and `dune runtest -p name -j jobs`.

The package is distributed across Homebrew, Alpine, Fedora, MacPorts, Nix, and Arch, reflecting its role as a workstation and CI prerequisite for building many OCaml packages outside opam-only environments.

使われ方

Typical users write `dune` files with S-expression stanzas and let Dune generate build rules, installation metadata, and editor-tool configuration. Dune also supports workspaces, multi-package repositories, multiple build contexts, tests, documentation targets, and cross-compilation workflows.

For package managers, the important interface is the `dune` executable plus the conventional project files it understands. The installed tool is often needed not because users run Dune directly as an application, but because downstream OCaml packages declare Dune as their build system.

パッケージ好きにとっての重要性

Dune is package-nerd important because it turned OCaml builds from a patchwork of ocamlbuild, oasis, makefiles, and custom scripts into a largely uniform package-manager target. A formula for Dune unlocks many other formulae.

Its jbuilder-to-dune migration is also a useful packaging case study: upstream kept compatibility for old names, emitted warnings, and shipped an upgrader, giving distributions and opam packages a path away from historical build files without a flag day.

タイムライン

  • 2016: The public GitHub repository now used for Dune is created.
  • 2018: Dune 1.0 is announced in the OCaml community after the jbuilder period.
  • 2019: Dune enters the second stage of jbuilder deprecation and adds `dune upgrade` migration support.
  • 2026: Dune 3.24.0 is published, showing continued active development.

Related projects

  • opam is closely related because Dune's recommended package build commands are designed for opam packaging.
  • Merlin is related because Dune generates editor-tool configuration for OCaml development.
  • Coq and Reason are related user communities called out in the existing package curation tags and supported by the Dune ecosystem.

ソース

セキュリティ状態

リスクレベル: yellow

generalized runtime or code generation signal.

リスク分類器

リスク yellow · 信頼度 中 · runtime

理由

  • generalized runtime or code generation signal

信号

  • text:build system

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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
dunedune-projectdune-workspace

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
dunecliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版3.24.0
マネージャ更新日2026-06-22
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/ocaml/dune

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:dune
バージョン3.24.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/dune
ホームページhttps://dune.build/
リポジトリhttps://github.com/ocaml/dune
上流ドキュメントhttps://dune.readthedocs.io/en/stable
ライセンスMIT
ソースアーカイブhttps://github.com/ocaml/dune/releases/download/3.24.0/dune-3.24.0.tbz
最終更新2026-06-22T01:48:19Z
Pulseupdated
ビルド依存関係ocaml
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

dune

nix profile install nixpkgs#dune
  • normalized package name match
  • 一致条件: Dune
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/du/dune/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

dune 3.22.2-r0

Composable build system for OCaml (formerly Jbuilder)

https://dune.build/

sudo apk add dune
  • License: MIT
  • Architecture: x86_64
  • Source Package: dune
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Dune
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dune from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

dune-configurator 3.22.2-r0

System config helper for the Dune OCaml build system

https://dune.build/

sudo apk add dune-configurator
  • License: MIT
  • Architecture: x86_64
  • Source Package: dune
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Dune
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dune-configurator from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

dune-doc 3.22.2-r0

Composable build system for OCaml (formerly Jbuilder) (documentation)

https://dune.build/

sudo apk add dune-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: dune
  • normalized package name match
  • 一致条件: Dune
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dune-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

dune-emacs 3.22.2-r0

Emacs plugins for dune

https://dune.build/

sudo apk add dune-emacs
  • License: MIT
  • Architecture: x86_64
  • Source Package: dune
  • 1 依存関係
  • normalized package name match
  • 一致条件: Dune
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dune-emacs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

ocaml-dune 3.23.1-1.fc45

Composable build system for OCaml and Reason

https://dune.build

sudo dnf install ocaml-dune
  • License: MIT AND BSD-2-Clause AND BSD-3-Clause AND ISC AND LGPL-2.1-only AND LGPL-2.1-only WITH OCaml-LGPL-linking-exception AND LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: ocaml-dune
  • 8 依存関係
  • 15 提供
  • normalized package name match
  • 一致条件: Dune
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ocaml-dune from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

dune 3.22.2-1

A composable build system for OCaml (formerly jbuilder)

https://github.com/ocaml/dune

sudo pacman -S dune
  • License: MIT
  • Architecture: x86_64
  • 5 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Dune
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: dune from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

dune

sudo port install dune
  • normalized package name match
  • 一致条件: Dune
MacPorts ports tree · api.github.com · MacPorts ports tree: shells/dune/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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