LoginSignup
0
0

AlmaLinux OS 8 に Python 3.11 をインストール(AppStream)

Posted at

はじめに

Application Stream(AppStream)を利用してAlmaLinux8にPython 3.11をインストール
参考:RHEL8のパッケージ構成 - BaseOSとApplication Stream - 赤帽エンジニアブログ
   第4章 新機能 Red Hat Enterprise Linux 8 | Red Hat Customer Portal

サポート

本手法で導入した場合、Red Hat Enterprise Linux 8 Application Streams Life Cycle - Red Hat Customer Portalより、2026-05がEOLだと思われる。
それ以降に報告された脆弱性や不具合への対応は実施されない可能性がある。

LOG

インストール

# cat /etc/redhat-release
AlmaLinux release 8.8 (Sapphire Caracal)

# dnf install python3.11
... 略

各種確認

# which python3
/usr/bin/python3

# python3 --version
Python 3.11.2

# dnf info python3.11
Last metadata expiration check: 0:01:13 ago on Fri Jul  7 03:30:58 2023.
Installed Packages
Name         : python3.11
Version      : 3.11.2
Release      : 2.el8_8.1
Architecture : x86_64
Size         : 25 k
Source       : python3.11-3.11.2-2.el8_8.1.src.rpm
Repository   : @System
From repo    : appstream
Summary      : Version 3.11 of the Python interpreter
URL          : https://www.python.org/
License      : Python
Description  : Python 3.11 is an accessible, high-level, dynamically typed, interpreted
             : programming language, designed with an emphasis on code readability.
             : It includes an extensive standard library, and has a vast ecosystem of
             : third-party libraries.
             :
             : The python3.11 package provides the "python3.11" executable: the reference
             : interpreter for the Python language, version 3.
             : The majority of its standard library is provided in the python3.11-libs package,
             : which should be installed automatically along with python3.11.
             : The remaining parts of the Python standard library are broken out into the
             : python3.11-tkinter and python3.11-test packages, which may need to be installed
             : separately.
             :
             : Documentation for Python is provided in the python3.11-docs package.
             :
             : Packages containing additional libraries for Python are generally named with
             : the "python3.11-" prefix.
             :
             : For the unversioned "python" executable, see manual page "unversioned-python".
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0