archinstall/docs/installing/binary.rst

1.8 KiB

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> </head>

Binary executable

System Message: WARNING/2 (<stdin>, line 1)

malformed hyperlink target.

Archinstall can be compiled into a standalone executable. For Arch Linux based systems, there's a package for this called archinstall.

Warning

This is not required if you're running archinstall on a pre-built ISO. The installation is only required if you're creating your own scripted installations.

Using pacman

Archinstall is on the official repositories.

System Message: WARNING/2 (<stdin>, line 17)

Cannot analyze code. Pygments package not found.

.. code-block:: console

    sudo pacman -S archinstall

Using PKGBUILD

The source contains a binary PKGBUILD which can be either copied straight off the website. Or cloned using git clone https://github.com/Torxed/archinstall.

Once you've obtained the PKGBUILD, building it is pretty straight forward.

System Message: WARNING/2 (<stdin>, line 28)

Cannot analyze code. Pygments package not found.

.. code-block:: console

    makepkg -s

Which should produce a archinstall-X.x.z-1.pkg.tar.zst that can be installed using:

System Message: WARNING/2 (<stdin>, line 34)

Cannot analyze code. Pygments package not found.

.. code-block:: console

    sudo pacman -U archinstall-X.x.z-1.pkg.tar.zst

Note

System Message: WARNING/2 (<stdin>, line 4); backlink

Duplicate explicit target name: "pkgbuild".

For a complete guide on the build process, please consult the wiki on PKGBUILD.

Manual compilation

You can compile the source manually without using a custom mirror or the PKGBUILD that is shipped. Simply clone or download the source, and while standing in the cloned folder ./archinstall, execute:

System Message: WARNING/2 (<stdin>, line 48)

Cannot analyze code. Pygments package not found.

.. code-block:: console

    nuitka3  --standalone --show-progress archinstall

This requires the nuitka package as well as python3 to be installed locally.

</html>