Update system,
sudo dnf update -y
Install Library,
sudo dnf install curl gcc openssl-devel bzip2-devel libffi-devel zlib-devel wget make git -y
Install Python,
wget https://www.python.org/ftp/python/3.11.8/Python-3.11.8.tgz
tar -xf Python-3.11.8.tgz
cd Python-3.11.8
./configure --enable-optimizations
sudo make altinstall
Create soft link,
sudo ln -s /usr/local/bin/python3.11 /usr/local/bin/python3
sudo ln -s /usr/local/bin/python3.11 /usr/local/bin/python
sudo ln -s /usr/local/bin/pip3.11 /usr/local/bin/pip3
sudo ln -s /usr/local/bin/pip3.11 /usr/local/bin/pip
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
bash ~/miniconda.sh -b -p /home/oracle/miniconda
eval "$(/home/oracle/miniconda/bin/conda shell.bash hook)"
conda init
conda config --set auto_activate_base false
完结!