File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ dnf -y install bzip2-devel libffi-devel make git sqlite-devel openssl-devel
66dnf -y install python-pip
77pip3.9 install --upgrade setuptools pip
88dnf -y groupinstall " Development Tools"
9- curl -O https://www.python.org/ftp/python/3.10.14 /Python-3.10.14 .tgz
10- tar -xzf Python-3.10.14 .tgz
11- cd Python-3.10.14 / || exit 1
9+ curl -O https://www.python.org/ftp/python/3.12.3 /Python-3.12.3 .tgz
10+ tar -xzf Python-3.12.3 .tgz
11+ cd Python-3.12.3 / || exit 1
1212./configure --enable-optimizations
1313make altinstall
1414cd ..
15- rm -rf Python-3.10.14 *
16- pip3.10 install --upgrade setuptools pip
17- ln -s /usr/local/bin/python3.10 /usr/local/bin/python3
15+ rm -rf Python-3.12.3 *
16+ pip3.12 install --upgrade setuptools pip
17+ ln -s /usr/local/bin/python3.12 /usr/local/bin/python3
1818dnf -y groupremove " Development Tools"
1919rm -rf /var/cache/yum/*
2020dnf clean all
You can’t perform that action at this time.
0 commit comments