Include:Abuild: Difference between revisions

From Alpine Linux
(Move abump details into Include:Abump)
(Move content into Abuild_and_Helpers.)
Tag: New redirect
 
Line 1: Line 1:
To build a package the <code>abuild</code> program is used. It implements functionality for building packages as well as additional commands and options for package maintenance.
#REDIRECT [[Abuild_and_Helpers]]
 
==== Prerequisites ====
 
In order to use <code>abuild</code>:
 
* Your user account must be a member of the <code>abuild</code> group.
* [[Abuild_and_Helpers#Setting_up_the_build_environment|The environment must be set up for abuild]].
 
==== Basic usage ====
 
If you just want to build a package from an [[APKBUILD Reference|APKBUILD]] file, only  two command are needed. Both commands operate on an APKBUILD file in the current directory, so you should <code>cd</code> into the directory before running them.
 
* <code>abuild checksum</code>: updates the checksums for source files.
* <code>abuild -r</code>: builds the package.
 
The [https://git.alpinelinux.org/abuild/tree/abuild.1.scd manual page] (available via <code>man abuild</code>) describes all options and commands for <code>abuild</code>.
 
==== See also ====
* [[Abuild and Helpers]]
 
[[category: Package Manager]]
[[Category:Development]]

Latest revision as of 14:48, 19 November 2023

Redirect to: