# bam を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

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

## インストール

```sh
sudo av install brew:bam
```

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

### macOS

- Homebrew (100%):

```sh
brew install bam
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bam
```

  証拠: MacPorts ports tree: devel/bam/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add bam
```

  証拠: Alpine Linux edge package indexes: bam from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install bam
```

  証拠: Debian stable package indexes: bam from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install bam
```

  証拠: Fedora Rawhide package metadata: bam from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#bam
```

  証拠: nixpkgs package indexes: pkgs/by-name/ba/bam/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S bam
```

  証拠: Arch Linux sync databases: bam from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install bam
```

  証拠: openSUSE Tumbleweed package metadata: bam from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:bam
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/bam>
- **バージョン:** 0.5.1
- **ソース概要:** Build system that uses Lua to describe the build process
- **ホームページ:** <https://matricks.github.io/bam/>
- **リポジトリ:** <https://github.com/matricks/bam>
- **上流ドキュメント:** <https://matricks.github.io/bam>
- **ライセンス:** Zlib
- **ソースアーカイブ:** <https://github.com/matricks/bam/archive/refs/tags/v0.5.1.tar.gz>
- **生成日時:** 2026-07-08T07:18:31+00:00

## 実行可能ファイル

- bam (cli)
- bam (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 0.5.1
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/matricks/bam
- 検出された最新: v0.5.1 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

bam is a small C build tool that uses Lua as its build-description language. It belongs to the family of lightweight, scriptable build systems that appeal to package maintainers because the build logic lives in a normal programming language rather than in generated makefiles.

### プロジェクトの歴史

The public Git history for bam dates to October 2008, and the project documentation describes it as a fast build system with flexible Lua build scripts. The manual copyright line dates the manual to 2010, and the project has remained centered on a single executable that reads a default bam.lua build script.

The 0.5.x line modernized the embedded scripting environment by moving from Lua 5.1 to Lua 5.3.3 and added reproducible-build-oriented changes such as avoiding timestamps in the executable.

### 採用の歴史

In package-manager terms, bam is a niche but broadly carried build tool: the supplied package facts list packages in Homebrew, Debian/Ubuntu, Fedora, Arch, MacPorts, Nix, Alpine, and openSUSE-style ecosystems. That breadth reflects its occasional role as a build dependency for projects that chose bam over make, CMake, or SCons.

### 使われ方

A bam project normally provides a bam.lua script. The built-in command-line help in the official source sets bam.lua as the default script file and allows another script to be selected with -s.

The README's quick example shows the usual style: create settings, collect source files, compile them, and link the resulting objects using Lua functions exposed by bam.

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

bam is interesting to package maintainers because it is both a build tool and often itself a build-time bootstrap dependency. Its Lua-based model puts it near SCons and Premake culturally, but its small C implementation and zlib license make it simpler to vendor or package than larger build frameworks.

### タイムライン

- 2008: Public Git history begins in the official repository.
- 2010: v0.4.0 is tagged and the manual is published with a 2010 copyright line.
- 2016: v0.5.0 upgrades the embedded Lua runtime to 5.3.3 and improves reproducible build behavior.
- 2016: v0.5.1 fixes compiler-environment handling and adds additional platform/compiler support.

### Related projects

- bam is related to other scriptable build tools such as SCons and Premake, and to lower-level build runners such as make and Ninja. Its distinguishing feature is a compact C implementation paired with Lua build descriptions.

### ソース

- <https://github.com/matricks/bam>
- <https://github.com/matricks/bam/blob/master/CHANGELOG>
- <https://github.com/matricks/bam/blob/master/README.md>
- <https://github.com/matricks/bam/commit/68ce71e9273f0527fcb4344eddceacf88d54c1db>
- <https://matricks.github.io/bam/bam.html>
- input.source_facts.package-manager


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal


## 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

- Unix: ./bam.lua
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** bam
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - bam - 0.5.1-3+b1: normalized package name match | Debian stable package indexes: bam from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast and flexible build system | https://matricks.github.com/bam/
- Nix - bam: normalized package name match | nixpkgs package indexes: pkgs/by-name/ba/bam/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bam - 0.5.1-3: normalized package name match | Ubuntu 24.04 LTS package indexes: bam from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | fast and flexible build system | https://matricks.github.com/bam/
- apk - bam - 0.5.1-r5: normalized package name match | Alpine Linux edge package indexes: bam from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast and flexible build system using Lua | https://github.com/matricks/bam
- dnf - bam - 0.5.1-20.fc44: normalized package name match | Fedora Rawhide package metadata: bam from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A build-system | http://matricks.github.com/bam/
- pacman - bam - 0.5.1-3: normalized package name match | Arch Linux sync databases: bam from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A fast and flexible build system using Lua | https://github.com/matricks/bam
- zypper - bam - 0.5.1-5.10: normalized package name match | openSUSE Tumbleweed package metadata: bam from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Lua-based build system | https://github.com/matricks/bam
- MacPorts - bam: normalized package name match | MacPorts ports tree: devel/bam/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [premake](https://www.automicvault.com/ja/pkg/brew/premake/) - Shares av.db curated category or tags: build-system, cli, developer-tools, lua.
- [tundra](https://www.automicvault.com/ja/pkg/brew/tundra/) - Shares av.db curated category or tags: build-system, cli, developer-tools, lua.
- [xmake](https://www.automicvault.com/ja/pkg/brew/xmake/) - Shares av.db curated category or tags: build-system, cli, developer-tools, lua.
- [autoconf](https://www.automicvault.com/ja/pkg/brew/autoconf/) - Shares av.db curated category or tags: build-system, cli, developer-tools.
- [automake](https://www.automicvault.com/ja/pkg/brew/automake/) - Shares av.db curated category or tags: build-system, cli, developer-tools.
- [bmake](https://www.automicvault.com/ja/pkg/brew/bmake/) - Shares av.db curated category or tags: build-system, cli, developer-tools.
- [bsdmake](https://www.automicvault.com/ja/pkg/brew/bsdmake/) - Shares av.db curated category or tags: build-system, cli, developer-tools.
- [build2](https://www.automicvault.com/ja/pkg/brew/build2/) - Shares av.db curated category or tags: build-system, cli, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/bam.yml](https://github.com/automic-vault/db/blob/main/combined/bam.yml)


## ソース

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