Package / system tool

makepkg — Arch family

makepkg is used for package management or system administration in the Arch family. Consult the distribution manual for release-specific behaviour.

Availability: Arch Linux; read package and AUR security guidance before installing software.中文

Syntax

makepkg [options]

Examples

makepkg is used for package management or system administration in the Arch family. Consult the distribution manual for release-specific behaviour.

makepkg -si

Show command help and options where supported.

makepkg --help

Parameters, options and clauses

Option / clauseDescription
-s, --syncdepsInstall missing dependencies using the configured package tool.
-i, --installInstall the package after building it.
-f, --forceOverwrite an existing package archive.
-p <file>Use a specified PKGBUILD file.
--cleanRemove work files after a successful build.
Safety note

Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.

Official reference ↗Back to directory