Automic VaultAutomic Vault

brew

Install makepkg with Homebrew, apt, apk, dnf, Nix, pacman

Compile and build packages suitable for installation with pacman. Version 7.1.0 via Homebrew; verified 2026-06-21.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install makepkg

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install makepkg

Debian stable package indexes · makepkg · source: deb.debian.org

Alpine Linux apkverified · 92%
sudo apk add pacman

Alpine Linux edge package indexes · pacman · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install libalpm

Fedora Rawhide package metadata · libalpm · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#pacman

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

Arch Linux pacmanverified · 92%
sudo pacman -S pacman

Arch Linux sync databases · pacman · source: geo.mirror.pkgbuild.com

overview

Package summary

Compile and build packages suitable for installation with pacman

Commands and aliases

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

history

Project history and usage

`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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

`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.

Timeline

  • 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`.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 5 runtime dependencies.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to 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.

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

executables

Installed executables

CommandKindExposureNote
makepkgcliglobal executable
makepkg-templatecliglobal executable
pacmancliglobal executable
pacman-confcliglobal executable
pacman-db-upgradecliglobal executable
pacman-keycliglobal executable
repo-addcliglobal executable
repo-elephantcliglobal executable
repo-removecliglobal executable
testpkgcliglobal executable
vercmpcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version7.1.0
manager updated2026-06-21
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:makepkg
Version7.1.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/makepkg
Homepagehttps://wiki.archlinux.org/index.php/makepkg
Repositoryhttps://gitlab.archlinux.org/pacman/pacman
Upstream docshttps://man.archlinux.org/man/makepkg.8
LicenseGPL-2.0-or-later
Source archivehttps://gitlab.archlinux.org/pacman/pacman.git
Last updated2026-06-21T16:34:05-04:00
Pulseupdated
Dependenciesbash, fakeroot, gettext, libarchive, openssl@3
Build dependenciesmeson, ninja, pkgconf
Uses from macOSlibxslt
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • installed executable or alias match
  • Matched by: 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
  • Matched by: 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 dependencies
  • installed executable or alias match
  • Matched by: 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 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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 dependencies
  • 2 provides
  • installed executable or alias match
  • Matched by: 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 dependencies
  • 2 provides
  • installed executable or alias match
  • Matched by: 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 dependencies
  • 3 provides
  • installed executable or alias match
  • Matched by: 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 provides
  • installed executable or alias match
  • Matched by: 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 dependencies
  • 1 provides
  • 2 optional deps
  • installed executable or alias match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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