Installieren Sie Python 3.8 unter CentOS 8 (AppStream)

Einführung

Installieren Sie Python 3.8 unter CentOS 8 mit Application Stream (AppStream). Referenz: RHEL8-Paketkonfiguration --BaseOS und Anwendungsstrom --Akahat Engineer Blog [Grundlegende Konfiguration der Systemeinstellungen Red Hat Enterprise Linux 8 \ | Red Hat-Kundenportal](https://access.redhat.com/documentation/ja-jp/red_hat_enterprise_linux/8/html-single/configuring_basic_system_settings/index#installing -und-using-python_using-python3)

Unterstützung

Bei Einführung mit dieser Methode scheint 2023-05 EOL aus Lebenszyklus von Red Hat Enterprise Linux 8-Anwendungsströmen - Red Hat-Kundenportal zu sein. Antworten auf Schwachstellen und Fehler, die danach gemeldet wurden, können möglicherweise nicht implementiert werden.

LOG

Installation

# cat /etc/redhat-release
CentOS Linux release 8.2.2004 (Core)

# yum install -y python38
...Abkürzung

Verschiedene Bestätigungen

# which python{,2,3}
which: no python in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
which: no python2 in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
/usr/bin/python3

# ls -al /usr/bin/python*
lrwxrwxrwx. 1 root root   25 Jun 16 10:18 /usr/bin/python3 -> /etc/alternatives/python3
-rwxr-xr-x. 1 root root 7656 May  7 02:54 /usr/bin/python3.8

# python3 -V
Python 3.8.0

# yum module info python38
Last metadata expiration check: 0:04:39 ago on Tue 16 Jun 2020 10:14:42 AM UTC.
Name             : python38
Stream           : 3.8 [d][e][a]
Version          : 8020020200507003655
Context          : bbc63041
Architecture     : x86_64
Profiles         : build, common [d]
Default profiles : common
Repo             : AppStream
Summary          : Python programming language, version 3.8
Description      : This module gives users access to the internal Python 3.8 in RHEL8, as
                 : well as provides some additional Python packages the users might need.
                 : In addition to these you can install any python3-* package available
                 : in RHEL and use it with Python from this module.
Requires         : platform:[el8]
Artifacts        : Cython-0:0.29.14-4.module_el8.2.0+317+61fa6e7d.src
                 : PyYAML-0:5.1.2-6.module_el8.2.0+317+61fa6e7d.src
                 : babel-0:2.7.0-10.module_el8.2.0+317+61fa6e7d.src
                 : mod_wsgi-0:4.6.8-3.module_el8.2.0+317+61fa6e7d.src
                 : numpy-0:1.17.3-5.module_el8.2.0+317+61fa6e7d.src
                 : python-PyMySQL-0:0.9.3-3.module_el8.2.0+317+61fa6e7d.src
                 : python-asn1crypto-0:1.2.0-3.module_el8.2.0+317+61fa6e7d.src
                 : python-cffi-0:1.13.2-3.module_el8.2.0+317+61fa6e7d.src
                 : python-chardet-0:3.0.4-19.module_el8.2.0+317+61fa6e7d.src
                 : python-cryptography-0:2.8-3.module_el8.2.0+317+61fa6e7d.src
                 : python-idna-0:2.8-6.module_el8.2.0+317+61fa6e7d.src
                 : python-jinja2-0:2.10.3-4.module_el8.2.0+317+61fa6e7d.src
                 : python-lxml-0:4.4.1-4.module_el8.2.0+317+61fa6e7d.src
                 : python-markupsafe-0:1.1.1-6.module_el8.2.0+317+61fa6e7d.src
                 : python-ply-0:3.11-8.module_el8.2.0+317+61fa6e7d.src
                 : python-psutil-0:5.6.4-3.module_el8.2.0+317+61fa6e7d.src
                 : python-psycopg2-0:2.8.4-4.module_el8.2.0+317+61fa6e7d.src
                 : python-pycparser-0:2.19-3.module_el8.2.0+317+61fa6e7d.src
                 : python-pysocks-0:1.7.1-4.module_el8.2.0+317+61fa6e7d.src
                 : python-requests-0:2.22.0-9.module_el8.2.0+317+61fa6e7d.src
                 : python-six-0:1.12.0-9.module_el8.2.0+317+61fa6e7d.src
                 : python-urllib3-0:1.25.7-4.module_el8.2.0+317+61fa6e7d.src
                 : python-wheel-0:0.33.6-5.module_el8.2.0+317+61fa6e7d.src
                 : python38-0:3.8.0-6.module_el8.2.0+317+61fa6e7d.src
                 : python38-0:3.8.0-6.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-Cython-0:0.29.14-4.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-Cython-debuginfo-0:0.29.14-4.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-PyMySQL-0:0.9.3-3.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-asn1crypto-0:1.2.0-3.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-babel-0:2.7.0-10.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-cffi-0:1.13.2-3.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-cffi-debuginfo-0:1.13.2-3.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-chardet-0:3.0.4-19.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-cryptography-0:2.8-3.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-cryptography-debuginfo-0:2.8-3.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-debug-0:3.8.0-6.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-debuginfo-0:3.8.0-6.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-debugsource-0:3.8.0-6.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-devel-0:3.8.0-6.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-idle-0:3.8.0-6.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-idna-0:2.8-6.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-jinja2-0:2.10.3-4.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-libs-0:3.8.0-6.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-lxml-0:4.4.1-4.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-lxml-debuginfo-0:4.4.1-4.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-markupsafe-0:1.1.1-6.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-markupsafe-debuginfo-0:1.1.1-6.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-mod_wsgi-0:4.6.8-3.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-numpy-0:1.17.3-5.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-numpy-debuginfo-0:1.17.3-5.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-numpy-doc-0:1.17.3-5.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-numpy-f2py-0:1.17.3-5.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-pip-0:19.2.3-5.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-pip-wheel-0:19.2.3-5.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-ply-0:3.11-8.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-psutil-0:5.6.4-3.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-psutil-debuginfo-0:5.6.4-3.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-psycopg2-0:2.8.4-4.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-psycopg2-debuginfo-0:2.8.4-4.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-psycopg2-doc-0:2.8.4-4.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-psycopg2-tests-0:2.8.4-4.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-pycparser-0:2.19-3.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-pysocks-0:1.7.1-4.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-pytz-0:2019.3-3.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-pyyaml-0:5.1.2-6.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-pyyaml-debuginfo-0:5.1.2-6.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-requests-0:2.22.0-9.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-rpm-macros-0:3.8.0-6.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-scipy-0:1.3.1-4.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-scipy-debuginfo-0:1.3.1-4.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-setuptools-0:41.6.0-4.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-setuptools-wheel-0:41.6.0-4.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-six-0:1.12.0-9.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-test-0:3.8.0-6.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-tkinter-0:3.8.0-6.module_el8.2.0+317+61fa6e7d.x86_64
                 : python38-urllib3-0:1.25.7-4.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-wheel-0:0.33.6-5.module_el8.2.0+317+61fa6e7d.noarch
                 : python38-wheel-wheel-0:0.33.6-5.module_el8.2.0+317+61fa6e7d.noarch
                 : python3x-pip-0:19.2.3-5.module_el8.2.0+317+61fa6e7d.src
                 : python3x-setuptools-0:41.6.0-4.module_el8.2.0+317+61fa6e7d.src
                 : pytz-0:2019.3-3.module_el8.2.0+317+61fa6e7d.src
                 : scipy-0:1.3.1-4.module_el8.2.0+317+61fa6e7d.src

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled, [a]ctive

Recommended Posts

Installieren Sie Python 3.8 unter CentOS 8 (AppStream)
Installieren Sie Python3.4 unter CentOS 6.6
Installieren Sie Python 2.7.3 unter CentOS 5.4
Installieren Sie Python 3.8 auf RHEL 8 (AppStream)
Installieren Sie Python 3.8 unter CentOS 7 (SCL)
CentOS8 --Installieren - Python3
Installieren Sie Python unter CentOS mit Pyenv
Installieren Sie Python unter CentOS mit pyenv
Installieren Sie Python auf der WSL
Installieren Sie Scrapy auf Python3
Installieren Sie numba unter CentOS 7.2
Installieren Sie Python auf dem Mac
Installieren von Python 3 in einer Mac-Umgebung
Installieren Sie Python unter Windows
Installieren Sie mecab-python unter CentOS
Installieren Sie Python 3.3 unter Ubuntu 12.04
Installieren Sie Python 3.4 auf einem Mac
Installieren Sie awscli auf centos7
Installieren Sie Chainer unter CentOS 6.7
Installieren Sie Python 3.6 auf Docker
[Ansible] Installieren Sie dnf unter Centos7 mit dem Python3-Interpreter
Installieren Sie Watchdog unter Windows + Python 3.3
Installieren Sie pygame auf python3.4 auf dem Mac
Installieren Sie die ImageMagick-6.2.x-Serie unter CentOS7.7
Installieren Sie pandas 0.14 auf python3.4 [auf Mac]
Installieren Sie Python 3.7 und Django 3.0 (CentOS)
Installieren Sie OpenCV unter Ubuntu + Python
Installieren Sie Chrome unter der CentOS 7-Serie
Python - Installieren Sie MySQLDB auf EC2
[Python] [Chainer] [Windows] Chainer unter Windows installieren
Hinweise zur Installation von Python unter CentOS
Installieren Sie Python
Installieren Sie Python Pillow unter Amazon Linux
Installieren Sie Python 3.8 unter Ubuntu 18.04 (Betriebssystemstandard)
Installieren Sie Python 3 auf dem Sakura-Server (FreeBSD)
Himbeer Pi 4 Centos7 auf Docker installieren
Installieren Sie Python 3.8 unter Ubuntu 20.04 (Betriebssystemstandard)
Python2.7-Installation in einer Windows 32-Bit-Umgebung
Installieren Sie Python unter Windows + pip + virtualenv
Schritte zum Installieren von VirtualBox unter CentOS
Installieren Sie Pytorch unter Blender 2.90 Python unter Windows
Installieren Sie Python 3.7 Anaconda auf dem MAC, aber Python 2
Installieren Sie python3 auf einem Mac (El Capitan)
Installieren Sie Java (Oracle JDK14) unter CentOS7
So installieren Sie PyPy unter CentOS
So installieren Sie TensorFlow unter CentOS 7
Installieren Sie pip unter CentOS7. Auch iPython.
Installieren Sie VirtualBox unter CentOS 7 unter VirtualBox (Mac + Vagrant)
Installieren Sie Python 3.9 unter Ubuntu 20.04 (Betriebssystemstandard?)
Installieren Sie die Python-Entwicklungsumgebung unter Windows 10
Installieren Sie Confluent-Kafka für Python unter Ubuntu
Installieren Sie Python 2.7 unter Ubuntu 20.04 (Betriebssystemstandard?)
So installieren Sie Maven unter CentOS
Schritte zum Installieren von python3 auf einem Mac
Erstellen Sie eine Python3-Umgebung unter CentOS7
Studienhinweis 9_Installieren Sie Jenkins unter CentOS7
So installieren Sie Python2.7 python3.5 mit pyenv (unter RHEL5 CentOS5) (2016 Nov)
Python2.7 + CentOS7 + OpenCV3
Aktivieren Sie den Befehl sar unter CentOS (installieren Sie sysstat).
Python unter Windows
Twitter mit Python3