Include:Abuild

From Alpine Linux
Revision as of 14:26, 19 November 2023 by WhyNotHugo (talk | contribs) (Formatting)

To build a package, abuild is used. Besides the package building functionality, options for other package maintenance tasks are also provided.

If you just want to build a package from an APKBUILD file, only two command are needed.

First cd into the package directory (the directory with the APKBUILD file). Then run:

abuild checksum && abuild -r

To use the command above, you have to be in the abuild group. Also, if you haven't already, you will need to setup your abuild environment.

The manual page (available via man abuild) describes all options and commands for abuild.

See also