Installing AUTOMATIC1111 on VoidLinux

July 18, 2023 - Reading time: ~1 minute

As of Jul 2023 VoidLinux comes with Python 3.11 which is incompatible with PyTorch.

Anaconda and Nix come with libstdc++ ABI version 5 where AUTOMATIC1111 requires version 6 (as available in VoidLinux).

Here I show how to build Python 3.10 XBPS package and install AUTOMATIC1111.

Python 3.10 on VoidLinux

VoidLinux packages are only available for latest major Python version (2 and 3).

I have made a package fro 3.10 that can be found on my GitHub on python310 branch:

git clone
cd void-packages
git checkout python310
./xbps-src pkg python3.10
xi python3.10

Installing and running AUTOMATIC1111

After you have working python3.10 command you can run AUTOMATIC1111 like so:

git clone
cd stable-diffusion-webui
# if you have GPU with CUDA support skip the flags
./ --skip-torch-cuda-test --no-half