要旨
Red Hat Enterprise Linux (RHEL) 10.0が2025-05-20にリリースされましたRelease Notes for Red Hat Enterprise Linux 10.0。RHELリリースから1か月以内にAlmaLinux, RockyLinuxがリリースされています。
Debian 13は、RC版のインストールメディアとリリースノートが公開され、近々リリースされる状況です。
下表に示すようにRHEL-10とDebian 13のパッケージのバージョンは、ほぼ同じです。
RHEL-10は、アーキテクチャーをx86-64-v3(Haswell以降)、デスクトップ環境をGNOMEとKDE Plasmaに絞り、性能と信頼性の両立を目指したものと推定されます。
Debian 13は、ユーザーがマシンのスペック・用途・好みに合わせて、カスタマイズ可能な柔軟さがあります。但し、pythonのpipについては慎重になっています。
RHEL-10互換 | Debian 13 | |
---|---|---|
Linux kernel | 6.12 | 6.12 |
GCC | 14.2 | 14.2 |
cmake | 3.30 | 3.31 |
python | 3.12 | 3.13 |
python pip | 従来通り使用可能 | Debian 12からシステムとは別の環境の設定が必要 |
デスクトップ環境 | GNOME, KDE Plasma, XFCEは削除 | GNOME, KDE Plasma, Cinnamon, Xfce, lxde, lxqt, mate, コマンドラインからは、Budgie他、多数 |
特記事項 | x86-64-v3: Haswell以降 | i386のサポート縮小、amd64の移行を推奨 |
AlmaLinux-10のインストール、動作確認結果
VirtualBoxへのインストール
Intel 12世代 Core-i7は、x86-64-v3(第4世代: Haswell)以降ですが、要件を満たしていないとのメッセージが表示され、インストーラーが起動しません。
WindowsのHyper-Vをオンにすると、Windowsがリソースを優先的に確保し、VirtualBoxからはマシンが正確に見えずフォールバックモードにより動作し、第2世代と認識されたようです。Windowsマシンでの仮想Linux環境の比較
Hyper-Vへのインストール
インストールが可能ですが、epelにxrdpのパッケージがありません。ソースコードからコンパイル、インストールまで行いました[neutrinolabs, xrdp](https://github.com/neutrinolabs/xrdp/wiki#building-from-sources)。
しかし、xrdpのサービスが正常に起動しないので、拡張モードはあきらめました。
WSL2へのインストール
AlmaLinux-10が既にオンラインリストに入っているので、インストールは簡単です。
wsl -l -o
インストールできる有効なディストリビューションの一覧を次に示します。
'wsl.exe --install <Distro>' を使用してインストールします。
NAME FRIENDLY NAME
AlmaLinux-8 AlmaLinux OS 8
AlmaLinux-9 AlmaLinux OS 9
AlmaLinux-Kitten-10 AlmaLinux OS Kitten 10
AlmaLinux-10 AlmaLinux OS 10
Debian Debian GNU/Linux
FedoraLinux-42 Fedora Linux 42
SUSE-Linux-Enterprise-15-SP5 SUSE Linux Enterprise 15 SP5
SUSE-Linux-Enterprise-15-SP6 SUSE Linux Enterprise 15 SP6
Ubuntu Ubuntu
Ubuntu-24.04 Ubuntu 24.04 LTS
archlinux Arch Linux
kali-linux Kali Linux Rolling
openSUSE-Tumbleweed openSUSE Tumbleweed
openSUSE-Leap-15.6 openSUSE Leap 15.6
Ubuntu-18.04 Ubuntu 18.04 LTS
Ubuntu-20.04 Ubuntu 20.04 LTS
Ubuntu-22.04 Ubuntu 22.04 LTS
OracleLinux_7_9 Oracle Linux 7.9
OracleLinux_8_7 Oracle Linux 8.7
OracleLinux_9_1 Oracle Linux 9.1
pythonのpipコマンドにより、従来通り最新のパッケージをインストールできるのが、メリットだと思います(2025年6月15日時点でのscipyの最新パッケージは1.15.3)。
pip install scipy
Defaulting to user installation because normal site-packages is not writeable
Collecting scipy
Downloading scipy-1.15.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.0/62.0 kB 3.3 MB/s eta 0:00:00
Collecting numpy<2.5,>=1.23.5 (from scipy)
Downloading numpy-2.3.0-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.1/62.1 kB 6.2 MB/s eta 0:00:00
Downloading scipy-1.15.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (37.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 37.3/37.3 MB 9.9 MB/s eta 0:00:00
Downloading numpy-2.3.0-cp312-cp312-manylinux_2_28_x86_64.whl (16.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.6/16.6 MB 10.4 MB/s eta 0:00:00
Installing collected packages: numpy, scipy
Successfully installed numpy-2.3.0 scipy-1.15.3
"""
SciPyを使ったPythonでの科学計算
https://qiita.com/Tomato_otamoT/items/f00687de46f086b9c891
"""
import numpy as np
from scipy import linalg
# 2x2の行列を定義
A = np.array([[1, 2],
[3, 4]])
# 逆行列を計算
inv_A = linalg.inv(A)
print("逆行列:\n", inv_A)
# 出力
逆行列:
[[-2. 1. ]
[ 1.5 -0.5]]
Debain 13
Pythonの環境
Debian/Ubuntuの新しいバージョンでは、pipでのパッケージのインストールは仮想環境 venv でしか行えなくなり、さらにインストールしたパッケージは仮想環境上でしか動作しないとのことです。Ubuntu 24.04 で Python3.12 の Pip を利用する
(aptでほとんどのパッケージがあるので、そのパッケージを利用してほしいとのスタンスです。但し、新しいものやプロプライエタリなライセンスを含むものを利用したいときは、手間がかかるようになりました)
VirtualBoxへのインストール
amd64ですので、マシンをフォールバックして認識しても動作します(特にblasなどの演算が遅くなるだけです)。
Debianではオリジナルのデスクトップに近い状態です(Ubuntu系ではKubuntuを除いて、デスクトップがかなりカスタマイズされています)。
現状ではマイナーですが、センスが良いと思うBudgieデスクトップ。
WSL2へのインストール
Debian 12のインストール
wsl.exe --instal Debian
コマンドによりDebian 12をインストールします。
Debian 13にアップグレード
リリースノート:Debian 12 (bookworm) からのアップグレードを参考にして、APT のインターネットソースの編集します。
sudo apt edit-sources
[sudo] password for elmeruser:
# "bookworm" を "trixie"に書き換える
deb http://deb.debian.org/debian trixie main contrib non-free non-free-firmware
deb http://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware
deb http://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb http://ftp.debian.org/debian trixie-backports main contrib non-free non-free-firmware
sudo apt update
sudo apt upgrade --without-new-pkgs # 4.4.5. システムの最小アップグレード
sudo apt full-upgrade # 4.4.6. システムのアップグレード
# 以上で Debian 13へのアップグレードが完了します
ElmerFEM
- Adaptiveメッシュの並列処理のParMMGとZoltanのライブラリを使用しています
- Zoltanは2016年リリースのv.3.8.3をElmer用に書き換えたものです
- ElmerフォーラムのDebian Testingを使用している人がいて、OSをアップデートするとZoltanのコンパイルでエラーとなる。対策として、GCCを14系から12系に変えるとコンパイルできたとのこと。ParMMGなしでのコンパイルを確認しています。
ElmerSolver
...
MAIN: =============================================================
MAIN: ElmerSolver finite element software, Welcome!
MAIN: This program is free software licensed under (L)GPL
MAIN: Copyright 1st April 1995 - , CSC - IT Center for Science Ltd.
MAIN: Webpage http://www.csc.fi/elmer, Email elmeradm@csc.fi
MAIN: Version: 9.0 (Rev: cfe73f7e4, Compiled: 2025-06-12)
MAIN: Running one task without MPI parallelization.
MAIN: Running with just one thread per task.
MAIN: MUMPS library linked in.
MAIN: MMG library linked in.
MAIN: Lua interpreter linked in.
MAIN: =============================================================
初代Surface Goへのインストール
リリース前の未確認バグ、マイナー周辺機器のサポート終了か原因がわかりませんが、USB 3.0/イーサネット変換アダプタ(ASIX USB to Gigabit Ethernet Family Adpter)が正常に動作しなかったです。Ubuntu 24.04からは動作しました。