Automic VaultAutomic Vault

brew

makepkg を Homebrew, apt, apk, dnf, Nix, pacman でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install makepkg

local Homebrew formula metadata

Linux

Debian apt確認済み · 92%
sudo apt install makepkg

Debian stable package indexes · makepkg · ソース: deb.debian.org

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

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

Fedora dnf確認済み · 92%
sudo dnf install libalpm

Fedora Rawhide package metadata · libalpm · ソース: dl.fedoraproject.org

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

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

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

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

概要

パッケージ概要

Compile and build packages suitable for installation with pacman

コマンドとエイリアス

  • makepkg
  • makepkg-template
  • pacman
  • pacman-conf
  • pacman-db-upgrade
  • pacman-key
  • repo-add
  • repo-elephant
  • repo-remove
  • testpkg
  • vercmp

履歴

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

`makepkg` is Arch Linux's package build script for turning PKGBUILD recipes into pacman-installable packages. It sits in the pacman project alongside libalpm, repo-add, pacman-key, and related utilities, and is the practical center of Arch source packaging culture.

プロジェクトの歴史

The pacman project began with Judd Vinet's early Arch Linux package manager releases in 2002. The official pacman page records a 1.0 release on February 25, 2002, a 2.0 release in August 2002 that introduced sync package databases, and later major versions that grew the toolchain around the simple compressed package format.

The official pacman history calls out version 3.0 as the split between the pacman front end and libalpm, version 4.0 as the point where package signing and verification covered the makepkg, repo-add, and pacman toolchain, version 6.0 for parallel downloads, and version 7.0 for sandboxed downloads. `makepkg` developed with that ecosystem because package building, repository metadata, installation, and verification all have to agree on package formats and metadata.

採用の歴史

On Arch Linux, `makepkg` became the normal way for users and maintainers to build packages from PKGBUILDs. The man page frames the workflow plainly: once a PKGBUILD exists, `makepkg` downloads and validates sources, checks dependencies, runs the build and packaging functions, installs into a temporary root, writes metadata, and creates a package for pacman.

The Arch User Repository amplified `makepkg`'s role because AUR packages are distributed as build recipes rather than prebuilt binaries. That made PKGBUILD review, local compilation, checksums, source arrays, and `makepkg -si` part of everyday Arch package-manager literacy.

使われ方

Typical usage is to enter a directory containing a PKGBUILD and run `makepkg`, often with flags to install dependencies, clean build files, sign packages, or install the result with pacman. `makepkg.conf` controls compiler flags, build environment options, source download agents, compression, signing, and per-user overrides.

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

`makepkg` matters because it makes the Arch package format legible and reproducible at the shell level. A package recipe is a Bash file, the package database is intentionally simple, and the toolchain exposes enough knobs for distribution maintainers, AUR users, and local rebuilders to reason about exactly what got built.

タイムライン

  • 2002: pacman 1.0 is released.
  • 2002: pacman 2.0 introduces sync package databases.
  • 2007: pacman 3.0 splits the package manager into libalpm and the pacman front end.
  • 2011: pacman 4.0 adds signing and verification across makepkg, repo-add, and pacman.
  • 2021: pacman 6.0 adds parallel downloads.
  • 2024: pacman 7.0 adds sandboxed download support.

Related projects

  • Related Arch packaging tools include pacman, libalpm, repo-add, repo-remove, makepkg-template, pacman-key, namcap, devtools, and AUR helpers that delegate builds to `makepkg`.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

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

推奨レビュー

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

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.

Linux
/etc/makepkg.conf/etc/makepkg.conf.d/*.conf$XDG_CONFIG_HOME/pacman/makepkg.conf~/.makepkg.conf

実行可能ファイル

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

コマンド種類公開範囲メモ
makepkgcliグローバル実行可能ファイル
makepkg-templatecliグローバル実行可能ファイル
pacmancliグローバル実行可能ファイル
pacman-confcliグローバル実行可能ファイル
pacman-db-upgradecliグローバル実行可能ファイル
pacman-keycliグローバル実行可能ファイル
repo-addcliグローバル実行可能ファイル
repo-elephantcliグローバル実行可能ファイル
repo-removecliグローバル実行可能ファイル
testpkgcliグローバル実行可能ファイル
vercmpcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

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

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

https://wiki.archlinux.org/index.php/makepkg

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:makepkg
バージョン7.1.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/makepkg
ホームページhttps://wiki.archlinux.org/index.php/makepkg
リポジトリhttps://gitlab.archlinux.org/pacman/pacman
上流ドキュメントhttps://man.archlinux.org/man/makepkg.8
ライセンスGPL-2.0-or-later
ソースアーカイブhttps://gitlab.archlinux.org/pacman/pacman.git
最終更新2026-06-21T16:34:05-04:00
Pulseupdated
依存関係bash, fakeroot, gettext, libarchive, openssl@3
ビルド依存関係meson, ninja, pkgconf
macOS 提供ライブラリlibxslt
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

Debian apt95%

makepkg 7.0.0-1+b1

Arch Linux package build utility

https://archlinux.org/pacman/

sudo apt install makepkg
  • Section: admin
  • Architecture: amd64
  • Source Package: pacman-package-manager
  • 8 依存関係
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: Makepkg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: makepkg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

makepkg 6.0.2-6ubuntu2

Arch Linux package build utility

https://archlinux.org/pacman/

sudo apt install makepkg
  • Section: universe/admin
  • Architecture: amd64
  • Source Package: pacman-package-manager
  • 8 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Makepkg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: makepkg from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Debian apt92%

pacman 10-21

Chase Monsters in a Labyrinth

sudo apt install pacman
  • Section: games
  • Architecture: amd64
  • 3 依存関係
  • installed executable or alias match
  • 一致条件: Pacman
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pacman from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

pacman

nix profile install nixpkgs#pacman
  • installed executable or alias match
  • 一致条件: Pacman
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pa/pacman/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

pacman 10-19

Chase Monsters in a Labyrinth

sudo apt install pacman
  • Section: universe/games
  • Architecture: amd64
  • 3 依存関係
  • installed executable or alias match
  • 一致条件: Pacman
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pacman from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk92%

pacman 7.1.0-r2

Simple library-based package manager

https://www.archlinux.org/pacman/

sudo apk add pacman
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: pacman
  • 1 依存関係
  • 1 提供
  • installed executable or alias match
  • 一致条件: Pacman
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pacman from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

pacman-bash-completion 7.1.0-r2

Bash completions for pacman

https://www.archlinux.org/pacman/

sudo apk add pacman-bash-completion
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: pacman
  • installed executable or alias match
  • 一致条件: Pacman
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pacman-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

pacman-dev 7.1.0-r2

Simple library-based package manager (development files)

https://www.archlinux.org/pacman/

sudo apk add pacman-dev
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: pacman
  • 1 依存関係
  • 1 提供
  • installed executable or alias match
  • 一致条件: Pacman
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pacman-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

pacman-doc 7.1.0-r2

Simple library-based package manager (documentation)

https://www.archlinux.org/pacman/

sudo apk add pacman-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: pacman
  • installed executable or alias match
  • 一致条件: Pacman
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pacman-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

pacman-lang 7.1.0-r2

Languages for package pacman

https://www.archlinux.org/pacman/

sudo apk add pacman-lang
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: pacman
  • installed executable or alias match
  • 一致条件: Pacman
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pacman-lang from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

pacman-zsh-completion 7.1.0-r2

Zsh completions for pacman

https://www.archlinux.org/pacman/

sudo apk add pacman-zsh-completion
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: pacman
  • installed executable or alias match
  • 一致条件: Pacman
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pacman-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf92%

libalpm 7.1.0-2.fc45

Arch Linux Package Management library

https://gitlab.archlinux.org/pacman/pacman

sudo dnf install libalpm
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: pacman
  • 6 依存関係
  • 2 提供
  • installed executable or alias match
  • 一致条件: Pacman
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libalpm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

libalpm-devel 7.1.0-2.fc45

Development headers for libalpm

https://gitlab.archlinux.org/pacman/pacman

sudo dnf install libalpm-devel
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: pacman
  • 3 依存関係
  • 2 提供
  • installed executable or alias match
  • 一致条件: Pacman
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libalpm-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

pacman 7.1.0-2.fc45

Package manager for the Arch distribution

https://gitlab.archlinux.org/pacman/pacman

sudo dnf install pacman
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: pacman
  • 7 依存関係
  • 3 提供
  • installed executable or alias match
  • 一致条件: Pacman
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: pacman from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

pacman-filesystem 7.1.0-2.fc45

Pacman filesystem layout

https://gitlab.archlinux.org/pacman/pacman

sudo dnf install pacman-filesystem
  • License: LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: pacman
  • 1 提供
  • installed executable or alias match
  • 一致条件: Pacman
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: pacman-filesystem from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman92%

pacman 7.1.0.r9.g54d9411-2

A library-based package manager with dependency support

https://www.archlinux.org/pacman/

sudo pacman -S pacman
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • 18 依存関係
  • 1 提供
  • 2 任意依存関係
  • installed executable or alias match
  • 一致条件: Pacman
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: pacman from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

ソース経路

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

このページは 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