install python 3.9 centos8
$ sudo yum install wget gcc openssl-devel libffi-devel bzip2-devel $ yum install python3 $ python3 $ wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz
Here is what the above code is Doing:
1. Install wget, gcc, openssl-devel, libffi-devel, and bzip2-devel.
2. Install Python 3.
3. Start the Python 3 interpreter.
4. Download the Python 3.9.6 source code.