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