前回ストアを見たら8.5が無く7.9をインストールしたOracle Linux。
しばらくしてストアを見たら8.5が復活している。
ということで7.9を削除。
PS C:\Users\shigeo-t> wsl -l -v NAME STATE VERSION * Legacy Stopped 1 OracleLinux Running 2 amzn Stopped 2 ubuntu1804b Stopped 2 ubuntu1804a Stopped 2 CentOS7 Stopped 2 Ubuntu-18.04 Stopped 2 ubuntu1804c Stopped 2 PS C:\Users\shigeo-t> wsl --unregister OracleLinux 登録を解除しています... PS C:\Users\shigeo-t> wsl -l -v NAME STATE VERSION * Legacy Stopped 1 amzn Stopped 2 ubuntu1804b Stopped 2 ubuntu1804a Stopped 2 CentOS7 Stopped 2 Ubuntu-18.04 Stopped 2 ubuntu1804c Stopped 2
これは容量的な問題もあるし、複数使い分けするかどうかはこれからDockerが動くか調べてからなので、とりあえずCドライブを空けた。
ストアに戻ってOracle Linux 8.5をインストール。
[開く]をクリック。ユーザ名を聞いてくるのでユーザ名とパスワード2回を入れる。
できた。
まずyum uodateしておく。
Installing, this may take a few minutes... Please create a default UNIX user account. The username does not need to match your Windows username. For more information visit: https://aka.ms/wslusers Enter new UNIX username: shigeo Changing password for user shigeo. New password: Retype new password: passwd: all authentication tokens updated successfully. Installation successful! [shigeo@EAGLEII ~]$ sudo yum update -y We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for shigeo: Oracle Linux 8 BaseOS Latest (x86_64) 9.8 MB/s | 42 MB 00:04 Oracle Linux 8 Application Stream (x86_64) 10 MB/s | 32 MB 00:03 Last metadata expiration check: 0:00:10 ago on Mon 14 Feb 2022 03:13:49 AM JST. Dependencies resolved. ======================================================================================================================== Package Architecture Version Repository Size ======================================================================================================================== Upgrading: cryptsetup-libs x86_64 2.3.3-4.el8_5.1 ol8_baseos_latest 474 k dnf-plugins-core noarch 4.0.21-4.0.1.el8_5 ol8_baseos_latest 70 k glibc x86_64 2.28-164.0.3.el8 ol8_baseos_latest 3.6 M glibc-common x86_64 2.28-164.0.3.el8 ol8_baseos_latest 1.3 M glibc-langpack-en x86_64 2.28-164.0.3.el8 ol8_baseos_latest 829 k oraclelinux-release x86_64 8:8.5-1.0.8.el8 ol8_baseos_latest 78 k python3-dnf-plugins-core noarch 4.0.21-4.0.1.el8_5 ol8_baseos_latest 234 k python3-rpm x86_64 4.14.3-19.el8_5.2 ol8_baseos_latest 154 k redhat-release x86_64 2:8.5-0.8.0.2.el8 ol8_baseos_latest 19 k rpm x86_64 4.14.3-19.el8_5.2 ol8_baseos_latest 543 k rpm-build-libs x86_64 4.14.3-19.el8_5.2 ol8_baseos_latest 156 k rpm-libs x86_64 4.14.3-19.el8_5.2 ol8_baseos_latest 345 k vim-common x86_64 2:8.0.1763-16.0.1.el8_5.4 ol8_appstream 6.3 M vim-enhanced x86_64 2:8.0.1763-16.0.1.el8_5.4 ol8_appstream 1.4 M vim-filesystem noarch 2:8.0.1763-16.0.1.el8_5.4 ol8_appstream 49 k vim-minimal x86_64 2:8.0.1763-16.0.1.el8_5.4 ol8_baseos_latest 574 k yum-utils noarch 4.0.21-4.0.1.el8_5 ol8_baseos_latest 73 k Transaction Summary ======================================================================================================================== Upgrade 17 Packages Total download size: 16 M Downloading Packages: (1/17): dnf-plugins-core-4.0.21-4.0.1.el8_5.noarch.rpm 1.0 MB/s | 70 kB 00:00 (2/17): cryptsetup-libs-2.3.3-4.el8_5.1.x86_64.rpm 2.9 MB/s | 474 kB 00:00 (3/17): glibc-langpack-en-2.28-164.0.3.el8.x86_64.rpm 3.4 MB/s | 829 kB 00:00 (4/17): glibc-common-2.28-164.0.3.el8.x86_64.rpm 3.8 MB/s | 1.3 MB 00:00 (5/17): oraclelinux-release-8.5-1.0.8.el8.x86_64.rpm 2.1 MB/s | 78 kB 00:00 (6/17): python3-dnf-plugins-core-4.0.21-4.0.1.el8_5.noarch.rpm 3.5 MB/s | 234 kB 00:00 (7/17): python3-rpm-4.14.3-19.el8_5.2.x86_64.rpm 2.2 MB/s | 154 kB 00:00 (8/17): redhat-release-8.5-0.8.0.2.el8.x86_64.rpm 599 kB/s | 19 kB 00:00 (9/17): rpm-build-libs-4.14.3-19.el8_5.2.x86_64.rpm 2.5 MB/s | 156 kB 00:00 (10/17): rpm-4.14.3-19.el8_5.2.x86_64.rpm 3.2 MB/s | 543 kB 00:00 (11/17): rpm-libs-4.14.3-19.el8_5.2.x86_64.rpm 2.6 MB/s | 345 kB 00:00 (12/17): yum-utils-4.0.21-4.0.1.el8_5.noarch.rpm 1.6 MB/s | 73 kB 00:00 (13/17): vim-minimal-8.0.1763-16.0.1.el8_5.4.x86_64.rpm 3.0 MB/s | 574 kB 00:00 (14/17): glibc-2.28-164.0.3.el8.x86_64.rpm 3.1 MB/s | 3.6 MB 00:01 (15/17): vim-filesystem-8.0.1763-16.0.1.el8_5.4.noarch.rpm 1.6 MB/s | 49 kB 00:00 (16/17): vim-enhanced-8.0.1763-16.0.1.el8_5.4.x86_64.rpm 2.7 MB/s | 1.4 MB 00:00 (17/17): vim-common-8.0.1763-16.0.1.el8_5.4.x86_64.rpm 5.6 MB/s | 6.3 MB 00:01 ------------------------------------------------------------------------------------------------------------------------ Total 8.5 MB/s | 16 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: glibc-common-2.28-164.0.3.el8.x86_64 1/1 Upgrading : glibc-common-2.28-164.0.3.el8.x86_64 1/34 Upgrading : glibc-langpack-en-2.28-164.0.3.el8.x86_64 2/34 Running scriptlet: glibc-2.28-164.0.3.el8.x86_64 3/34 Upgrading : glibc-2.28-164.0.3.el8.x86_64 3/34 Running scriptlet: glibc-2.28-164.0.3.el8.x86_64 3/34 Upgrading : rpm-4.14.3-19.el8_5.2.x86_64 4/34 Upgrading : rpm-libs-4.14.3-19.el8_5.2.x86_64 5/34 Running scriptlet: rpm-libs-4.14.3-19.el8_5.2.x86_64 5/34 Upgrading : rpm-build-libs-4.14.3-19.el8_5.2.x86_64 6/34 Running scriptlet: rpm-build-libs-4.14.3-19.el8_5.2.x86_64 6/34 Upgrading : vim-filesystem-2:8.0.1763-16.0.1.el8_5.4.noarch 7/34 Upgrading : vim-common-2:8.0.1763-16.0.1.el8_5.4.x86_64 8/34 Upgrading : redhat-release-2:8.5-0.8.0.2.el8.x86_64 9/34 Upgrading : python3-dnf-plugins-core-4.0.21-4.0.1.el8_5.noarch 10/34 Upgrading : dnf-plugins-core-4.0.21-4.0.1.el8_5.noarch 11/34 Upgrading : yum-utils-4.0.21-4.0.1.el8_5.noarch 12/34 Upgrading : oraclelinux-release-8:8.5-1.0.8.el8.x86_64 13/34 Upgrading : vim-enhanced-2:8.0.1763-16.0.1.el8_5.4.x86_64 14/34 Upgrading : python3-rpm-4.14.3-19.el8_5.2.x86_64 15/34 Upgrading : cryptsetup-libs-2.3.3-4.el8_5.1.x86_64 16/34 Running scriptlet: cryptsetup-libs-2.3.3-4.el8_5.1.x86_64 16/34 Upgrading : vim-minimal-2:8.0.1763-16.0.1.el8_5.4.x86_64 17/34 Cleanup : vim-enhanced-2:8.0.1763-16.0.1.el8.x86_64 18/34 Cleanup : cryptsetup-libs-2.3.3-4.el8.x86_64 19/34 Running scriptlet: cryptsetup-libs-2.3.3-4.el8.x86_64 19/34 Cleanup : yum-utils-4.0.21-3.0.1.el8.noarch 20/34 Cleanup : dnf-plugins-core-4.0.21-3.0.1.el8.noarch 21/34 Cleanup : oraclelinux-release-8:8.5-1.0.7.el8.x86_64 22/34 Cleanup : python3-rpm-4.14.3-19.el8.x86_64 23/34 Cleanup : rpm-build-libs-4.14.3-19.el8.x86_64 24/34 Running scriptlet: rpm-build-libs-4.14.3-19.el8.x86_64 24/34 Cleanup : rpm-4.14.3-19.el8.x86_64 25/34 Cleanup : rpm-libs-4.14.3-19.el8.x86_64 26/34 Running scriptlet: rpm-libs-4.14.3-19.el8.x86_64 26/34 Cleanup : vim-minimal-2:8.0.1763-16.0.1.el8.x86_64 27/34 Cleanup : vim-common-2:8.0.1763-16.0.1.el8.x86_64 28/34 Cleanup : vim-filesystem-2:8.0.1763-16.0.1.el8.noarch 29/34 Cleanup : redhat-release-2:8.5-0.8.0.1.el8.x86_64 30/34 Cleanup : python3-dnf-plugins-core-4.0.21-3.0.1.el8.noarch 31/34 Cleanup : glibc-2.28-164.0.1.el8.x86_64 32/34 Cleanup : glibc-langpack-en-2.28-164.0.1.el8.x86_64 33/34 Cleanup : glibc-common-2.28-164.0.1.el8.x86_64 34/34 Running scriptlet: glibc-common-2.28-164.0.1.el8.x86_64 34/34 Running scriptlet: glibc-common-2.28-164.0.3.el8.x86_64 34/34 Running scriptlet: vim-common-2:8.0.1763-16.0.1.el8_5.4.x86_64 34/34 Verifying : cryptsetup-libs-2.3.3-4.el8_5.1.x86_64 1/34 Verifying : cryptsetup-libs-2.3.3-4.el8.x86_64 2/34 Verifying : dnf-plugins-core-4.0.21-4.0.1.el8_5.noarch 3/34 Verifying : dnf-plugins-core-4.0.21-3.0.1.el8.noarch 4/34 Verifying : glibc-2.28-164.0.3.el8.x86_64 5/34 Verifying : glibc-2.28-164.0.1.el8.x86_64 6/34 Verifying : glibc-common-2.28-164.0.3.el8.x86_64 7/34 Verifying : glibc-common-2.28-164.0.1.el8.x86_64 8/34 Verifying : glibc-langpack-en-2.28-164.0.3.el8.x86_64 9/34 Verifying : glibc-langpack-en-2.28-164.0.1.el8.x86_64 10/34 Verifying : oraclelinux-release-8:8.5-1.0.8.el8.x86_64 11/34 Verifying : oraclelinux-release-8:8.5-1.0.7.el8.x86_64 12/34 Verifying : python3-dnf-plugins-core-4.0.21-4.0.1.el8_5.noarch 13/34 Verifying : python3-dnf-plugins-core-4.0.21-3.0.1.el8.noarch 14/34 Verifying : python3-rpm-4.14.3-19.el8_5.2.x86_64 15/34 Verifying : python3-rpm-4.14.3-19.el8.x86_64 16/34 Verifying : redhat-release-2:8.5-0.8.0.2.el8.x86_64 17/34 Verifying : redhat-release-2:8.5-0.8.0.1.el8.x86_64 18/34 Verifying : rpm-4.14.3-19.el8_5.2.x86_64 19/34 Verifying : rpm-4.14.3-19.el8.x86_64 20/34 Verifying : rpm-build-libs-4.14.3-19.el8_5.2.x86_64 21/34 Verifying : rpm-build-libs-4.14.3-19.el8.x86_64 22/34 Verifying : rpm-libs-4.14.3-19.el8_5.2.x86_64 23/34 Verifying : rpm-libs-4.14.3-19.el8.x86_64 24/34 Verifying : vim-minimal-2:8.0.1763-16.0.1.el8_5.4.x86_64 25/34 Verifying : vim-minimal-2:8.0.1763-16.0.1.el8.x86_64 26/34 Verifying : yum-utils-4.0.21-4.0.1.el8_5.noarch 27/34 Verifying : yum-utils-4.0.21-3.0.1.el8.noarch 28/34 Verifying : vim-common-2:8.0.1763-16.0.1.el8_5.4.x86_64 29/34 Verifying : vim-common-2:8.0.1763-16.0.1.el8.x86_64 30/34 Verifying : vim-enhanced-2:8.0.1763-16.0.1.el8_5.4.x86_64 31/34 Verifying : vim-enhanced-2:8.0.1763-16.0.1.el8.x86_64 32/34 Verifying : vim-filesystem-2:8.0.1763-16.0.1.el8_5.4.noarch 33/34 Verifying : vim-filesystem-2:8.0.1763-16.0.1.el8.noarch 34/34 Upgraded: cryptsetup-libs-2.3.3-4.el8_5.1.x86_64 dnf-plugins-core-4.0.21-4.0.1.el8_5.noarch glibc-2.28-164.0.3.el8.x86_64 glibc-common-2.28-164.0.3.el8.x86_64 glibc-langpack-en-2.28-164.0.3.el8.x86_64 oraclelinux-release-8:8.5-1.0.8.el8.x86_64 python3-dnf-plugins-core-4.0.21-4.0.1.el8_5.noarch python3-rpm-4.14.3-19.el8_5.2.x86_64 redhat-release-2:8.5-0.8.0.2.el8.x86_64 rpm-4.14.3-19.el8_5.2.x86_64 rpm-build-libs-4.14.3-19.el8_5.2.x86_64 rpm-libs-4.14.3-19.el8_5.2.x86_64 vim-common-2:8.0.1763-16.0.1.el8_5.4.x86_64 vim-enhanced-2:8.0.1763-16.0.1.el8_5.4.x86_64 vim-filesystem-2:8.0.1763-16.0.1.el8_5.4.noarch vim-minimal-2:8.0.1763-16.0.1.el8_5.4.x86_64 yum-utils-4.0.21-4.0.1.el8_5.noarch Complete!
結構アップデートされた。
Windows Terminalを起動。しっかりOracle Linux 8.5がある。8.5はバージョン番号入るのね。
dnfが使えるはずなので試してみる。
[shigeo@EAGLEII shigeo-t]$ dnf info | more Last metadata expiration check: 0:03:46 ago on Mon 14 Feb 2022 03:20:14 AM JST. Installed Packages Name : acl Version : 2.2.53 Release : 1.el8 Architecture : x86_64 Size : 201 k Source : acl-2.2.53-1.el8.src.rpm Repository : @System Summary : Access control list utilities URL : https://savannah.nongnu.org/projects/acl License : GPLv2+ Description : This package contains the getfacl and setfacl utilities needed for : manipulating access control lists. Name : audit-libs Version : 3.0 Release : 0.17.20191104git1c2f876.el8 Architecture : x86_64 Size : 277 k Source : audit-3.0-0.17.20191104git1c2f876.el8.src.rpm Repository : @System Summary : Dynamic library for libaudit URL : http://people.redhat.com/sgrubb/audit/ License : LGPLv2+ Description : The audit-libs package contains the dynamic libraries needed for : applications to use the audit framework. Name : basesystem
ということで、こっちでDockerのインストールを試みる。