言わずもがななOS. RedHatさんをIBM様が購入されて(略 そうしたらソースの提供も(略
一応コマンド操作系は当然同じなのですが、パッケージリポジトリの取り扱いが他のRHEL系と違っているのでその辺を中心に.
あとepelリポジトリの追加とかも.
おそらくgoogle先生に伺えばより分かりやすい入手方法が提示されているのでそちらを参照してください
目下RHEL9.3がリリースされていてRHEL様から頂くと iso ファイルで 9.8GB にもなります.
それをusbとかに焼いて準備します. ここでは vmware esxi で検証目的なので iso イメージファイルのまま使います.
いつも通りの流れで.
っが、SOFTWARE欄に「Connect to Red Hat」が存在している.
中身はRedHatさんに認証を頂く仕様になっている. 方法が「Account」と「Activatetion Key」の2つ
「Red Hat Developer Subscription for Individuals」プログラムで参加しているのでRedHatさんのサイトにログインした時に使ったmailアドレスとパスワードを使用します
gmailでも大丈夫だった
登録が完了するとこんな画面になる
あとはOS構築を進めます.
っで今回の目的であるリポジトリ
[root@rhel9 ~]# ls -l /etc/yum.repos.d/
total 140
-rw-r--r--. 1 root root 140474 Feb 7 00:12 redhat.repo
[root@rhel9 ~]#
っとリポジトリファイルは「redhat.repo」の1枚のみ. この中にいろんなリポジトリが掲載されている. "debug-"と"source-"以外のリポジトリは下記になる
[root@rhel9 ~]# grep -e '^\[' /etc/yum.repos.d/redhat.repo | grep -v "debug-" | grep -v "source-" | sort
[amq-clients-3-for-rhel-9-x86_64-rpms]
[amq-interconnect-textonly-1-for-middleware-rpms]
[amq-textonly-1-for-middleware-rpms]
[ansible-automation-platform-2.2-for-rhel-9-x86_64-rpms]
[ansible-automation-platform-2.3-for-rhel-9-x86_64-rpms]
[ansible-automation-platform-2.4-for-rhel-9-x86_64-rpms]
[application-interconnect-1-for-rhel-9-x86_64-rpms]
[cert-manager-1.10-for-rhel-9-x86_64-rpms]
[cert-manager-1.11-for-rhel-9-x86_64-rpms]
[cert-manager-1.12-for-rhel-9-x86_64-rpms]
[cert-manager-1.13-for-rhel-9-x86_64-rpms]
[cnv-0.0-for-rhel-9-x86_64-rpms]
[cnv-4.13-for-rhel-9-x86_64-rpms]
[cnv-4.14-for-rhel-9-x86_64-rpms]
[cnv-4.15-for-rhel-9-x86_64-rpms]
[cnv-4.16-for-rhel-9-x86_64-rpms]
[codeready-builder-for-rhel-9-x86_64-eus-rpms]
[codeready-builder-for-rhel-9-x86_64-rpms]
[discovery-1-for-rhel-9-x86_64-rpms]
[fast-datapath-for-rhel-9-x86_64-rpms]
[fsw-textonly-1-for-middleware-rpms]
[jb-coreservices-textonly-1-for-middleware-rhui-rpms]
[jb-coreservices-textonly-1-for-middleware-rpms]
[jb-datagrid-8.4-for-rhel-9-x86_64-rpms]
[jb-datagrid-textonly-1-for-middleware-rpms]
[jb-eap-7.4-for-rhel-9-x86_64-rpms]
[jb-eap-8.0-for-rhel-9-x86_64-rpms]
[jb-eap-textonly-1-for-middleware-rpms]
[jdv-textonly-1-for-middleware-rpms]
[jon-textonly-1-for-middleware-rpms]
[jpp-textonly-1-for-middleware-rpms]
[kmm-1-for-rhel-9-x86_64-rpms]
[kmm-2-for-rhel-9-x86_64-rpms]
[lvms-4.14-for-rhel-9-x86_64-rpms]
[lvms-4.15-for-rhel-9-x86_64-rpms]
[network-observability-1-for-rhel-9-x86_64-rpms]
[ocp-tools-4.15-for-rhel-9-x86_64-rpms]
[openjdk-textonly-1-for-middleware-rpms]
[openliberty-textonly-1-for-middleware-rpms]
[openstack-17.1-tools-for-rhel-9-x86_64-rpms]
[openstack-17-tools-for-rhel-9-x86_64-rpms]
[openstack-18-tools-for-rhel-9-x86_64-rpms]
[osso-1-for-rhel-9-x86_64-files]
[osso-1-for-rhel-9-x86_64-rpms]
[quarkus-textonly-1-for-middleware-rpms]
[rhbop-textonly-1-for-middleware-rpms]
[rhceph-5-tools-for-rhel-9-x86_64-rpms]
[rhceph-6-tools-for-rhel-9-x86_64-rpms]
[rhceph-7-tools-for-rhel-9-x86_64-rpms]
[rhdh-1-for-rhel-9-x86_64-rpms]
[rhel-9-for-x86_64-appstream-e4s-rpms]
[rhel-9-for-x86_64-appstream-eus-rpms]
[rhel-9-for-x86_64-appstream-rpms] <-- 「enabled = 1」
[rhel-9-for-x86_64-baseos-e4s-rpms]
[rhel-9-for-x86_64-baseos-eus-rpms]
[rhel-9-for-x86_64-baseos-rpms] <-- 「enabled = 1」
[rhel-9-for-x86_64-highavailability-e4s-rpms]
[rhel-9-for-x86_64-highavailability-eus-rpms]
[rhel-9-for-x86_64-highavailability-rpms]
[rhel-9-for-x86_64-resilientstorage-eus-rpms]
[rhel-9-for-x86_64-resilientstorage-rpms]
[rhel-9-for-x86_64-rt-rpms]
[rhel-9-for-x86_64-sap-netweaver-e4s-rpms]
[rhel-9-for-x86_64-sap-netweaver-eus-rpms]
[rhel-9-for-x86_64-sap-netweaver-rpms]
[rhel-9-for-x86_64-sap-solutions-e4s-rpms]
[rhel-9-for-x86_64-sap-solutions-eus-rpms]
[rhel-9-for-x86_64-sap-solutions-rpms]
[rhel-9-for-x86_64-supplementary-eus-rpms]
[rhel-9-for-x86_64-supplementary-rpms]
[rhel-atomic-7-cdk-2.3-rpms]
[rhel-atomic-7-cdk-3.10-rpms]
[rhel-atomic-7-cdk-3.11-rpms]
[rhel-atomic-7-cdk-3.12-rpms]
[rhel-atomic-7-cdk-3.13-rpms]
[rhel-atomic-7-cdk-3.14-rpms]
[rhel-atomic-7-cdk-3.15-rpms]
[rhel-atomic-7-cdk-3.16-rpms]
[rhel-atomic-7-cdk-3.17-rpms]
[rhel-atomic-7-cdk-3.3-rpms]
[rhel-atomic-7-cdk-3.4-rpms]
[rhel-atomic-7-cdk-3.5-rpms]
[rhel-atomic-7-cdk-3.6-rpms]
[rhel-atomic-7-cdk-3.7-rpms]
[rhel-atomic-7-cdk-3.8-rpms]
[rhel-atomic-7-cdk-3.9-rpms]
[rhocp-4.12-for-rhel-9-x86_64-rpms]
[rhocp-4.13-for-rhel-9-x86_64-rpms]
[rhocp-4.14-for-rhel-9-x86_64-rpms]
[rhocp-4.15-for-rhel-9-x86_64-rpms]
[rhocp-4.16-for-rhel-9-x86_64-rpms]
[rhocp-ironic-4.12-for-rhel-9-x86_64-rpms]
[rhocp-ironic-4.13-for-rhel-9-x86_64-rpms]
[rhocp-ironic-4.14-for-rhel-9-x86_64-rpms]
[rhocp-ironic-4.15-for-rhel-9-x86_64-rpms]
[rhocp-ironic-4.16-for-rhel-9-x86_64-rpms]
[rhosds-textonly-3-for-middleware-rpms]
[rhose-textonly-1-for-middleware-rpms]
[rhsi-textonly-1-for-middleware-rpms]
[rhv-4-tools-for-rhel-9-x86_64-rpms]
[rodoo-1-for-rhel-9-x86_64-rpms]
[satellite-client-6-for-rhel-9-x86_64-e4s-rpms]
[satellite-client-6-for-rhel-9-x86_64-eus-rpms]
[satellite-client-6-for-rhel-9-x86_64-rpms]
[service-interconnect-1.4-for-rhel-9-x86_64-rpms]
[service-interconnect-1-for-rhel-9-x86_64-rpms]
[soa-textonly-1-for-middleware-rpms]
[wfk-textonly-1-for-middleware-rpms]
[root@rhel9 ~]#
このうち、「enabled = 1」として定義されているのが[rhel-9-for-x86_64-appstream-rpms] と [rhel-9-for-x86_64-baseos-rpms] の2つ.
この状態で各種アプリを入れてみる
[root@rhel9 ~]# dnf groupinstall "Development Tools"
[root@rhel9 ~]# dnf install cmake openmpi-devel libX11-devel fftw-devel libtiff-devel libpng-devel texlive-latex-bin texlive-cm texlive-dvips ghostscript evince pbzip2 zstd
[root@rhel9 ~]# dnf localinstall --enablerepo=codeready-builder-for-rhel-9-x86_64-rpms fltk-devel
[root@rhel9 ~]# cd /apps/src
[root@rhel9 src]# git clone https://github.com/3dem/relion
[root@rhel9 src]# cd relion/
[root@rhel9 relion]# git checkout ver4.0
[root@rhel9 relion]# mkdir 401 && cd 401
[root@rhel9 401]# cmake -DCMAKE_INSTALL_PREFIX=/apps/relion-4.0.1 .. -DCUDA_ARCH=86 -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-12.3
[root@rhel9 401]# make -j 20 ; make install
[root@rhel9 ~]# dnf localinstall /Public/em/ucsf-chimerax-1.7.1-1.el9.x86_64.rpm
Updating Subscription Management repositories.
Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 15 kB/s | 4.1 kB 00:00
Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 15 MB/s | 17 MB 00:01
Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 17 kB/s | 4.5 kB 00:00
Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 22 MB/s | 29 MB 00:01
Last metadata expiration check: 0:00:02 ago on Fri 09 Feb 2024 01:35:46 AM JST.
Error:
Problem: conflicting requests
- nothing provides mesa-libOSMesa needed by ucsf-chimerax-1.7.1-1.el9.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@rhel9 ~]#
[root@rhel9 ~]# dnf localinstall --enablerepo=codeready-builder-for-rhel-9-x86_64-rpms /Public/em/ucsf-chimerax-1.7.1-1.el9.x86_64.rpm