Python - . CentOS 8 -.

CentOS Python. CentOS, Python, python . , CentOS 8 Python . , ? RedHat , Python. RedHat 8 Python 3.6 , Python 2.7 . Python CentOS, , . Python Python 2, Python 2 EOL ( ), . Python 3 , - . , python Python - Python 3, , python.
Python 2, Python 3 CentOS 8 Red Hat Enterprise Linux (RHEL) 8.
Python 2
1.
, . DNF.
# dnf update -y
2: Python 2
, , DNF Python 2. , Python 2, 3 CentOS 8, .
# dnf install python2 -y
3: Python 2
, Python 2 , python2 .
# python2 -V Python 2.7.16
4: Python 2
, Python 2, .
# python2 Python 2.7.16 (default, Nov 17 2019, 00:07:27) [GCC 8.3.1 20190507 (Red Hat 8.3.1-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>
! Python 2 ! , PIP- Python Python 2, Python.
Python 3
1.
, .
# dnf update -y
2: Python 3
Python 3.
# dnf install python3 -y
3: Python 3
Python 3 , Python 2.
# python3 -V Python 3.7.5rc1
4: Python 3
Python 3, .
# python3 Python 3.6.8 (default, Nov 21 2019, 19:31:34) [GCC 8.3.1 20190507 (Red Hat 8.3.1-4)] on linux Type "help", "copyright", "credits" or "license" for more information. >>>
Python 2, pip3 Python 3. ! Python CentOS 8.
Python
, Python 3, python3 python2 Python 2. , python, ?
# python bash: python: command not found...
, python :
# alternatives --set python /usr/bin/python3
Python 2:
# alternatives --set python /usr/bin/python2
Python :
# python -V
python, :
# alternatives --auto python