Fedora 31의 Python38 패키지 yum

Fedora 31의 Python38 패키지 yum

CentOS 8에서는 yum(아래 참조)을 통해 일련의 Python 3.8 패키지를 얻을 수 있으며, 가장 중요한 패키지는 python38-devel입니다.

그러나 Fedora 31에서는 이러한 패키지 중 어느 것도 사용할 수 없습니다.

예를 들어 타사 저장소(apt 저장소와 유사)를 추가하여 Fedora 31에서 이러한 패키지를 얻을 수 있는 방법이 있습니까?https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa)?

CentOS 8의 경우:

# yum repolist
Last metadata expiration check: 0:02:41 ago on Thu 26 Nov 2020 05:05:05 PM UTC.
repo id                          repo name                                                                  status
AppStream                        CentOS-8 - AppStream                                                       4,933
BaseOS                           CentOS-8 - Base                                                            1,673
*epel                            Extra Packages for Enterprise Linux 8 - x86_64                             6,721
*epel-modular                    Extra Packages for Enterprise Linux Modular 8 - x86_64                         0
extras                           CentOS-8 - Extras                                                             30

# yum search python38-
Last metadata expiration check: 0:03:45 ago on Thu 26 Nov 2020 05:05:05 PM UTC.
======================= Name Exactly Matched: python38 =======================
python38.x86_64 : Version 3.8 of the Python interpreter
python38.i686 : Version 3.8 of the Python interpreter
python38.x86_64 : Version 3.8 of the Python interpreter
============================================ Name Matched: python38- =============================================
python38-pip.noarch : A tool for installing and managing Python3 packages
python38-pip.noarch : A tool for installing and managing Python3 packages
python38-ply.noarch : Python Lex-Yacc
python38-six.noarch : Python 2 and 3 compatibility utilities
python38-libs.x86_64 : Python runtime libraries
python38-cffi.x86_64 : Foreign Function Interface for Python 3 to call C code
python38-idle.x86_64 : A basic graphical development environment for Python
python38-idna.noarch : Internationalized Domain Names in Applications (IDNA)
python38-libs.x86_64 : Python runtime libraries
python38-lxml.x86_64 : XML processing library combining libxml2/libxslt with the ElementTree API
python38-pytz.noarch : World Timezone Definitions for Python
python38-test.x86_64 : The self-test suite for the main python3 package
python38-devel.x86_64 : Libraries and header files needed for Python development
python38-babel.noarch : Library for internationalizing Python applications
python38-debug.x86_64 : Debug version of the Python runtime
python38-devel.x86_64 : Libraries and header files needed for Python development
python38-numpy.x86_64 : A fast multidimensional array facility for Python
python38-scipy.x86_64 : Scientific Tools for Python
python38-wheel.noarch : Built-package format for Python
python38-Cython.x86_64 : Language for writing Python extension modules
python38-jinja2.noarch : General purpose template engine for python3
python38-psutil.x86_64 : A process and system utilities module for Python
python38-pyyaml.x86_64 : YAML parser and emitter for Python
python38-tkinter.x86_64 : A GUI toolkit for Python
python38-PyMySQL.noarch : Pure-Python MySQL client library
python38-chardet.noarch : Character encoding auto-detection in Python
python38-pysocks.noarch : A Python SOCKS client module
python38-tkinter.x86_64 : A GUI toolkit for Python
python38-urllib3.noarch : Python3 HTTP library with thread-safe connection pooling and file post
python38-mod_wsgi.x86_64 : A WSGI interface for Python web applications in Apache
python38-psycopg2.x86_64 : A PostgreSQL database adapter for Python 3
python38-requests.noarch : HTTP library, written in Python, for human beings
python38-pip-wheel.noarch : The pip wheel
python38-numpy-doc.noarch : Documentation for numpy
python38-pip-wheel.noarch : The pip wheel
python38-pycparser.noarch : C parser and AST generator written in Python
python38-radicale3.noarch : Python module for Radicale
python38-setuptools.noarch : Easily build and distribute Python 3 packages
python38-asn1crypto.noarch : Fast Python ASN.1 parser and serializer
python38-markupsafe.x86_64 : Implements a XML/HTML/XHTML Markup safe string for Python 3
python38-numpy-f2py.x86_64 : f2py for numpy
python38-rpm-macros.noarch : RPM macros for building RPMs with Python 3.8
python38-setuptools.noarch : Easily build and distribute Python 3 packages
python38-wheel-wheel.noarch : The Python wheel module packaged as a wheel
python38-cryptography.x86_64 : PyCA's cryptography library
python38-psycopg2-doc.x86_64 : Documentation for psycopg python PostgreSQL database adapter
python38-psycopg2-tests.x86_64 : A testsuite for A PostgreSQL database adapter for Python 2
python38-setuptools-wheel.noarch : The setuptools wheel
python38-setuptools-wheel.noarch : The setuptools wheel

Fedora 31에서:

# yum repolist
Last metadata expiration check: 0:00:38 ago on Thu 26 Nov 2020 05:10:27 PM UTC.
repo id                   repo name                                     status
*fedora                   Fedora 31 - x86_64                            56,255
*fedora-modular           Fedora Modular 31 - x86_64                       142
*updates                  Fedora 31 - x86_64 - Updates                  22,403
*updates-modular          Fedora Modular 31 - x86_64 - Updates             139

# yum search python38
Last metadata expiration check: 0:01:40 ago on Thu 26 Nov 2020 05:10:27 PM UTC.
======================= Name Exactly Matched: python38 =======================
python38.x86_64 : Version 3.8 of the Python interpreter
python38.i686 : Version 3.8 of the Python interpreter
python38.x86_64 : Version 3.8 of the Python interpreter

답변1

Fedora에서 인터프리터 이외의 Python 3 패키지에는 python3-; 접두사가 붙습니다 dnf install python3-devel.

Fedora 31은 Python 3.7을 사용합니다. 수명이 다했으므로 업그레이드해야 합니다. Fedora 32는 Python 3.8을 제공하고 33은 3.9를 제공합니다.

관련 정보