.. _install-amazon-linux-2023:
.. os-image-location::

    [amazon-linux-2023]
    download_type = 'checksum-file'
    url = 'https://cdn.amazonlinux.com/al2023/os-images/latest/kvm/SHA256SUMS'
    filename_pattern = '.*\.qcow2'

    [amazon-linux-2023-arm]
    download_type = 'checksum-file'
    arch = 'aarch64'
    url = 'https://cdn.amazonlinux.com/al2023/os-images/latest/kvm-arm64/SHA256SUMS'
    filename_pattern = '.*\.qcow2'

===================================
Installing Red on Amazon Linux 2023
===================================

.. include:: _includes/supported-arch-x64+aarch64.rst

.. include:: _includes/linux-preamble.rst

-------------------------------
Installing the pre-requirements
-------------------------------

Amazon Linux 2023 has all required packages available in official repositories. Install
them with dnf:

.. prompt:: bash

    sudo dnf -y install python3.11 python3.11-devel git java-25-amazon-corretto-headless @development nano

.. Include common instructions:

.. include:: _includes/create-env-with-venv3.11.rst

.. include:: _includes/install-and-setup-red-unix.rst
