Build Arch Packages

From Mage
Revision as of 23:19, 31 July 2018 by Bret (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A quick and dirty guide to building Linux packages on Arch.

Get the build tools

pacman -S base-devel git

group details - base-devel

package details - git



Acquire the files

Clone the git repo of the package you wish to build.

git clone https://aur.archlinux.org/package_name.git

Git repos and images can be found on the AUR.



Build and install the package

DO NOT PERFORM THESE STEPS AS ROOT. Building packages as root could lead to unforseen consequences.

cd package_name
makepkg -si