WSL2 with systemd

This installation method is not recommended for production environments.

This installation will use the new systemd support of WSL2. You must verify that your Windows version is compatible with systemd support (WSL: Version 0.67.6 and above).

You must have installed WSL2 and Ubuntu LTS (22.04 or above) before continuing. If you haven't, please refer to the WSL2 installation method.

Enable systemd support

Then, you will need to enable systemd support. In fact, ArmoniK uses Kubernetes which requires systemd.

To enable systemd support, you must start your Ubuntu distribution and add these lines to the /etc/wsl.conf file (you will need sudo privileges):

wsl.conf
[boot]
systemd=true
Read more about systemd support on the Microsoft documentation.

Then you must restart your Ubuntu distribution in order to apply the changes.

powershell
wsl --shutdown

Then, restart your Ubuntu distribution.

powershell
wsl -d Ubuntu # Or Ubuntu-22.04 depending if you install the LTS or a specific version

Don't forget to verify that systemd is enabled:

shell
systemctl

To finish, update your packages:

shell
sudo apt update && sudo apt upgrade -y

Install ArmoniK

Be careful, you must enable systemd support before installing ArmoniK.

First, clone the ArmoniK repository (inside your home directory from WSL2 Ubuntu distribution):

shell
git clone https://github.com/aneoconsulting/ArmoniK.git

Then, you can install ArmoniK following the Linux installation instructions.