Install the pre-requirements with pacman:
.. prompt:: bash sudo pacman -Syu git jre17-openjdk-headless base-devel nano
On Arch Linux, Python 3.11 can be installed from the Arch User Repository (AUR) from the python311
package.
The manual build process is the Arch-supported install method for AUR packages. You can install python311
package with the following commands:
.. prompt:: bash git clone https://aur.archlinux.org/python311.git /tmp/python311 cd /tmp/python311 makepkg -sicL cd - rm -rf /tmp/python311