Archinstall

Latest version: v2.8.3

Safety actively analyzes 706259 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 11 of 12

2.0.4rc1

New features:
===========

* Pre built ISO's are up again
* Examples are now packaged in both pypi and pre-built nuitka3 binary
* Added a `PKGBUILD`
* `archinstall.BlockDevice` now contains a `__dump__` meta function, which can be used with:
py
def json_serial(obj):
elif type(obj) is bytes:
return obj.decode('UTF-8')
elif getattr(obj, "__dump__", None):
return obj.__dump__()
else:
return str(obj)

json.dumps(block_device, default=json_serial)

* Added a `__init__.py` into the main github repo structure, so that cloned repo's can use `from archinstall import *` for instance.

2.0.3

Not secure
Demo: https://youtu.be/w0T0ENAbXOU

New features:
-------------------
* `.py` support for profiles, meaning `.json` and `.py` support for profiles such as `desktop` is now supported.
* Correctly identifies btrfs and installs the tools and runs `mkinitcpio` to package a working bootloader
* Added some new `Installer()` helper functions: `set_locale`, `set_hostname`, `genfstab` - `add_bootloader` no longer takes a partition either, as it has to be given earlier in the stages for mounting to make reason.

Minor changes/fixes:
---------------------------
* cache directory is no longer `~/archinstall`, it's now `~/.cache/archinstall` to not confuse the importer of Python.
* Cleaned up the `guided.py` example, to first ask for user input, then proceed to installation. Also added a little warning before wiping.
* Corrected some confusion in `PARTUUID` vs `UUID`
* Fixed `sys_command` since `which` stopped working, now uses `os.environ['PATH']` to find binaries.
* Added symlinks to `./examples` and `./profiles` to trick/get setuptools to import the data correctly, since [this issue](https://stackoverflow.com/questions/31787983/data-files-differences-between-pip-and-setuptools/62792591#62792591) is a huge pain in the ass.
* Fixed the correct order of mounting `/boot` vs calling `bootctl --path=/boot install`, we were installing bootloader before the `/boot` mount was there.

Pre-built binary
--------------------
`archinstall-v2.0.3-1-x86_64.tar.gz` is built using `nuitka3 --standalone archinstall` and simply contain the `.dist` folder from that result as well as the `./examples`. Can be executed as is - or packaged with `PKGBUILD` to produce `archinstall-v2.0.3-1-x86_64.pkg.tar.xz` which is also included here. Steps to reproduce can also be done by running [make.sh](https://github.com/Torxed/archinstall/blob/master/make.sh).

2.0.3.rc1

New features:
-------------------
* `.py` support for profiles, meaning `.json` and `.py` support for profiles such as `desktop` is now supported.

Minor changes/fixes:
---------------------------
* cache directory is no longer `~/archinstall`, it's now `~/.cache/archinstall` to not confuse the importer of Python.

2.0.2

Not secure
New features:
* Colored output from `log()`
* Python module support `python -m archinstall <template>`
* New guided template under [examples/](https://github.com/Torxed/archinstall/tree/master/examples)
* `sys_command` now raises bad exit codes so they can be catched outside.

2.0.1

Not secure
A lot has changed, and the changes are not backwards compatible with v1.X.
The whole concept has been reworked to support a cleaner installation process.
`with` contexts are now supported for easier handling of when and where to do certain `sync` calls etc.

A lot of helper functions have also been put into place to ease certain functions like calling `pacman`, `pacstrap`, syscalls and handling partitions, formatting and disk encryption.

The whole library has also been split from one major file into many modules and now more resembles a library.
This was done to support the option to install `archinstall` via [PyPi](https://pypi.org/project/archinstall/) and to be used as a library or executed as a python module via `python -m archinstall --arg1="something"` *(module feature still being worked on)*.

Future versions will include support for calling python scripts for post-installation as well as profile installations.
This is because the current JSON template is a bit limited and complex to use when nesting strings inline.

Package is also being synced to the official [GitLab](https://gitlab.archlinux.org/torxed/archinstall) of Arch Linux.

0.2.2beta

New feature:

* Turn off disk encryption *(Default on, and more or less enforced.. But this does turn it off)*

Page 11 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.