0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

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

Posted at

はじめに

Application Stream(AppStream)を利用してAlmaLinux9にPython 3.11をインストール

サポート

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

LOG

インストール

# cat /etc/redhat-release
AlmaLinux release 9.2 (Turquoise Kodkod)

# dnf install python3.11
... 略

各種確認

# which python3
/usr/bin/python3

# ls -la /usr/bin/python*
lrwxrwxrwx 1 root root     9 Apr  7 02:44 /usr/bin/python3 -> python3.9
-rwxr-xr-x 1 root root 15456 Jun 22 14:57 /usr/bin/python3.11
-rwxr-xr-x 1 root root 15448 Apr  7 02:44 /usr/bin/python3.9

# python3.11 --version
Python 3.11.2

# dnf info python3.11
Last metadata expiration check: 0:02:10 ago on Fri Jul  7 03:56:54 2023.
Installed Packages
Name         : python3.11
Version      : 3.11.2
Release      : 2.el9_2.1
Architecture : x86_64
Size         : 32 k
Source       : python3.11-3.11.2-2.el9_2.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.
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?