From ea2dd4acd39b62711cc32651e25f33af9c4c90bc Mon Sep 17 00:00:00 2001 From: Eliezer Croitoru Date: Tue, 12 Nov 2024 11:12:14 +0200 Subject: [PATCH] added python3.12 install --- install-python312.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 install-python312.sh diff --git a/install-python312.sh b/install-python312.sh new file mode 100755 index 0000000..8f4712f --- /dev/null +++ b/install-python312.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +dnf install -y python3.12 python3.12-pip python3.12-devel python3.12-setuptools + +update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1 +update-alternatives --install /usr/bin/pip3 pip3 /usr/bin/pip3.12 1 +update-alternatives --install /usr/bin/pip pip /usr/bin/pip3.12 1