Search code examples
pythonlinuxarchlinuxpacman-package-manager

How to update python to the latest version on ArchLinux?


How to install the latest python version 3.11.0 on ArchLinux through pacman?

ArchLinux wiki says current version is 3.10, although python 3.11 has been officially released.

When running sudo pacman -Syyu p I'm welcomed with warning: python-3.10.8-3 is up to date.

Am I doing something wrong?


Solution

  • Use AUR like "yay" to get the new python3.11.

    If you haven't installed yay on your system, setup yay by following these instructions

    Run this command after setting up yay in your system:

    yay -S python311