LoginSignup
0
0

More than 1 year has passed since last update.

AlmaLinux OS 9 に Python 3.9 をインストール(OS標準)

Last updated at Posted at 2022-06-05

はじめに

Application Stream(AppStream)を利用してRHEL9にPython 3.9をインストール
参考:動的プログラミング言語のインストールおよび使用 Red Hat Enterprise Linux 9 | Red Hat Customer Portal

サポート

本手法で導入した場合、Python 3.9 は、RHEL 9 のライフサイクル全体で対応します という記載より2032-05がEOLだと思われる。
それ以降に報告された脆弱性や不具合への対応は実施されない可能性がある。

LOG

インストール

通常はインストールされている模様

# cat /etc/redhat-release
AlmaLinux release 9.0 (Emerald Puma)

# dnf install python3
... 略

各種確認

# which python3
/usr/bin/python3

# python3 --version
Python 3.9.10

# dnf info python3
Last metadata expiration check: 0:36:08 ago on Sun Jun  5 10:28:21 2022.
Installed Packages
Name         : python3
Version      : 3.9.10
Release      : 2.el9
Architecture : x86_64
Size         : 32 k
Source       : python3.9-3.9.10-2.el9.src.rpm
Repository   : @System
From repo    : anaconda
Summary      : Python 3.9 interpreter
URL          : https://www.python.org/
License      : Python
Description  : Python 3.9 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 package provides the "python3" executable: the
             : reference interpreter for the Python language, version 3.
             : The majority of its standard library is provided in the
             : python3-libs package, which should be installed automatically
             : along with python3. The remaining parts of the Python standard
             : library are broken out into the python3-tkinter and python3-test
             : packages, which may need to be installed separately.
             :
             : Documentation for Python is provided in the python3-docs package.
             :
             : Packages containing additional libraries for Python are generally
             : named with the "python3-" 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