~~CLOSETOC~~
====== LxRunOffline - システムドライブ外に WSL 環境を構築する方法 ======
ドキュメント: [[git>DDoSolitary/LxRunOffline/wiki|Home · DDoSolitary/LxRunOffline Wiki]]\\
ソースコード: [[git>DDoSolitary/LxRunOffline|DDoSolitary/LxRunOffline: A full-featured utility for managing Windows Subsystem for Linux (WSL)]]\\
下記の手順は genie さんの機能強化に伴い 2021/03/15 に再検証しました。(以下の [[tw>|Twitter]] の内容は付録なので見なくても大丈夫です😅💦)\\
[[tw>tomoyan596/status/1370861091157209088|「WSL2に最新のFedoraを入れておきましょう😊」 / Twitter]]\\
[[tw>tomoyan596/status/1370999012954759176|「genieさん何やらかしたのかなぁ❓😅💦」 / Twitter]]\\
[[tw>tomoyan596/status/1371115020331851783|「さて、2年ぶりにWSL2の精霊🧚♂️さんのお世話をしましょうかねぇ🥰」 / Twitter]]\\
{{INLINETOC wide 1-2}}
===== インストール =====
[[windows:scoop|Scoop]] によるインストール。\\
ダウンロード元として **extras** バケットを追加する。\\
$ scoop bucket add extras
Checking repo... ok
The extras bucket was added successfully.
**LxRunOffline** をインストールする。\\
$ scoop install lxrunoffline
Installing 'lxrunoffline' (3.4.1) [64bit]
LxRunOffline-v3.4.1-msvc.zip (2.3 MB) [=======================================================================] 100%
Checking hash of LxRunOffline-v3.4.1-msvc.zip ... ok.
Extracting LxRunOffline-v3.4.1-msvc.zip ... done.
Linking ~\scoop\apps\lxrunoffline\current => ~\scoop\apps\lxrunoffline\3.4.1
Creating shim for 'LxRunOffline'.
'lxrunoffline' (3.4.1) was installed successfully!
===== 動作確認 ======
$ LxRunOffline
[ERROR] No action is specified.
Supported actions are:
l, list List all installed distributions.
gd, get-default Get the default distribution, which is used by bash.exe.
sd, set-default Set the default distribution, which is used by bash.exe.
i, install Install a new distribution.
ui, uninstall Uninstall a distribution.
rg, register Register an existing installation directory.
ur, unregister Unregister a distribution but not delete the installation directory.
m, move Move a distribution to a new directory.
d, duplicate Duplicate an existing distribution in a new directory.
e, export Export a distribution's filesystem to a .tar.gz file, which can be imported by the "install" command.
r, run Run a command in a distribution.
di, get-dir Get the installation directory of a distribution.
gv, get-version Get the filesystem version of a distribution.
ge, get-env Get the default environment variables of a distribution.
se, set-env Set the default environment variables of a distribution.
ae, add-env Add to the default environment variables of a distribution.
re, remove-env Remove from the default environment variables of a distribution.
gu, get-uid Get the UID of the default user of a distribution.
su, set-uid Set the UID of the default user of a distribution.
gk, get-kernelcmd Get the default kernel command line of a distribution.
sk, set-kernelcmd Set the default kernel command line of a distribution.
gf, get-flags Get some flags of a distribution. See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/api/wslapi/ne-wslapi-wsl_distribution_flags for details.
sf, set-flags Set some flags of a distribution. See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/api/wslapi/ne-wslapi-wsl_distribution_flags for details.
s, shortcut Create a shortcut to launch a distribution.
ec, export-config Export configuration of a distribution to an XML file.
ic, import-config Import configuration of a distribution from an XML file.
sm, summary Get general information of a distribution.
version Get version information about this LxRunOffline.exe.
===== インストールされているディストリビューションの確認[l, list] =====
$ LxRunOffline list
fedoraremix
===== ディストリビューションのインストール[i, install] =====
[[https://github.com/DDoSolitary/LxRunOffline/wiki|Home · DDoSolitary/LxRunOffline Wiki]] のサポートされているディストリビューションの一覧を確認してダウンロードする。\\
https://lxrunoffline.apphb.com/download/{distro}/{version}
ここでは 2020/12/03 現在、最新の Fedora 33 をダウンロードする。\\
[[https://lxrunoffline.apphb.com/download/fedora/33|]] (fedora-33.20210303-x86_64.tar.xz - 35.1 MB)\\
$ LxRunOffline i -n Fedora -d C:\wsl\Fedora -f fedora-33.20210303-x86_64.tar.xz
※LxRunOffline コマンドのオプション\\
**i, install** - 新しいディストリビューションをインストール。\\
**-n** - ディストリビューション名。\\
**-d** - ディストリビューションのインストール先ディレクトリ。\\
**-f** - ルートファイルシステムを含む tar ファイル。\\
[===============----------------------------------------------------------]
[WARNING] Love this tool? Would you like to make a donation: https://github.com/DDoSolitary/LxRunOffline/blob/master/README.md#donation
LxRunOffline コマンドでインストールされたディストリビューションの WSL のバージョンを確認\\
$ wsl -l -v
NAME STATE VERSION
* fedoraremix Stopped 2
Fedora Stopped 1
※Fedora は WSL1 でインストールされている。\\
\\
Fedora を WSL1 から WSL2 に変換する。\\
$ wsl --set-version Fedora 2
変換中です。この処理には数分かかることがあります...
WSL 2 との主な違いについては、https://aka.ms/wsl2 を参照してください
変換が完了しました。
ディストリビューションの WSL のバージョンを確認\\
$ wsl -l -v
NAME STATE VERSION
* fedoraremix Stopped 2
Fedora Stopped 2
ディストリビューションを既定として設定\\
$ wsl --set-default Fedora
$ wsl -l -v
NAME STATE VERSION
* Fedora Stopped 2
fedoraremix Stopped 2
===== ディストリビューションのアンインストール[ui, uninstall] =====
$ LxRunOffline ui -n Fedora
※LxRunOffline コマンドのオプション\\
**ui, uninstall** - ディストリビューションをアンインストール。\\
**-n** - ディストリビューション名。\\
===== ディストリビューションのエクスポート/インポート[e, export / i, install] =====
ディストリビューションのエクスポートする。(現状は WSL1 のみエクスポートできる。WSL2 は WSL1 に変換後にエクスポート。)\\
$ LxRunOffline e -n Fedora-WSL1 -f Fedora-WSL1.tar.gz
※LxRunOffline コマンドのオプション\\
**e, export** - ディストリビューションをエクスポート。\\
**-n** - ディストリビューション名。\\
**-f** - エクスポートファイル名。\\
ディストリビューションをインポートする。\\
$ LxRunOffline i -n Fedora-WSL1-Copy -d D:\wsl -f C:\Users\tomoyan\Fedora-WSL1.tar.gz
※LxRunOffline コマンドのオプション\\
**i, install** - 新しいディストリビューションをインストール。\\
**-n** - ディストリビューション名。\\
**-d** - インポート先ディレクトリ。\\
**-f** - インポートファイル名。\\
[WARNING] Love this tool? Would you like to make a donation: https://github.com/DDoSolitary/LxRunOffline/blob/master/README.md#donation
===== WSL1 と WSL2 の並列実行 =====
コマンドプロンプト、PowerShell から wsl コマンド、または、bash ランチャー経由で WSL を起動した場合はデフォルト(既定)の WSL 環境が起動される。\\
既定のディストリビューションの確認\\
$ wsl -l
Linux 用 Windows サブシステム ディストリビューション:
Fedora (既定)
Fedora_wsl1
fedoraremix
または\\
$ wsl -l -v
NAME STATE VERSION
* Fedora Running 2
Fedora-WSL1 Stopped 1
fedoraremix Running 2
既定のディストリビューションを変更するには以下のコマンドを実行する。\\
$ wsl -s fedoraremix
$ wsl -l -v
NAME STATE VERSION
* fedoraremix Running 2
Fedora-WSL1 Stopped 1
Fedora Running 2
==== デスクトップにディストリビューションのショートカットを作成する[s, shortcut] ====
デスクトップにショートカットを作成する方法で WSL1 と WSL2 を並列実行できるようになる。\\
$ LxRunOffline l
Fedora-WSL1
fedoraremix
Fedora
$ LxRunOffline s -n "Fedora-WSL1" -f "C:\Users\tomoyan\Desktop\Fedora(WSL1).lnk"
$ LxRunOffline s -n "fedoraremix" -f "C:\Users\tomoyan\Desktop\Fedora Remix.lnk"
$ LxRunOffline s -n "Fedora" -f "C:\Users\tomoyan\Desktop\Fedora.lnk"
作成されたショートカットのリンク先は以下の内容となる。\\
C:\Users\tomoyan\scoop\apps\lxrunoffline\current\LxRunOffline.exe run -w -n "Fedora-WSL1"
C:\Users\tomoyan\scoop\apps\lxrunoffline\current\LxRunOffline.exe run -w -n "fedoraremix"
C:\Users\tomoyan\scoop\apps\lxrunoffline\current\LxRunOffline.exe run -w -n "Fedora"
==== 起動済のコマンドプロンプト、PowerShell から WSL1 / WSL2 環境を実行する[r, run] ====
コマンドプロンプト、または、PowerShell を起動する。\\
そして、以下のコマンドを実行すると各 WSL 環境を実行できる。\\
$ LxRunOffline r -n "Fedora-WSL1"
$ LxRunOffline r -n "fedoraremix"
$ LxRunOffline r -n "Fedora"
※**Fedora-WSL1** (WSL1 の Fedora)\\
**fedoraremix** (WSL2 の Fedora Remix)\\
**Fedora** (WSL2 の Fedora)\\
===== ディストリビューションの初期設定 =====
==== ディストリビューション明示実行 ====
ディストリビューションを実行する。\\
$ LxRunOffline r -n "Fedora"
#
==== ディストリビューション情報 ====
Fedora のバージョン確認。\\
# cat /etc/redhat-release
Fedora release 33 (Thirty Three)
WSL 2 Kernel のバージョン確認。\\
# uname -a
Linux Cmon 5.4.91-microsoft-standard-WSL2 #1 SMP Mon Jan 25 18:39:31 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
==== インストール済み初期パッケージ ====
LxRunOffline でインストールできる Fedora 33 の初期パッケージ。\\
# dnf list installed
Installed Packages
alternatives.x86_64 1.14-3.fc33 @anaconda
audit-libs.x86_64 3.0.1-2.fc33 @koji-override-0
basesystem.noarch 11-10.fc33 @anaconda
bash.x86_64 5.0.17-2.fc33 @anaconda
bzip2-libs.x86_64 1.0.8-4.fc33 @anaconda
ca-certificates.noarch 2020.2.41-4.fc33 @anaconda
coreutils.x86_64 8.32-18.fc33 @koji-override-0
coreutils-common.x86_64 8.32-18.fc33 @koji-override-0
cracklib.x86_64 2.9.6-24.fc33 @anaconda
crypto-policies.noarch 20200918-1.git85dccc5.fc33 @anaconda
curl.x86_64 7.71.1-8.fc33 @koji-override-0
cyrus-sasl-lib.x86_64 2.1.27-6.fc33 @anaconda
dnf.noarch 4.5.2-1.fc33 @koji-override-0
dnf-data.noarch 4.5.2-1.fc33 @koji-override-0
elfutils-default-yama-scope.noarch 0.183-1.fc33 @koji-override-0
elfutils-libelf.x86_64 0.183-1.fc33 @koji-override-0
elfutils-libs.x86_64 0.183-1.fc33 @koji-override-0
expat.x86_64 2.2.8-3.fc33 @anaconda
fedora-gpg-keys.noarch 33-3 @koji-override-0
fedora-release-common.noarch 33-3 @koji-override-0
fedora-release-container.noarch 33-3 @koji-override-0
fedora-release-identity-container.noarch 33-3 @koji-override-0
fedora-repos.noarch 33-3 @koji-override-0
fedora-repos-modular.noarch 33-3 @koji-override-0
file-libs.x86_64 5.39-3.fc33 @anaconda
filesystem.x86_64 3.14-3.fc33 @anaconda
gawk.x86_64 5.1.0-2.fc33 @anaconda
gdbm-libs.x86_64 1:1.19-1.fc33 @koji-override-0
glib2.x86_64 2.66.7-1.fc33 @koji-override-0
glibc.x86_64 2.32-4.fc33 @koji-override-0
glibc-common.x86_64 2.32-4.fc33 @koji-override-0
glibc-minimal-langpack.x86_64 2.32-4.fc33 @koji-override-0
gmp.x86_64 1:6.2.0-5.fc33 @anaconda
gnupg2.x86_64 2.2.25-2.fc33 @koji-override-0
gnutls.x86_64 3.6.15-1.fc33 @anaconda
gpgme.x86_64 1.14.0-2.fc33 @anaconda
grep.x86_64 3.4-5.fc33 @anaconda
gzip.x86_64 1.10-3.fc33 @anaconda
ima-evm-utils.x86_64 1.3.2-1.fc33 @koji-override-0
json-c.x86_64 0.14-7.fc33 @anaconda
keyutils-libs.x86_64 1.6.1-1.fc33 @koji-override-0
krb5-libs.x86_64 1.18.2-29.fc33 @koji-override-0
libacl.x86_64 2.2.53-9.fc33 @anaconda
libarchive.x86_64 3.5.1-1.fc33 @koji-override-0
libassuan.x86_64 2.5.3-4.fc33 @anaconda
libattr.x86_64 2.4.48-10.fc33 @anaconda
libblkid.x86_64 2.36.1-1.fc33 @koji-override-0
libbrotli.x86_64 1.0.9-3.fc33 @koji-override-0
libcap.x86_64 2.48-2.fc33 @koji-override-0
libcap-ng.x86_64 0.8-1.fc33 @anaconda
libcom_err.x86_64 1.45.6-4.fc33 @anaconda
libcomps.x86_64 0.1.15-5.fc33 @anaconda
libcurl.x86_64 7.71.1-8.fc33 @koji-override-0
libdb.x86_64 5.3.28-45.fc33 @koji-override-0
libdnf.x86_64 0.55.2-1.fc33 @koji-override-0
libeconf.x86_64 0.3.8-4.fc33 @anaconda
libfdisk.x86_64 2.36.1-1.fc33 @koji-override-0
libffi.x86_64 3.1-26.fc33 @anaconda
libgcc.x86_64 10.2.1-9.fc33 @koji-override-0
libgcrypt.x86_64 1.8.7-1.fc33 @koji-override-0
libgomp.x86_64 10.2.1-9.fc33 @koji-override-0
libgpg-error.x86_64 1.41-1.fc33 @koji-override-0
libidn2.x86_64 2.3.0-4.fc33 @anaconda
libksba.x86_64 1.3.5-13.fc33 @anaconda
libmetalink.x86_64 0.1.3-13.fc33 @anaconda
libmodulemd.x86_64 2.12.0-1.fc33 @koji-override-0
libmount.x86_64 2.36.1-1.fc33 @koji-override-0
libnghttp2.x86_64 1.43.0-1.fc33 @koji-override-0
libnsl2.x86_64 1.2.0-8.20180605git4a062cf.fc33 @anaconda
libpsl.x86_64 0.21.1-2.fc33 @anaconda
libpwquality.x86_64 1.4.4-2.fc33 @koji-override-0
librepo.x86_64 1.12.1-1.fc33 @koji-override-0
libreport-filesystem.noarch 2.14.0-15.fc33 @koji-override-0
libselinux.x86_64 3.1-2.fc33 @anaconda
libsemanage.x86_64 3.1-2.fc33 @anaconda
libsepol.x86_64 3.1-3.fc33 @anaconda
libsigsegv.x86_64 2.11-11.fc33 @anaconda
libsmartcols.x86_64 2.36.1-1.fc33 @koji-override-0
libsolv.x86_64 0.7.17-1.fc33 @koji-override-0
libssh.x86_64 0.9.5-1.fc33 @anaconda
libssh-config.noarch 0.9.5-1.fc33 @anaconda
libsss_idmap.x86_64 2.4.2-2.fc33 @koji-override-0
libsss_nss_idmap.x86_64 2.4.2-2.fc33 @koji-override-0
libstdc++.x86_64 10.2.1-9.fc33 @koji-override-0
libtasn1.x86_64 4.16.0-3.fc33 @anaconda
libtirpc.x86_64 1.2.6-2.rc4.fc33 @anaconda
libunistring.x86_64 0.9.10-9.fc33 @anaconda
libusbx.x86_64 1.0.24-2.fc33 @koji-override-0
libutempter.x86_64 1.2.1-2.fc33 @anaconda
libuuid.x86_64 2.36.1-1.fc33 @koji-override-0
libverto.x86_64 0.3.0-10.fc33 @anaconda
libxcrypt.x86_64 4.4.18-1.fc33 @koji-override-0
libxml2.x86_64 2.9.10-8.fc33 @koji-override-0
libyaml.x86_64 0.2.5-3.fc33 @anaconda
libzstd.x86_64 1.4.7-1.fc33 @koji-override-0
lua-libs.x86_64 5.4.2-1.fc33 @koji-override-0
lz4-libs.x86_64 1.9.1-3.fc33 @anaconda
mpfr.x86_64 4.1.0-4.fc33 @koji-override-0
ncurses-base.noarch 6.2-3.20200222.fc33 @anaconda
ncurses-libs.x86_64 6.2-3.20200222.fc33 @anaconda
nettle.x86_64 3.6-3.fc33 @anaconda
npth.x86_64 1.6-5.fc33 @anaconda
openldap.x86_64 2.4.50-5.fc33 @anaconda
openssl-libs.x86_64 1:1.1.1i-3.fc33 @koji-override-0
p11-kit.x86_64 0.23.22-2.fc33 @koji-override-0
p11-kit-trust.x86_64 0.23.22-2.fc33 @koji-override-0
pam.x86_64 1.4.0-10.fc33 @koji-override-0
pcre.x86_64 8.44-2.fc33 @koji-override-0
pcre2.x86_64 10.36-4.fc33 @koji-override-0
pcre2-syntax.noarch 10.36-4.fc33 @koji-override-0
popt.x86_64 1.18-2.fc33 @anaconda
publicsuffix-list-dafsa.noarch 20190417-4.fc33 @anaconda
python-pip-wheel.noarch 20.2.2-1.fc33 @anaconda
python-setuptools-wheel.noarch 49.1.3-1.fc33 @anaconda
python3.x86_64 3.9.2-1.fc33 @koji-override-0
python3-dnf.noarch 4.5.2-1.fc33 @koji-override-0
python3-gpg.x86_64 1.14.0-2.fc33 @anaconda
python3-hawkey.x86_64 0.55.2-1.fc33 @koji-override-0
python3-libcomps.x86_64 0.1.15-5.fc33 @anaconda
python3-libdnf.x86_64 0.55.2-1.fc33 @koji-override-0
python3-libs.x86_64 3.9.2-1.fc33 @koji-override-0
python3-rpm.x86_64 4.16.1.2-1.fc33 @koji-override-0
readline.x86_64 8.0-5.fc33 @anaconda
rootfiles.noarch 8.1-28.fc33 @anaconda
rpm.x86_64 4.16.1.2-1.fc33 @koji-override-0
rpm-build-libs.x86_64 4.16.1.2-1.fc33 @koji-override-0
rpm-libs.x86_64 4.16.1.2-1.fc33 @koji-override-0
rpm-sign-libs.x86_64 4.16.1.2-1.fc33 @koji-override-0
sed.x86_64 4.8-5.fc33 @anaconda
setup.noarch 2.13.7-2.fc33 @anaconda
shadow-utils.x86_64 2:4.8.1-5.fc33 @koji-override-0
sqlite-libs.x86_64 3.34.1-1.fc33 @koji-override-0
sssd-client.x86_64 2.4.2-2.fc33 @koji-override-0
sudo.x86_64 1.9.5p2-1.fc33 @koji-override-0
systemd-libs.x86_64 246.10-1.fc33 @koji-override-0
tar.x86_64 2:1.32-6.fc33 @anaconda
tpm2-tss.x86_64 3.0.3-1.fc33 @koji-override-0
tzdata.noarch 2021a-1.fc33 @koji-override-0
util-linux.x86_64 2.36.1-1.fc33 @koji-override-0
vim-minimal.x86_64 2:8.2.2559-1.fc33 @koji-override-0
xz-libs.x86_64 5.2.5-4.fc33 @koji-override-0
yum.noarch 4.5.2-1.fc33 @koji-override-0
zchunk-libs.x86_64 1.1.9-1.fc33 @koji-override-0
zlib.x86_64 1.2.11-23.fc33 @koji-override-0
==== 重要: パッケージインストールの前に [nodocs] ====
**ワンポイントアドバイス**\\
WSL 2 (厳密には軽量ユーティリティ VM) や [[https://www.docker.io/|Docker]] などのコンテナ仮想化技術を利用する場合、コンテナの肥大化を防止するためにパッケージをインストールする際にパッケージマネージャがドキュメント類を除外するように指示することができる。\\
しかし、このことを知らないとコンテナの中で **man コマンド**などで説明が見られないなどように悩むことになるかもしれません🤔\\
ドキュメント類はネットで調べることも可能ですが、そのようなネット環境がない場合も考えられますので、ドキュメント類も通常どおりインストールする方法を記載しておきます😊\\
=== 通常の Linux ディストリビューションと同様にドキュメント類を常時インストールする方法 ===
Fedora では **dnf コマンド**の設定で [[https://dnf.readthedocs.io/en/latest/conf_ref.html?highlight=tsflags#main-options|tsflags]] で RPM トランザクションに **nodocs (RPMTRANS_FLAG_NODOCS)** を指示しないようにコメントアウトする。\\
$ sudo vi /etc/dnf/dnf.conf
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
best=False
skip_if_unavailable=True
#tsflags=nodocs
=== パッケージインストール時に個別にドキュメント類もインストールするように指示する方法 ===
基本は **dnf.conf** で **tsflags=nodocs** のままで、パッケージ毎に必要に応じてドキュメント類のインストールを指示するには、--setopt
オプションに空の tsflags
を指定して nodocs
RPM トランザクション フラグの指定を一時的に解除する。\\
$ sudo dnf install --setopt=tsflags='' man-db man-pages man-pages-ja -y
既にインストール済みのパッケージで、後からドキュメント類が必要になった場合は、以下の方法で再インストールする必要があります。(既に tsflags=nodocs
でインストールしたパッケージはドキュメント類自体が欠落して配置されているためです)\\
$ sudo dnf reinstall --setopt=tsflags='' man-db man-pages man-pages-ja -y
=== 付録 ===
[[tw>tomoyan596/status/1374428399616151564|「WSL 2のFedoraでmanこマンドが見られない...」 / Twitter]]\\
Fedora 以外のディストリビューションでは❓\\
[[qita>hiromitsu7/items/0788f2e2212224ac6825|コンテナ内でmanを読みたい - Qiita]]\\
==== デフォルトユーザーの作成 ====
**passwd** コマンドのインストールを行う。\\
# dnf install passwd cracklib-dicts
Fedora 33 openh264 (From Cisco) - x86_64 810 B/s | 2.5 kB 00:03
Fedora Modular 33 - x86_64 305 kB/s | 3.3 MB 00:10
Fedora Modular 33 - x86_64 - Updates 994 kB/s | 3.1 MB 00:03
Fedora 33 - x86_64 - Updates 1.2 MB/s | 25 MB 00:20
Fedora 33 - x86_64 1.3 MB/s | 72 MB 00:55
Dependencies resolved.
====================================================================================================
Package Architecture Version Repository Size
====================================================================================================
Installing:
cracklib-dicts x86_64 2.9.6-24.fc33 fedora 3.7 M
passwd x86_64 0.80-9.fc33 fedora 108 k
Installing dependencies:
libuser x86_64 0.62-26.fc33 fedora 384 k
Transaction Summary
====================================================================================================
Install 3 Packages
Total download size: 4.1 M
Installed size: 12 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): passwd-0.80-9.fc33.x86_64.rpm 235 kB/s | 108 kB 00:00
(2/3): libuser-0.62-26.fc33.x86_64.rpm 528 kB/s | 384 kB 00:00
(3/3): cracklib-dicts-2.9.6-24.fc33.x86_64.rpm 732 kB/s | 3.7 MB 00:05
----------------------------------------------------------------------------------------------------
Total 674 kB/s | 4.1 MB 00:06
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libuser-0.62-26.fc33.x86_64 1/3
Installing : passwd-0.80-9.fc33.x86_64 2/3
Installing : cracklib-dicts-2.9.6-24.fc33.x86_64 3/3
Running scriptlet: cracklib-dicts-2.9.6-24.fc33.x86_64 3/3
Verifying : cracklib-dicts-2.9.6-24.fc33.x86_64 1/3
Verifying : libuser-0.62-26.fc33.x86_64 2/3
Verifying : passwd-0.80-9.fc33.x86_64 3/3
Installed:
cracklib-dicts-2.9.6-24.fc33.x86_64 libuser-0.62-26.fc33.x86_64 passwd-0.80-9.fc33.x86_64
Complete!
デフォルトログインユーザーの作成。\\
# adduser tomoyan
# usermod -G wheel tomoyan
# passwd tomoyan
Changing password for user tomoyan.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
# id tomoyan
uid=1000(tomoyan) gid=1000(tomoyan) groups=1000(tomoyan),10(wheel)
WSL からログアウトする。\\
# exit
logout
==== デフォルトユーザーの設定[su, set-uid] ====
ディストリビューションのデフォルトユーザーを設定するには、以下の手順を実行する。\\
$ LxRunOffline su -n "Fedora" -v 1000
デフォルトユーザーの UID を確認する。\\
LxRunOffline gu -n "Fedora"
1000
ディストリビューションを起動する。\\
$ wsl --set-default Fedora
$ bash
[tomoyan@Cmon tomoyan]$
==== systemd のインストール ====
$ sudo dnf install systemd -y
Last metadata expiration check: 0:04:42 ago on Sun Mar 14 07:19:30 2021.
Dependencies resolved.
====================================================================================================
Package Architecture Version Repository Size
====================================================================================================
Installing:
systemd x86_64 246.10-1.fc33 updates 4.1 M
Installing dependencies:
acl x86_64 2.2.53-9.fc33 fedora 72 k
cryptsetup-libs x86_64 2.3.4-1.fc33 fedora 476 k
dbus x86_64 1:1.12.20-2.fc33 fedora 9.9 k
dbus-broker x86_64 27-2.fc33 updates 172 k
dbus-common noarch 1:1.12.20-2.fc33 fedora 17 k
device-mapper x86_64 1.02.173-1.fc33 fedora 142 k
device-mapper-libs x86_64 1.02.173-1.fc33 fedora 178 k
hwdata noarch 0.345-1.fc33 updates 1.5 M
iptables-libs x86_64 1.8.5-5.fc33 updates 367 k
kmod-libs x86_64 27-3.fc33 fedora 63 k
libargon2 x86_64 20171227-5.fc33 fedora 29 k
libcbor x86_64 0.5.0-7.fc33 fedora 46 k
libfido2 x86_64 1.4.0-3.fc33 fedora 66 k
libibverbs x86_64 33.0-2.fc33 updates 335 k
libmnl x86_64 1.0.4-12.fc33 fedora 28 k
libnetfilter_conntrack x86_64 1.0.7-5.fc33 fedora 62 k
libnfnetlink x86_64 1.0.1-18.fc33 fedora 29 k
libnl3 x86_64 3.5.0-5.fc33 fedora 325 k
libpcap x86_64 14:1.10.0-1.fc33 updates 176 k
libseccomp x86_64 2.5.0-3.fc33 fedora 72 k
pciutils x86_64 3.7.0-3.fc33 updates 93 k
pciutils-libs x86_64 3.7.0-3.fc33 updates 41 k
qrencode-libs x86_64 4.0.2-6.fc33 fedora 60 k
rdma-core x86_64 33.0-2.fc33 updates 56 k
systemd-pam x86_64 246.10-1.fc33 updates 307 k
systemd-rpm-macros noarch 246.10-1.fc33 updates 24 k
xkeyboard-config noarch 2.30-3.fc33 fedora 749 k
Installing weak dependencies:
diffutils x86_64 3.7-7.fc33 updates 390 k
libxkbcommon x86_64 1.0.1-1.fc33 fedora 134 k
systemd-networkd x86_64 246.10-1.fc33 updates 464 k
Transaction Summary
====================================================================================================
Install 31 Packages
Total download size: 10 M
Installed size: 39 M
Downloading Packages:
(1/31): dbus-broker-27-2.fc33.x86_64.rpm 163 kB/s | 172 kB 00:01
(2/31): diffutils-3.7-7.fc33.x86_64.rpm 161 kB/s | 390 kB 00:02
(3/31): hwdata-0.345-1.fc33.noarch.rpm 362 kB/s | 1.5 MB 00:04
(4/31): libibverbs-33.0-2.fc33.x86_64.rpm 122 kB/s | 335 kB 00:02
(5/31): libpcap-1.10.0-1.fc33.x86_64.rpm 144 kB/s | 176 kB 00:01
(6/31): pciutils-libs-3.7.0-3.fc33.x86_64.rpm 225 kB/s | 41 kB 00:00
(7/31): rdma-core-33.0-2.fc33.x86_64.rpm 210 kB/s | 56 kB 00:00
(8/31): pciutils-3.7.0-3.fc33.x86_64.rpm 140 kB/s | 93 kB 00:00
(9/31): iptables-libs-1.8.5-5.fc33.x86_64.rpm 43 kB/s | 367 kB 00:08
(10/31): systemd-networkd-246.10-1.fc33.x86_64.rpm 109 kB/s | 464 kB 00:04
(11/31): systemd-rpm-macros-246.10-1.fc33.noarch.rpm 115 kB/s | 24 kB 00:00
(12/31): systemd-246.10-1.fc33.x86_64.rpm 915 kB/s | 4.1 MB 00:04
(13/31): acl-2.2.53-9.fc33.x86_64.rpm 591 kB/s | 72 kB 00:00
(14/31): dbus-1.12.20-2.fc33.x86_64.rpm 50 kB/s | 9.9 kB 00:00
(15/31): systemd-pam-246.10-1.fc33.x86_64.rpm 244 kB/s | 307 kB 00:01
(16/31): dbus-common-1.12.20-2.fc33.noarch.rpm 99 kB/s | 17 kB 00:00
(17/31): cryptsetup-libs-2.3.4-1.fc33.x86_64.rpm 1.0 MB/s | 476 kB 00:00
(18/31): kmod-libs-27-3.fc33.x86_64.rpm 397 kB/s | 63 kB 00:00
(19/31): device-mapper-libs-1.02.173-1.fc33.x86_64.rpm 737 kB/s | 178 kB 00:00
(20/31): device-mapper-1.02.173-1.fc33.x86_64.rpm 451 kB/s | 142 kB 00:00
(21/31): libcbor-0.5.0-7.fc33.x86_64.rpm 509 kB/s | 46 kB 00:00
(22/31): libargon2-20171227-5.fc33.x86_64.rpm 177 kB/s | 29 kB 00:00
(23/31): libfido2-1.4.0-3.fc33.x86_64.rpm 484 kB/s | 66 kB 00:00
(24/31): libmnl-1.0.4-12.fc33.x86_64.rpm 229 kB/s | 28 kB 00:00
(25/31): libnetfilter_conntrack-1.0.7-5.fc33.x86_64.rpm 481 kB/s | 62 kB 00:00
(26/31): libnfnetlink-1.0.1-18.fc33.x86_64.rpm 300 kB/s | 29 kB 00:00
(27/31): libseccomp-2.5.0-3.fc33.x86_64.rpm 517 kB/s | 72 kB 00:00
(28/31): libxkbcommon-1.0.1-1.fc33.x86_64.rpm 544 kB/s | 134 kB 00:00
(29/31): libnl3-3.5.0-5.fc33.x86_64.rpm 849 kB/s | 325 kB 00:00
(30/31): qrencode-libs-4.0.2-6.fc33.x86_64.rpm 259 kB/s | 60 kB 00:00
(31/31): xkeyboard-config-2.30-3.fc33.noarch.rpm 944 kB/s | 749 kB 00:00
----------------------------------------------------------------------------------------------------
Total 773 kB/s | 10 MB 00:13
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libnl3-3.5.0-5.fc33.x86_64 1/31
Installing : kmod-libs-27-3.fc33.x86_64 2/31
Installing : xkeyboard-config-2.30-3.fc33.noarch 3/31
Installing : libxkbcommon-1.0.1-1.fc33.x86_64 4/31
Installing : qrencode-libs-4.0.2-6.fc33.x86_64 5/31
Installing : libseccomp-2.5.0-3.fc33.x86_64 6/31
Installing : libnfnetlink-1.0.1-18.fc33.x86_64 7/31
Installing : libmnl-1.0.4-12.fc33.x86_64 8/31
Installing : libnetfilter_conntrack-1.0.7-5.fc33.x86_64 9/31
Installing : libcbor-0.5.0-7.fc33.x86_64 10/31
Installing : libfido2-1.4.0-3.fc33.x86_64 11/31
Installing : libargon2-20171227-5.fc33.x86_64 12/31
Installing : acl-2.2.53-9.fc33.x86_64 13/31
Installing : systemd-rpm-macros-246.10-1.fc33.noarch 14/31
Installing : pciutils-libs-3.7.0-3.fc33.x86_64 15/31
Installing : hwdata-0.345-1.fc33.noarch 16/31
Installing : pciutils-3.7.0-3.fc33.x86_64 17/31
Installing : rdma-core-33.0-2.fc33.x86_64 18/31
Running scriptlet: rdma-core-33.0-2.fc33.x86_64 18/31
Installing : libibverbs-33.0-2.fc33.x86_64 19/31
Installing : libpcap-14:1.10.0-1.fc33.x86_64 20/31
Installing : iptables-libs-1.8.5-5.fc33.x86_64 21/31
Installing : diffutils-3.7-7.fc33.x86_64 22/31
Installing : device-mapper-1.02.173-1.fc33.x86_64 23/31
Installing : device-mapper-libs-1.02.173-1.fc33.x86_64 24/31
Installing : cryptsetup-libs-2.3.4-1.fc33.x86_64 25/31
Running scriptlet: systemd-networkd-246.10-1.fc33.x86_64 26/31
Installing : systemd-networkd-246.10-1.fc33.x86_64 26/31
Running scriptlet: systemd-networkd-246.10-1.fc33.x86_64 26/31
Installing : systemd-pam-246.10-1.fc33.x86_64 27/31
Installing : dbus-1:1.12.20-2.fc33.x86_64 28/31
Running scriptlet: systemd-246.10-1.fc33.x86_64 29/31
Installing : systemd-246.10-1.fc33.x86_64 29/31
Running scriptlet: systemd-246.10-1.fc33.x86_64 29/31
Installing : dbus-common-1:1.12.20-2.fc33.noarch 30/31
Running scriptlet: dbus-common-1:1.12.20-2.fc33.noarch 30/31
Created symlink /etc/systemd/system/sockets.target.wants/dbus.socket → /usr/lib/systemd/system/dbus.socket.
Created symlink /etc/systemd/user/sockets.target.wants/dbus.socket → /usr/lib/systemd/user/dbus.socket.
Running scriptlet: dbus-broker-27-2.fc33.x86_64 31/31
Installing : dbus-broker-27-2.fc33.x86_64 31/31
Running scriptlet: dbus-broker-27-2.fc33.x86_64 31/31
Created symlink /etc/systemd/system/dbus.service → /usr/lib/systemd/system/dbus-broker.service.
Created symlink /etc/systemd/user/dbus.service → /usr/lib/systemd/user/dbus-broker.service.
Verifying : dbus-broker-27-2.fc33.x86_64 1/31
Verifying : diffutils-3.7-7.fc33.x86_64 2/31
Verifying : hwdata-0.345-1.fc33.noarch 3/31
Verifying : iptables-libs-1.8.5-5.fc33.x86_64 4/31
Verifying : libibverbs-33.0-2.fc33.x86_64 5/31
Verifying : libpcap-14:1.10.0-1.fc33.x86_64 6/31
Verifying : pciutils-3.7.0-3.fc33.x86_64 7/31
Verifying : pciutils-libs-3.7.0-3.fc33.x86_64 8/31
Verifying : rdma-core-33.0-2.fc33.x86_64 9/31
Verifying : systemd-246.10-1.fc33.x86_64 10/31
Verifying : systemd-networkd-246.10-1.fc33.x86_64 11/31
Verifying : systemd-pam-246.10-1.fc33.x86_64 12/31
Verifying : systemd-rpm-macros-246.10-1.fc33.noarch 13/31
Verifying : acl-2.2.53-9.fc33.x86_64 14/31
Verifying : cryptsetup-libs-2.3.4-1.fc33.x86_64 15/31
Verifying : dbus-1:1.12.20-2.fc33.x86_64 16/31
Verifying : dbus-common-1:1.12.20-2.fc33.noarch 17/31
Verifying : device-mapper-1.02.173-1.fc33.x86_64 18/31
Verifying : device-mapper-libs-1.02.173-1.fc33.x86_64 19/31
Verifying : kmod-libs-27-3.fc33.x86_64 20/31
Verifying : libargon2-20171227-5.fc33.x86_64 21/31
Verifying : libcbor-0.5.0-7.fc33.x86_64 22/31
Verifying : libfido2-1.4.0-3.fc33.x86_64 23/31
Verifying : libmnl-1.0.4-12.fc33.x86_64 24/31
Verifying : libnetfilter_conntrack-1.0.7-5.fc33.x86_64 25/31
Verifying : libnfnetlink-1.0.1-18.fc33.x86_64 26/31
Verifying : libnl3-3.5.0-5.fc33.x86_64 27/31
Verifying : libseccomp-2.5.0-3.fc33.x86_64 28/31
Verifying : libxkbcommon-1.0.1-1.fc33.x86_64 29/31
Verifying : qrencode-libs-4.0.2-6.fc33.x86_64 30/31
Verifying : xkeyboard-config-2.30-3.fc33.noarch 31/31
Installed:
acl-2.2.53-9.fc33.x86_64 cryptsetup-libs-2.3.4-1.fc33.x86_64
dbus-1:1.12.20-2.fc33.x86_64 dbus-broker-27-2.fc33.x86_64
dbus-common-1:1.12.20-2.fc33.noarch device-mapper-1.02.173-1.fc33.x86_64
device-mapper-libs-1.02.173-1.fc33.x86_64 diffutils-3.7-7.fc33.x86_64
hwdata-0.345-1.fc33.noarch iptables-libs-1.8.5-5.fc33.x86_64
kmod-libs-27-3.fc33.x86_64 libargon2-20171227-5.fc33.x86_64
libcbor-0.5.0-7.fc33.x86_64 libfido2-1.4.0-3.fc33.x86_64
libibverbs-33.0-2.fc33.x86_64 libmnl-1.0.4-12.fc33.x86_64
libnetfilter_conntrack-1.0.7-5.fc33.x86_64 libnfnetlink-1.0.1-18.fc33.x86_64
libnl3-3.5.0-5.fc33.x86_64 libpcap-14:1.10.0-1.fc33.x86_64
libseccomp-2.5.0-3.fc33.x86_64 libxkbcommon-1.0.1-1.fc33.x86_64
pciutils-3.7.0-3.fc33.x86_64 pciutils-libs-3.7.0-3.fc33.x86_64
qrencode-libs-4.0.2-6.fc33.x86_64 rdma-core-33.0-2.fc33.x86_64
systemd-246.10-1.fc33.x86_64 systemd-networkd-246.10-1.fc33.x86_64
systemd-pam-246.10-1.fc33.x86_64 systemd-rpm-macros-246.10-1.fc33.noarch
xkeyboard-config-2.30-3.fc33.noarch
Complete!
==== 日本語環境の設定 ====
**langpacks-ja** パッケージのインストールを行う。\\
$ sudo dnf install langpacks-ja -y
Last metadata expiration check: 0:06:43 ago on Sun Mar 14 07:19:30 2021.
Dependencies resolved.
====================================================================================================
Package Architecture Version Repository Size
====================================================================================================
Installing:
langpacks-ja noarch 3.0-4.fc33 fedora 9.6 k
Installing dependencies:
google-noto-cjk-fonts-common noarch 20190416-7.fc33 fedora 20 k
google-noto-sans-cjk-ttc-fonts noarch 20190416-7.fc33 fedora 86 M
langpacks-core-font-ja noarch 3.0-4.fc33 fedora 9.6 k
langpacks-core-ja noarch 3.0-4.fc33 fedora 9.6 k
Installing weak dependencies:
glibc-langpack-ja x86_64 2.32-4.fc33 updates 432 k
google-noto-serif-cjk-ttc-fonts noarch 20190416-7.fc33 fedora 108 M
Transaction Summary
====================================================================================================
Install 7 Packages
Total download size: 194 M
Installed size: 297 M
Downloading Packages:
(1/7): google-noto-cjk-fonts-common-20190416-7.fc33.noarch.rpm 74 kB/s | 20 kB 00:00
(2/7): glibc-langpack-ja-2.32-4.fc33.x86_64.rpm 598 kB/s | 432 kB 00:00
(3/7): langpacks-core-font-ja-3.0-4.fc33.noarch.rpm 48 kB/s | 9.6 kB 00:00
(4/7): langpacks-core-ja-3.0-4.fc33.noarch.rpm 64 kB/s | 9.6 kB 00:00
(5/7): langpacks-ja-3.0-4.fc33.noarch.rpm 76 kB/s | 9.6 kB 00:00
(6/7): google-noto-sans-cjk-ttc-fonts-20190416-7.fc33.noarch.rpm 886 kB/s | 86 MB 01:38
(7/7): google-noto-serif-cjk-ttc-fonts-20190416-7.fc33.noarch.rpm 1.0 MB/s | 108 MB 01:49
----------------------------------------------------------------------------------------------------
Total 1.7 MB/s | 194 MB 01:50
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : google-noto-cjk-fonts-common-20190416-7.fc33.noarch 1/7
Installing : google-noto-sans-cjk-ttc-fonts-20190416-7.fc33.noarch 2/7
Installing : langpacks-core-font-ja-3.0-4.fc33.noarch 3/7
Installing : google-noto-serif-cjk-ttc-fonts-20190416-7.fc33.noarch 4/7
Installing : glibc-langpack-ja-2.32-4.fc33.x86_64 5/7
Installing : langpacks-core-ja-3.0-4.fc33.noarch 6/7
Installing : langpacks-ja-3.0-4.fc33.noarch 7/7
Running scriptlet: langpacks-ja-3.0-4.fc33.noarch 7/7
Verifying : glibc-langpack-ja-2.32-4.fc33.x86_64 1/7
Verifying : google-noto-cjk-fonts-common-20190416-7.fc33.noarch 2/7
Verifying : google-noto-sans-cjk-ttc-fonts-20190416-7.fc33.noarch 3/7
Verifying : google-noto-serif-cjk-ttc-fonts-20190416-7.fc33.noarch 4/7
Verifying : langpacks-core-font-ja-3.0-4.fc33.noarch 5/7
Verifying : langpacks-core-ja-3.0-4.fc33.noarch 6/7
Verifying : langpacks-ja-3.0-4.fc33.noarch 7/7
Installed:
glibc-langpack-ja-2.32-4.fc33.x86_64
google-noto-cjk-fonts-common-20190416-7.fc33.noarch
google-noto-sans-cjk-ttc-fonts-20190416-7.fc33.noarch
google-noto-serif-cjk-ttc-fonts-20190416-7.fc33.noarch
langpacks-core-font-ja-3.0-4.fc33.noarch
langpacks-core-ja-3.0-4.fc33.noarch
langpacks-ja-3.0-4.fc33.noarch
Complete!
==== WSL 2 の systemd 問題 ====
システムロケール設定を **ja_JP.UTF-8** に変更する。\\
$ sudo localectl set-locale LANG=ja_JP.UTF-8
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
システムは、initd システム (PID 1) なので systemd として起動されていません。操作できません。
バスへの接続に失敗しました: ホストがダウンしています
※**systemd** が起動していないため、システムロケール設定を変更できない。\\
[[https://github.com/arkane-systems/genie|genie]] をインストールして **systemd** を動作させる。\\
==== genie のインストールに必要なパッケージをインストール ====
**git make dnf-plugins-core daemonize dotnet-sdk** のインストールを行う。\\
$ sudo dnf install git make hostname systemd-container dnf-plugins-core daemonize dotnet-sdk-5.0 -y
Last metadata expiration check: 0:42:07 ago on Tue Mar 23 06:18:06 2021.
Dependencies resolved.
====================================================================================================
Package Arch Version Repository Size
====================================================================================================
Installing:
daemonize x86_64 1.7.7-11.fc33 fedora 24 k
dnf-plugins-core noarch 4.0.18-1.fc33 updates 34 k
dotnet-sdk-5.0 x86_64 5.0.103-1.fc33 updates 49 M
git x86_64 2.30.2-1.fc33 updates 121 k
hostname x86_64 3.23-3.fc33 fedora 28 k
make x86_64 1:4.3-2.fc33 fedora 539 k
systemd-container x86_64 246.10-1.fc33 updates 494 k
Installing dependencies:
aspnetcore-runtime-5.0 x86_64 5.0.3-1.fc33 updates 6.6 M
aspnetcore-targeting-pack-5.0 x86_64 5.0.3-1.fc33 updates 1.4 M
dotnet-apphost-pack-5.0 x86_64 5.0.3-1.fc33 updates 3.8 M
dotnet-host x86_64 5.0.3-1.fc33 updates 104 k
dotnet-hostfxr-5.0 x86_64 5.0.3-1.fc33 updates 153 k
dotnet-runtime-5.0 x86_64 5.0.3-1.fc33 updates 27 M
dotnet-targeting-pack-5.0 x86_64 5.0.3-1.fc33 updates 2.1 M
dotnet-templates-5.0 x86_64 5.0.103-1.fc33 updates 1.7 M
emacs-filesystem noarch 1:27.1-2.fc33 fedora 8.2 k
gc x86_64 8.0.4-4.fc33 fedora 104 k
git-core x86_64 2.30.2-1.fc33 updates 3.7 M
git-core-doc noarch 2.30.2-1.fc33 updates 2.3 M
groff-base x86_64 1.22.4-4.fc33 updates 1.1 M
guile22 x86_64 2.2.7-1.fc33 updates 6.5 M
less x86_64 551-4.fc33 fedora 154 k
libedit x86_64 3.1-33.20191231cvs.fc33 fedora 106 k
libicu x86_64 67.1-4.fc33 fedora 9.7 M
libtool-ltdl x86_64 2.4.6-36.fc33 fedora 36 k
libunwind x86_64 1.4.0-4.fc33 fedora 65 k
lttng-ust x86_64 2.12.0-3.fc33 fedora 287 k
ncurses x86_64 6.2-3.20200222.fc33 fedora 395 k
netstandard-targeting-pack-2.1 x86_64 5.0.103-1.fc33 updates 1.3 M
numactl-libs x86_64 2.0.14-1.fc33 fedora 30 k
openssh x86_64 8.4p1-5.fc33 updates 419 k
openssh-clients x86_64 8.4p1-5.fc33 updates 611 k
perl-AutoLoader noarch 5.74-468.fc33 updates 32 k
perl-B x86_64 1.80-468.fc33 updates 192 k
perl-Carp noarch 1.50-457.fc33 fedora 29 k
perl-Class-Struct noarch 0.66-468.fc33 updates 33 k
perl-Data-Dumper x86_64 2.174-459.fc33 fedora 56 k
perl-Digest noarch 1.19-1.fc33 updates 26 k
perl-Digest-MD5 x86_64 2.58-1.fc33 updates 36 k
perl-DynaLoader x86_64 1.47-468.fc33 updates 40 k
perl-Encode x86_64 4:3.08-458.fc33 updates 1.7 M
perl-Errno x86_64 1.30-468.fc33 updates 26 k
perl-Error noarch 1:0.17029-4.fc33 fedora 42 k
perl-Exporter noarch 5.74-458.fc33 fedora 32 k
perl-Fcntl x86_64 1.13-468.fc33 updates 32 k
perl-File-Basename noarch 2.85-468.fc33 updates 28 k
perl-File-Find noarch 1.37-468.fc33 updates 36 k
perl-File-Path noarch 2.18-1.fc33 updates 36 k
perl-File-Temp noarch 1:0.231.100-1.fc33 updates 60 k
perl-File-stat noarch 1.09-468.fc33 updates 28 k
perl-FileHandle noarch 2.03-468.fc33 updates 26 k
perl-Getopt-Long noarch 1:2.52-1.fc33 fedora 60 k
perl-Getopt-Std noarch 1.12-468.fc33 updates 26 k
perl-Git noarch 2.30.2-1.fc33 updates 43 k
perl-HTTP-Tiny noarch 0.076-457.fc33 fedora 55 k
perl-IO x86_64 1.43-468.fc33 updates 98 k
perl-IPC-Open3 noarch 1.21-468.fc33 updates 34 k
perl-MIME-Base64 x86_64 3.16-1.fc33 fedora 30 k
perl-Net-SSLeay x86_64 1.88-9.fc33 fedora 352 k
perl-POSIX x86_64 1.94-468.fc33 updates 110 k
perl-PathTools x86_64 3.78-458.fc33 updates 85 k
perl-Pod-Escapes noarch 1:1.07-457.fc33 fedora 20 k
perl-Pod-Perldoc noarch 3.28.01-458.fc33 fedora 84 k
perl-Pod-Simple noarch 1:3.42-1.fc33 updates 216 k
perl-Pod-Usage noarch 4:2.01-1.fc33 updates 41 k
perl-Scalar-List-Utils x86_64 4:1.55-457.fc33 fedora 70 k
perl-SelectSaver noarch 1.02-468.fc33 updates 23 k
perl-Socket x86_64 4:2.031-1.fc33 updates 56 k
perl-Storable x86_64 1:3.21-457.fc33 fedora 97 k
perl-Symbol noarch 1.08-468.fc33 updates 25 k
perl-Term-ANSIColor noarch 5.01-458.fc33 fedora 49 k
perl-Term-Cap noarch 1.17-457.fc33 fedora 22 k
perl-TermReadKey x86_64 2.38-8.fc33 fedora 36 k
perl-Text-ParseWords noarch 3.30-457.fc33 fedora 16 k
perl-Text-Tabs+Wrap noarch 2013.0523-457.fc33 fedora 23 k
perl-Time-Local noarch 2:1.300-4.fc33 fedora 34 k
perl-URI noarch 1.76-9.fc33 fedora 108 k
perl-base noarch 2.27-468.fc33 updates 27 k
perl-constant noarch 1.33-458.fc33 fedora 23 k
perl-if noarch 0.60.800-468.fc33 updates 25 k
perl-interpreter x86_64 4:5.32.1-468.fc33 updates 83 k
perl-lib x86_64 0.65-468.fc33 updates 26 k
perl-libnet noarch 3.13-1.fc33 updates 126 k
perl-libs x86_64 4:5.32.1-468.fc33 updates 2.1 M
perl-macros noarch 4:5.32.1-468.fc33 updates 22 k
perl-mro x86_64 1.23-468.fc33 updates 39 k
perl-overload noarch 1.31-468.fc33 updates 57 k
perl-overloading noarch 0.02-468.fc33 updates 24 k
perl-parent noarch 1:0.238-457.fc33 fedora 14 k
perl-podlators noarch 1:4.14-457.fc33 fedora 113 k
perl-subs noarch 1.03-468.fc33 updates 23 k
perl-vars noarch 1.05-468.fc33 updates 24 k
python3-dateutil noarch 1:2.8.1-2.fc33 fedora 289 k
python3-distro noarch 1.5.0-4.fc33 fedora 36 k
python3-dnf-plugins-core noarch 4.0.18-1.fc33 updates 191 k
python3-setuptools noarch 49.1.3-1.fc33 fedora 844 k
python3-six noarch 1.15.0-2.fc33 fedora 36 k
userspace-rcu x86_64 0.12.1-2.fc33 fedora 105 k
Installing weak dependencies:
perl-IO-Socket-IP noarch 0.41-2.fc33 fedora 43 k
perl-IO-Socket-SSL noarch 2.068-3.fc33 fedora 216 k
perl-Mozilla-CA noarch 20200520-3.fc33 fedora 12 k
perl-NDBM_File x86_64 1.15-468.fc33 updates 33 k
Transaction Summary
====================================================================================================
Install 102 Packages
Total download size: 128 M
Installed size: 495 M
Downloading Packages:
(1/102): dnf-plugins-core-4.0.18-1.fc33.noarch.rpm 55 kB/s | 34 kB 00:00
(2/102): aspnetcore-targeting-pack-5.0-5.0.3-1.fc33.x86_64.rpm 237 kB/s | 1.4 MB 00:05
(3/102): dotnet-host-5.0.3-1.fc33.x86_64.rpm 203 kB/s | 104 kB 00:00
(4/102): dotnet-hostfxr-5.0-5.0.3-1.fc33.x86_64.rpm 267 kB/s | 153 kB 00:00
(5/102): dotnet-apphost-pack-5.0-5.0.3-1.fc33.x86_64.rpm 451 kB/s | 3.8 MB 00:08
(6/102): aspnetcore-runtime-5.0-5.0.3-1.fc33.x86_64.rpm 408 kB/s | 6.6 MB 00:16
(7/102): dotnet-targeting-pack-5.0-5.0.3-1.fc33.x86_64.rpm 779 kB/s | 2.1 MB 00:02
(8/102): dotnet-templates-5.0-5.0.103-1.fc33.x86_64.rpm 735 kB/s | 1.7 MB 00:02
(9/102): git-2.30.2-1.fc33.x86_64.rpm 432 kB/s | 121 kB 00:00
(10/102): git-core-2.30.2-1.fc33.x86_64.rpm 674 kB/s | 3.7 MB 00:05
(11/102): git-core-doc-2.30.2-1.fc33.noarch.rpm 736 kB/s | 2.3 MB 00:03
(12/102): groff-base-1.22.4-4.fc33.x86_64.rpm 741 kB/s | 1.1 MB 00:01
(13/102): guile22-2.2.7-1.fc33.x86_64.rpm 611 kB/s | 6.5 MB 00:10
(14/102): netstandard-targeting-pack-2.1-5.0.103-1.fc33.x86_64.rpm 622 kB/s | 1.3 MB 00:02
(15/102): openssh-8.4p1-5.fc33.x86_64.rpm 639 kB/s | 419 kB 00:00
(16/102): openssh-clients-8.4p1-5.fc33.x86_64.rpm 605 kB/s | 611 kB 00:01
(17/102): perl-AutoLoader-5.74-468.fc33.noarch.rpm 208 kB/s | 32 kB 00:00
(18/102): perl-B-1.80-468.fc33.x86_64.rpm 562 kB/s | 192 kB 00:00
(19/102): perl-Class-Struct-0.66-468.fc33.noarch.rpm 185 kB/s | 33 kB 00:00
(20/102): perl-Digest-1.19-1.fc33.noarch.rpm 197 kB/s | 26 kB 00:00
(21/102): perl-Digest-MD5-2.58-1.fc33.x86_64.rpm 261 kB/s | 36 kB 00:00
(22/102): perl-DynaLoader-1.47-468.fc33.x86_64.rpm 201 kB/s | 40 kB 00:00
(23/102): perl-Encode-3.08-458.fc33.x86_64.rpm 638 kB/s | 1.7 MB 00:02
(24/102): perl-Errno-1.30-468.fc33.x86_64.rpm 158 kB/s | 26 kB 00:00
(25/102): dotnet-runtime-5.0-5.0.3-1.fc33.x86_64.rpm 613 kB/s | 27 MB 00:44
(26/102): perl-Fcntl-1.13-468.fc33.x86_64.rpm 100 kB/s | 32 kB 00:00
(27/102): perl-File-Find-1.37-468.fc33.noarch.rpm 516 kB/s | 36 kB 00:00
(28/102): perl-File-Basename-2.85-468.fc33.noarch.rpm 326 kB/s | 28 kB 00:00
(29/102): perl-File-Path-2.18-1.fc33.noarch.rpm 289 kB/s | 36 kB 00:00
(30/102): perl-File-Temp-0.231.100-1.fc33.noarch.rpm 539 kB/s | 60 kB 00:00
(31/102): perl-File-stat-1.09-468.fc33.noarch.rpm 351 kB/s | 28 kB 00:00
(32/102): perl-FileHandle-2.03-468.fc33.noarch.rpm 323 kB/s | 26 kB 00:00
(33/102): perl-Getopt-Std-1.12-468.fc33.noarch.rpm 375 kB/s | 26 kB 00:00
(34/102): perl-Git-2.30.2-1.fc33.noarch.rpm 440 kB/s | 43 kB 00:00
(35/102): perl-IO-1.43-468.fc33.x86_64.rpm 870 kB/s | 98 kB 00:00
(36/102): perl-IPC-Open3-1.21-468.fc33.noarch.rpm 379 kB/s | 34 kB 00:00
(37/102): perl-NDBM_File-1.15-468.fc33.x86_64.rpm 342 kB/s | 33 kB 00:00
(38/102): perl-POSIX-1.94-468.fc33.x86_64.rpm 964 kB/s | 110 kB 00:00
(39/102): perl-PathTools-3.78-458.fc33.x86_64.rpm 753 kB/s | 85 kB 00:00
(40/102): perl-Pod-Simple-3.42-1.fc33.noarch.rpm 925 kB/s | 216 kB 00:00
(41/102): perl-Pod-Usage-2.01-1.fc33.noarch.rpm 259 kB/s | 41 kB 00:00
(42/102): perl-SelectSaver-1.02-468.fc33.noarch.rpm 308 kB/s | 23 kB 00:00
(43/102): perl-Socket-2.031-1.fc33.x86_64.rpm 664 kB/s | 56 kB 00:00
(44/102): perl-Symbol-1.08-468.fc33.noarch.rpm 395 kB/s | 25 kB 00:00
(45/102): perl-base-2.27-468.fc33.noarch.rpm 377 kB/s | 27 kB 00:00
(46/102): perl-if-0.60.800-468.fc33.noarch.rpm 406 kB/s | 25 kB 00:00
(47/102): perl-interpreter-5.32.1-468.fc33.x86_64.rpm 953 kB/s | 83 kB 00:00
(48/102): perl-lib-0.65-468.fc33.x86_64.rpm 315 kB/s | 26 kB 00:00
(49/102): perl-libnet-3.13-1.fc33.noarch.rpm 538 kB/s | 126 kB 00:00
(50/102): perl-macros-5.32.1-468.fc33.noarch.rpm 129 kB/s | 22 kB 00:00
(51/102): perl-mro-1.23-468.fc33.x86_64.rpm 270 kB/s | 39 kB 00:00
(52/102): perl-overload-1.31-468.fc33.noarch.rpm 453 kB/s | 57 kB 00:00
(53/102): perl-overloading-0.02-468.fc33.noarch.rpm 174 kB/s | 24 kB 00:00
(54/102): perl-subs-1.03-468.fc33.noarch.rpm 177 kB/s | 23 kB 00:00
(55/102): perl-vars-1.05-468.fc33.noarch.rpm 215 kB/s | 24 kB 00:00
(56/102): python3-dnf-plugins-core-4.0.18-1.fc33.noarch.rpm 667 kB/s | 191 kB 00:00
(57/102): perl-libs-5.32.1-468.fc33.x86_64.rpm 1.1 MB/s | 2.1 MB 00:01
(58/102): systemd-container-246.10-1.fc33.x86_64.rpm 829 kB/s | 494 kB 00:00
(59/102): emacs-filesystem-27.1-2.fc33.noarch.rpm 164 kB/s | 8.2 kB 00:00
(60/102): daemonize-1.7.7-11.fc33.x86_64.rpm 262 kB/s | 24 kB 00:00
(61/102): gc-8.0.4-4.fc33.x86_64.rpm 1.1 MB/s | 104 kB 00:00
(62/102): hostname-3.23-3.fc33.x86_64.rpm 183 kB/s | 28 kB 00:00
(63/102): less-551-4.fc33.x86_64.rpm 768 kB/s | 154 kB 00:00
(64/102): libedit-3.1-33.20191231cvs.fc33.x86_64.rpm 856 kB/s | 106 kB 00:00
(65/102): libtool-ltdl-2.4.6-36.fc33.x86_64.rpm 357 kB/s | 36 kB 00:00
(66/102): libunwind-1.4.0-4.fc33.x86_64.rpm 408 kB/s | 65 kB 00:00
(67/102): lttng-ust-2.12.0-3.fc33.x86_64.rpm 622 kB/s | 287 kB 00:00
(68/102): make-4.3-2.fc33.x86_64.rpm 692 kB/s | 539 kB 00:00
(69/102): ncurses-6.2-3.20200222.fc33.x86_64.rpm 772 kB/s | 395 kB 00:00
(70/102): numactl-libs-2.0.14-1.fc33.x86_64.rpm 211 kB/s | 30 kB 00:00
(71/102): perl-Carp-1.50-457.fc33.noarch.rpm 384 kB/s | 29 kB 00:00
(72/102): perl-Data-Dumper-2.174-459.fc33.x86_64.rpm 478 kB/s | 56 kB 00:00
(73/102): perl-Error-0.17029-4.fc33.noarch.rpm 294 kB/s | 42 kB 00:00
(74/102): perl-Exporter-5.74-458.fc33.noarch.rpm 196 kB/s | 32 kB 00:00
(75/102): perl-Getopt-Long-2.52-1.fc33.noarch.rpm 415 kB/s | 60 kB 00:00
(76/102): perl-HTTP-Tiny-0.076-457.fc33.noarch.rpm 425 kB/s | 55 kB 00:00
(77/102): perl-IO-Socket-IP-0.41-2.fc33.noarch.rpm 174 kB/s | 43 kB 00:00
(78/102): perl-IO-Socket-SSL-2.068-3.fc33.noarch.rpm 654 kB/s | 216 kB 00:00
(79/102): perl-MIME-Base64-3.16-1.fc33.x86_64.rpm 322 kB/s | 30 kB 00:00
(80/102): perl-Mozilla-CA-20200520-3.fc33.noarch.rpm 94 kB/s | 12 kB 00:00
(81/102): perl-Net-SSLeay-1.88-9.fc33.x86_64.rpm 664 kB/s | 352 kB 00:00
(82/102): perl-Pod-Escapes-1.07-457.fc33.noarch.rpm 245 kB/s | 20 kB 00:00
(83/102): perl-Pod-Perldoc-3.28.01-458.fc33.noarch.rpm 421 kB/s | 84 kB 00:00
(84/102): perl-Scalar-List-Utils-1.55-457.fc33.x86_64.rpm 311 kB/s | 70 kB 00:00
(85/102): perl-Storable-3.21-457.fc33.x86_64.rpm 428 kB/s | 97 kB 00:00
(86/102): perl-Term-ANSIColor-5.01-458.fc33.noarch.rpm 283 kB/s | 49 kB 00:00
(87/102): perl-Term-Cap-1.17-457.fc33.noarch.rpm 131 kB/s | 22 kB 00:00
(88/102): perl-TermReadKey-2.38-8.fc33.x86_64.rpm 179 kB/s | 36 kB 00:00
(89/102): perl-Text-ParseWords-3.30-457.fc33.noarch.rpm 89 kB/s | 16 kB 00:00
(90/102): perl-Text-Tabs+Wrap-2013.0523-457.fc33.noarch.rpm 156 kB/s | 23 kB 00:00
(91/102): perl-Time-Local-1.300-4.fc33.noarch.rpm 245 kB/s | 34 kB 00:00
(92/102): perl-URI-1.76-9.fc33.noarch.rpm 632 kB/s | 108 kB 00:00
(93/102): perl-constant-1.33-458.fc33.noarch.rpm 155 kB/s | 23 kB 00:00
(94/102): perl-parent-0.238-457.fc33.noarch.rpm 92 kB/s | 14 kB 00:00
(95/102): perl-podlators-4.14-457.fc33.noarch.rpm 459 kB/s | 113 kB 00:00
(96/102): python3-dateutil-2.8.1-2.fc33.noarch.rpm 739 kB/s | 289 kB 00:00
(97/102): python3-distro-1.5.0-4.fc33.noarch.rpm 293 kB/s | 36 kB 00:00
(98/102): python3-setuptools-49.1.3-1.fc33.noarch.rpm 755 kB/s | 844 kB 00:01
(99/102): python3-six-1.15.0-2.fc33.noarch.rpm 271 kB/s | 36 kB 00:00
(100/102): userspace-rcu-0.12.1-2.fc33.x86_64.rpm 626 kB/s | 105 kB 00:00
(101/102): libicu-67.1-4.fc33.x86_64.rpm 1.0 MB/s | 9.7 MB 00:09
(102/102): dotnet-sdk-5.0-5.0.103-1.fc33.x86_64.rpm 785 kB/s | 49 MB 01:03
----------------------------------------------------------------------------------------------------
Total 1.7 MB/s | 128 MB 01:15
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : dotnet-host-5.0.3-1.fc33.x86_64 1/102
Installing : libunwind-1.4.0-4.fc33.x86_64 2/102
Installing : dotnet-apphost-pack-5.0-5.0.3-1.fc33.x86_64 3/102
Installing : aspnetcore-targeting-pack-5.0-5.0.3-1.fc33.x86_64 4/102
Installing : dotnet-hostfxr-5.0-5.0.3-1.fc33.x86_64 5/102
Installing : dotnet-targeting-pack-5.0-5.0.3-1.fc33.x86_64 6/102
Installing : dotnet-templates-5.0-5.0.103-1.fc33.x86_64 7/102
Installing : netstandard-targeting-pack-2.1-5.0.103-1.fc33.x86_64 8/102
Installing : userspace-rcu-0.12.1-2.fc33.x86_64 9/102
Installing : python3-six-1.15.0-2.fc33.noarch 10/102
Installing : python3-dateutil-1:2.8.1-2.fc33.noarch 11/102
Installing : python3-setuptools-49.1.3-1.fc33.noarch 12/102
Installing : python3-distro-1.5.0-4.fc33.noarch 13/102
Installing : python3-dnf-plugins-core-4.0.18-1.fc33.noarch 14/102
Installing : numactl-libs-2.0.14-1.fc33.x86_64 15/102
Installing : lttng-ust-2.12.0-3.fc33.x86_64 16/102
Installing : ncurses-6.2-3.20200222.fc33.x86_64 17/102
Installing : libtool-ltdl-2.4.6-36.fc33.x86_64 18/102
Installing : libicu-67.1-4.fc33.x86_64 19/102
Installing : dotnet-runtime-5.0-5.0.3-1.fc33.x86_64 20/102
Installing : aspnetcore-runtime-5.0-5.0.3-1.fc33.x86_64 21/102
Installing : libedit-3.1-33.20191231cvs.fc33.x86_64 22/102
Installing : less-551-4.fc33.x86_64 23/102
Installing : gc-8.0.4-4.fc33.x86_64 24/102
Installing : guile22-2.2.7-1.fc33.x86_64 25/102
Installing : emacs-filesystem-1:27.1-2.fc33.noarch 26/102
Running scriptlet: openssh-8.4p1-5.fc33.x86_64 27/102
Installing : openssh-8.4p1-5.fc33.x86_64 27/102
Installing : openssh-clients-8.4p1-5.fc33.x86_64 28/102
Installing : git-core-2.30.2-1.fc33.x86_64 29/102
Installing : git-core-doc-2.30.2-1.fc33.noarch 30/102
Running scriptlet: groff-base-1.22.4-4.fc33.x86_64 31/102
Installing : groff-base-1.22.4-4.fc33.x86_64 31/102
Running scriptlet: groff-base-1.22.4-4.fc33.x86_64 31/102
Installing : perl-Digest-1.19-1.fc33.noarch 32/102
Installing : perl-Digest-MD5-2.58-1.fc33.x86_64 33/102
Installing : perl-FileHandle-2.03-468.fc33.noarch 34/102
Installing : perl-B-1.80-468.fc33.x86_64 35/102
Installing : perl-AutoLoader-5.74-468.fc33.noarch 36/102
Installing : perl-Data-Dumper-2.174-459.fc33.x86_64 37/102
Installing : perl-libnet-3.13-1.fc33.noarch 38/102
Installing : perl-base-2.27-468.fc33.noarch 39/102
Installing : perl-Net-SSLeay-1.88-9.fc33.x86_64 40/102
Installing : perl-URI-1.76-9.fc33.noarch 41/102
Installing : perl-if-0.60.800-468.fc33.noarch 42/102
Installing : perl-Pod-Escapes-1:1.07-457.fc33.noarch 43/102
Installing : perl-Text-Tabs+Wrap-2013.0523-457.fc33.noarch 44/102
Installing : perl-File-Path-2.18-1.fc33.noarch 45/102
Installing : perl-Mozilla-CA-20200520-3.fc33.noarch 46/102
Installing : perl-IO-Socket-IP-0.41-2.fc33.noarch 47/102
Installing : perl-Time-Local-2:1.300-4.fc33.noarch 48/102
Installing : perl-IO-Socket-SSL-2.068-3.fc33.noarch 49/102
Installing : perl-subs-1.03-468.fc33.noarch 50/102
Installing : perl-Class-Struct-0.66-468.fc33.noarch 51/102
Installing : perl-POSIX-1.94-468.fc33.x86_64 52/102
Installing : perl-Term-ANSIColor-5.01-458.fc33.noarch 53/102
Installing : perl-Term-Cap-1.17-457.fc33.noarch 54/102
Installing : perl-IPC-Open3-1.21-468.fc33.noarch 55/102
Installing : perl-File-Temp-1:0.231.100-1.fc33.noarch 56/102
Installing : perl-HTTP-Tiny-0.076-457.fc33.noarch 57/102
Installing : perl-Pod-Simple-1:3.42-1.fc33.noarch 58/102
Installing : perl-Symbol-1.08-468.fc33.noarch 59/102
Installing : perl-SelectSaver-1.02-468.fc33.noarch 60/102
Installing : perl-Socket-4:2.031-1.fc33.x86_64 61/102
Installing : perl-File-stat-1.09-468.fc33.noarch 62/102
Installing : perl-podlators-1:4.14-457.fc33.noarch 63/102
Installing : perl-Pod-Perldoc-3.28.01-458.fc33.noarch 64/102
Installing : perl-mro-1.23-468.fc33.x86_64 65/102
Installing : perl-Fcntl-1.13-468.fc33.x86_64 66/102
Installing : perl-overloading-0.02-468.fc33.noarch 67/102
Installing : perl-Text-ParseWords-3.30-457.fc33.noarch 68/102
Installing : perl-IO-1.43-468.fc33.x86_64 69/102
Installing : perl-Pod-Usage-4:2.01-1.fc33.noarch 70/102
Installing : perl-Getopt-Std-1.12-468.fc33.noarch 71/102
Installing : perl-Errno-1.30-468.fc33.x86_64 72/102
Installing : perl-File-Basename-2.85-468.fc33.noarch 73/102
Installing : perl-vars-1.05-468.fc33.noarch 74/102
Installing : perl-MIME-Base64-3.16-1.fc33.x86_64 75/102
Installing : perl-overload-1.31-468.fc33.noarch 76/102
Installing : perl-Scalar-List-Utils-4:1.55-457.fc33.x86_64 77/102
Installing : perl-Storable-1:3.21-457.fc33.x86_64 78/102
Installing : perl-constant-1.33-458.fc33.noarch 79/102
Installing : perl-parent-1:0.238-457.fc33.noarch 80/102
Installing : perl-Getopt-Long-1:2.52-1.fc33.noarch 81/102
Installing : perl-NDBM_File-1.15-468.fc33.x86_64 82/102
Installing : perl-Carp-1.50-457.fc33.noarch 83/102
Installing : perl-Exporter-5.74-458.fc33.noarch 84/102
Installing : perl-PathTools-3.78-458.fc33.x86_64 85/102
Installing : perl-Encode-4:3.08-458.fc33.x86_64 86/102
Installing : perl-libs-4:5.32.1-468.fc33.x86_64 87/102
Installing : perl-macros-4:5.32.1-468.fc33.noarch 88/102
Installing : perl-interpreter-4:5.32.1-468.fc33.x86_64 89/102
Installing : perl-DynaLoader-1.47-468.fc33.x86_64 90/102
Installing : perl-TermReadKey-2.38-8.fc33.x86_64 91/102
Installing : perl-File-Find-1.37-468.fc33.noarch 92/102
Installing : perl-lib-0.65-468.fc33.x86_64 93/102
Installing : perl-Error-1:0.17029-4.fc33.noarch 94/102
Installing : perl-Git-2.30.2-1.fc33.noarch 95/102
Installing : git-2.30.2-1.fc33.x86_64 96/102
Installing : make-1:4.3-2.fc33.x86_64 97/102
Installing : dotnet-sdk-5.0-5.0.103-1.fc33.x86_64 98/102
Installing : dnf-plugins-core-4.0.18-1.fc33.noarch 99/102
Installing : hostname-3.23-3.fc33.x86_64 100/102
Running scriptlet: hostname-3.23-3.fc33.x86_64 100/102
Installing : daemonize-1.7.7-11.fc33.x86_64 101/102
Installing : systemd-container-246.10-1.fc33.x86_64 102/102
Running scriptlet: systemd-container-246.10-1.fc33.x86_64 102/102
Verifying : aspnetcore-runtime-5.0-5.0.3-1.fc33.x86_64 1/102
Verifying : aspnetcore-targeting-pack-5.0-5.0.3-1.fc33.x86_64 2/102
Verifying : dnf-plugins-core-4.0.18-1.fc33.noarch 3/102
Verifying : dotnet-apphost-pack-5.0-5.0.3-1.fc33.x86_64 4/102
Verifying : dotnet-host-5.0.3-1.fc33.x86_64 5/102
Verifying : dotnet-hostfxr-5.0-5.0.3-1.fc33.x86_64 6/102
Verifying : dotnet-runtime-5.0-5.0.3-1.fc33.x86_64 7/102
Verifying : dotnet-sdk-5.0-5.0.103-1.fc33.x86_64 8/102
Verifying : dotnet-targeting-pack-5.0-5.0.3-1.fc33.x86_64 9/102
Verifying : dotnet-templates-5.0-5.0.103-1.fc33.x86_64 10/102
Verifying : git-2.30.2-1.fc33.x86_64 11/102
Verifying : git-core-2.30.2-1.fc33.x86_64 12/102
Verifying : git-core-doc-2.30.2-1.fc33.noarch 13/102
Verifying : groff-base-1.22.4-4.fc33.x86_64 14/102
Verifying : guile22-2.2.7-1.fc33.x86_64 15/102
Verifying : netstandard-targeting-pack-2.1-5.0.103-1.fc33.x86_64 16/102
Verifying : openssh-8.4p1-5.fc33.x86_64 17/102
Verifying : openssh-clients-8.4p1-5.fc33.x86_64 18/102
Verifying : perl-AutoLoader-5.74-468.fc33.noarch 19/102
Verifying : perl-B-1.80-468.fc33.x86_64 20/102
Verifying : perl-Class-Struct-0.66-468.fc33.noarch 21/102
Verifying : perl-Digest-1.19-1.fc33.noarch 22/102
Verifying : perl-Digest-MD5-2.58-1.fc33.x86_64 23/102
Verifying : perl-DynaLoader-1.47-468.fc33.x86_64 24/102
Verifying : perl-Encode-4:3.08-458.fc33.x86_64 25/102
Verifying : perl-Errno-1.30-468.fc33.x86_64 26/102
Verifying : perl-Fcntl-1.13-468.fc33.x86_64 27/102
Verifying : perl-File-Basename-2.85-468.fc33.noarch 28/102
Verifying : perl-File-Find-1.37-468.fc33.noarch 29/102
Verifying : perl-File-Path-2.18-1.fc33.noarch 30/102
Verifying : perl-File-Temp-1:0.231.100-1.fc33.noarch 31/102
Verifying : perl-File-stat-1.09-468.fc33.noarch 32/102
Verifying : perl-FileHandle-2.03-468.fc33.noarch 33/102
Verifying : perl-Getopt-Std-1.12-468.fc33.noarch 34/102
Verifying : perl-Git-2.30.2-1.fc33.noarch 35/102
Verifying : perl-IO-1.43-468.fc33.x86_64 36/102
Verifying : perl-IPC-Open3-1.21-468.fc33.noarch 37/102
Verifying : perl-NDBM_File-1.15-468.fc33.x86_64 38/102
Verifying : perl-POSIX-1.94-468.fc33.x86_64 39/102
Verifying : perl-PathTools-3.78-458.fc33.x86_64 40/102
Verifying : perl-Pod-Simple-1:3.42-1.fc33.noarch 41/102
Verifying : perl-Pod-Usage-4:2.01-1.fc33.noarch 42/102
Verifying : perl-SelectSaver-1.02-468.fc33.noarch 43/102
Verifying : perl-Socket-4:2.031-1.fc33.x86_64 44/102
Verifying : perl-Symbol-1.08-468.fc33.noarch 45/102
Verifying : perl-base-2.27-468.fc33.noarch 46/102
Verifying : perl-if-0.60.800-468.fc33.noarch 47/102
Verifying : perl-interpreter-4:5.32.1-468.fc33.x86_64 48/102
Verifying : perl-lib-0.65-468.fc33.x86_64 49/102
Verifying : perl-libnet-3.13-1.fc33.noarch 50/102
Verifying : perl-libs-4:5.32.1-468.fc33.x86_64 51/102
Verifying : perl-macros-4:5.32.1-468.fc33.noarch 52/102
Verifying : perl-mro-1.23-468.fc33.x86_64 53/102
Verifying : perl-overload-1.31-468.fc33.noarch 54/102
Verifying : perl-overloading-0.02-468.fc33.noarch 55/102
Verifying : perl-subs-1.03-468.fc33.noarch 56/102
Verifying : perl-vars-1.05-468.fc33.noarch 57/102
Verifying : python3-dnf-plugins-core-4.0.18-1.fc33.noarch 58/102
Verifying : systemd-container-246.10-1.fc33.x86_64 59/102
Verifying : daemonize-1.7.7-11.fc33.x86_64 60/102
Verifying : emacs-filesystem-1:27.1-2.fc33.noarch 61/102
Verifying : gc-8.0.4-4.fc33.x86_64 62/102
Verifying : hostname-3.23-3.fc33.x86_64 63/102
Verifying : less-551-4.fc33.x86_64 64/102
Verifying : libedit-3.1-33.20191231cvs.fc33.x86_64 65/102
Verifying : libicu-67.1-4.fc33.x86_64 66/102
Verifying : libtool-ltdl-2.4.6-36.fc33.x86_64 67/102
Verifying : libunwind-1.4.0-4.fc33.x86_64 68/102
Verifying : lttng-ust-2.12.0-3.fc33.x86_64 69/102
Verifying : make-1:4.3-2.fc33.x86_64 70/102
Verifying : ncurses-6.2-3.20200222.fc33.x86_64 71/102
Verifying : numactl-libs-2.0.14-1.fc33.x86_64 72/102
Verifying : perl-Carp-1.50-457.fc33.noarch 73/102
Verifying : perl-Data-Dumper-2.174-459.fc33.x86_64 74/102
Verifying : perl-Error-1:0.17029-4.fc33.noarch 75/102
Verifying : perl-Exporter-5.74-458.fc33.noarch 76/102
Verifying : perl-Getopt-Long-1:2.52-1.fc33.noarch 77/102
Verifying : perl-HTTP-Tiny-0.076-457.fc33.noarch 78/102
Verifying : perl-IO-Socket-IP-0.41-2.fc33.noarch 79/102
Verifying : perl-IO-Socket-SSL-2.068-3.fc33.noarch 80/102
Verifying : perl-MIME-Base64-3.16-1.fc33.x86_64 81/102
Verifying : perl-Mozilla-CA-20200520-3.fc33.noarch 82/102
Verifying : perl-Net-SSLeay-1.88-9.fc33.x86_64 83/102
Verifying : perl-Pod-Escapes-1:1.07-457.fc33.noarch 84/102
Verifying : perl-Pod-Perldoc-3.28.01-458.fc33.noarch 85/102
Verifying : perl-Scalar-List-Utils-4:1.55-457.fc33.x86_64 86/102
Verifying : perl-Storable-1:3.21-457.fc33.x86_64 87/102
Verifying : perl-Term-ANSIColor-5.01-458.fc33.noarch 88/102
Verifying : perl-Term-Cap-1.17-457.fc33.noarch 89/102
Verifying : perl-TermReadKey-2.38-8.fc33.x86_64 90/102
Verifying : perl-Text-ParseWords-3.30-457.fc33.noarch 91/102
Verifying : perl-Text-Tabs+Wrap-2013.0523-457.fc33.noarch 92/102
Verifying : perl-Time-Local-2:1.300-4.fc33.noarch 93/102
Verifying : perl-URI-1.76-9.fc33.noarch 94/102
Verifying : perl-constant-1.33-458.fc33.noarch 95/102
Verifying : perl-parent-1:0.238-457.fc33.noarch 96/102
Verifying : perl-podlators-1:4.14-457.fc33.noarch 97/102
Verifying : python3-dateutil-1:2.8.1-2.fc33.noarch 98/102
Verifying : python3-distro-1.5.0-4.fc33.noarch 99/102
Verifying : python3-setuptools-49.1.3-1.fc33.noarch 100/102
Verifying : python3-six-1.15.0-2.fc33.noarch 101/102
Verifying : userspace-rcu-0.12.1-2.fc33.x86_64 102/102
Installed:
aspnetcore-runtime-5.0-5.0.3-1.fc33.x86_64
aspnetcore-targeting-pack-5.0-5.0.3-1.fc33.x86_64
daemonize-1.7.7-11.fc33.x86_64
dnf-plugins-core-4.0.18-1.fc33.noarch
dotnet-apphost-pack-5.0-5.0.3-1.fc33.x86_64
dotnet-host-5.0.3-1.fc33.x86_64
dotnet-hostfxr-5.0-5.0.3-1.fc33.x86_64
dotnet-runtime-5.0-5.0.3-1.fc33.x86_64
dotnet-sdk-5.0-5.0.103-1.fc33.x86_64
dotnet-targeting-pack-5.0-5.0.3-1.fc33.x86_64
dotnet-templates-5.0-5.0.103-1.fc33.x86_64
emacs-filesystem-1:27.1-2.fc33.noarch
gc-8.0.4-4.fc33.x86_64
git-2.30.2-1.fc33.x86_64
git-core-2.30.2-1.fc33.x86_64
git-core-doc-2.30.2-1.fc33.noarch
groff-base-1.22.4-4.fc33.x86_64
guile22-2.2.7-1.fc33.x86_64
hostname-3.23-3.fc33.x86_64
less-551-4.fc33.x86_64
libedit-3.1-33.20191231cvs.fc33.x86_64
libicu-67.1-4.fc33.x86_64
libtool-ltdl-2.4.6-36.fc33.x86_64
libunwind-1.4.0-4.fc33.x86_64
lttng-ust-2.12.0-3.fc33.x86_64
make-1:4.3-2.fc33.x86_64
ncurses-6.2-3.20200222.fc33.x86_64
netstandard-targeting-pack-2.1-5.0.103-1.fc33.x86_64
numactl-libs-2.0.14-1.fc33.x86_64
openssh-8.4p1-5.fc33.x86_64
openssh-clients-8.4p1-5.fc33.x86_64
perl-AutoLoader-5.74-468.fc33.noarch
perl-B-1.80-468.fc33.x86_64
perl-Carp-1.50-457.fc33.noarch
perl-Class-Struct-0.66-468.fc33.noarch
perl-Data-Dumper-2.174-459.fc33.x86_64
perl-Digest-1.19-1.fc33.noarch
perl-Digest-MD5-2.58-1.fc33.x86_64
perl-DynaLoader-1.47-468.fc33.x86_64
perl-Encode-4:3.08-458.fc33.x86_64
perl-Errno-1.30-468.fc33.x86_64
perl-Error-1:0.17029-4.fc33.noarch
perl-Exporter-5.74-458.fc33.noarch
perl-Fcntl-1.13-468.fc33.x86_64
perl-File-Basename-2.85-468.fc33.noarch
perl-File-Find-1.37-468.fc33.noarch
perl-File-Path-2.18-1.fc33.noarch
perl-File-Temp-1:0.231.100-1.fc33.noarch
perl-File-stat-1.09-468.fc33.noarch
perl-FileHandle-2.03-468.fc33.noarch
perl-Getopt-Long-1:2.52-1.fc33.noarch
perl-Getopt-Std-1.12-468.fc33.noarch
perl-Git-2.30.2-1.fc33.noarch
perl-HTTP-Tiny-0.076-457.fc33.noarch
perl-IO-1.43-468.fc33.x86_64
perl-IO-Socket-IP-0.41-2.fc33.noarch
perl-IO-Socket-SSL-2.068-3.fc33.noarch
perl-IPC-Open3-1.21-468.fc33.noarch
perl-MIME-Base64-3.16-1.fc33.x86_64
perl-Mozilla-CA-20200520-3.fc33.noarch
perl-NDBM_File-1.15-468.fc33.x86_64
perl-Net-SSLeay-1.88-9.fc33.x86_64
perl-POSIX-1.94-468.fc33.x86_64
perl-PathTools-3.78-458.fc33.x86_64
perl-Pod-Escapes-1:1.07-457.fc33.noarch
perl-Pod-Perldoc-3.28.01-458.fc33.noarch
perl-Pod-Simple-1:3.42-1.fc33.noarch
perl-Pod-Usage-4:2.01-1.fc33.noarch
perl-Scalar-List-Utils-4:1.55-457.fc33.x86_64
perl-SelectSaver-1.02-468.fc33.noarch
perl-Socket-4:2.031-1.fc33.x86_64
perl-Storable-1:3.21-457.fc33.x86_64
perl-Symbol-1.08-468.fc33.noarch
perl-Term-ANSIColor-5.01-458.fc33.noarch
perl-Term-Cap-1.17-457.fc33.noarch
perl-TermReadKey-2.38-8.fc33.x86_64
perl-Text-ParseWords-3.30-457.fc33.noarch
perl-Text-Tabs+Wrap-2013.0523-457.fc33.noarch
perl-Time-Local-2:1.300-4.fc33.noarch
perl-URI-1.76-9.fc33.noarch
perl-base-2.27-468.fc33.noarch
perl-constant-1.33-458.fc33.noarch
perl-if-0.60.800-468.fc33.noarch
perl-interpreter-4:5.32.1-468.fc33.x86_64
perl-lib-0.65-468.fc33.x86_64
perl-libnet-3.13-1.fc33.noarch
perl-libs-4:5.32.1-468.fc33.x86_64
perl-macros-4:5.32.1-468.fc33.noarch
perl-mro-1.23-468.fc33.x86_64
perl-overload-1.31-468.fc33.noarch
perl-overloading-0.02-468.fc33.noarch
perl-parent-1:0.238-457.fc33.noarch
perl-podlators-1:4.14-457.fc33.noarch
perl-subs-1.03-468.fc33.noarch
perl-vars-1.05-468.fc33.noarch
python3-dateutil-1:2.8.1-2.fc33.noarch
python3-distro-1.5.0-4.fc33.noarch
python3-dnf-plugins-core-4.0.18-1.fc33.noarch
python3-setuptools-49.1.3-1.fc33.noarch
python3-six-1.15.0-2.fc33.noarch
systemd-container-246.10-1.fc33.x86_64
userspace-rcu-0.12.1-2.fc33.x86_64
Complete!
==== genie のインストール ====
[[https://github.com/arkane-systems/genie|genie]] をソースコードからインストールする。\\
genie の開発者さんがいつもどんどん改良+不具合少々❓😱するので、いつも何かが起きます。この手順は 2021/03/14 現在は上手く行きました🤤💦💦💦\\
$ cd ~
$ git clone https://github.com/arkane-systems/genie.git
警告: 必ず **cd ~** でカレントディレクトリを **ext4** 上に移してください。9p を介して Windows ファイルシステム上で MSBuild を実行すると__生成される実行ファイルが破損__します。\\
Cloning into 'genie'...
remote: Enumerating objects: 1608, done.
remote: Total 1608 (delta 0), reused 0 (delta 0), pack-reused 1608
Receiving objects: 100% (1608/1608), 583.39 KiB | 888.00 KiB/s, done.
Resolving deltas: 100% (820/820), done.
**sudo make install-local** を__再実行__する場合、以下のファイルを削除しておかないと **make** に失敗します。\\
$ sudo rm /tmp/genie.8.gz
$ sudo rm /usr/local/bin/genie
$ sudo rm /usr/lib/systemd/system-environment-generators/10-genie-envar.sh
$ sudo rm /usr/lib/systemd/user-environment-generators/10-genie-envar.sh
$ sudo make clean
$ cd genie
$ sudo mkdir /usr/lib/systemd/system-environment-generators
$ sudo make install-local
**/usr/lib/systemd/system-environment-generators** は存在しない場合があるので、存在しない場合はディレクトリを作成しないと **make** に失敗します。\\
make -C package/local package
make[1]: Entering directory '/home/tomoyan/genie/package/local'
# Installing locally.
make -C binsrc build-local
make[2]: Entering directory '/home/tomoyan/genie/binsrc'
make -C genie local
make[3]: Entering directory '/home/tomoyan/genie/binsrc/genie'
dotnet publish -c ReleaseLocal -r linux-x64
Welcome to .NET 5.0!
---------------------
SDK Version: 5.0.103
----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
Restored /home/tomoyan/genie/binsrc/genie/genie.csproj (in 36.13 sec).
genie -> /home/tomoyan/genie/binsrc/genie/bin/ReleaseLocal/net5.0/linux-x64/genie.dll
genie -> /home/tomoyan/genie/binsrc/genie/bin/ReleaseLocal/net5.0/linux-x64/publish/
make[3]: Leaving directory '/home/tomoyan/genie/binsrc/genie'
make -C runinwsl
make[3]: Entering directory '/home/tomoyan/genie/binsrc/runinwsl'
dotnet publish -c Release -r linux-x64
Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
Restored /home/tomoyan/genie/binsrc/runinwsl/runinwsl.csproj (in 274 ms).
runinwsl -> /home/tomoyan/genie/binsrc/runinwsl/bin/Release/net5.0/linux-x64/runinwsl.dll
runinwsl -> /home/tomoyan/genie/binsrc/runinwsl/bin/Release/net5.0/linux-x64/publish/
make[3]: Leaving directory '/home/tomoyan/genie/binsrc/runinwsl'
make[2]: Leaving directory '/home/tomoyan/genie/binsrc'
# Just put the bits in the right places.
mkdir -p "/usr/local/bin"
# Binaries.
install -Dm 4755 -o root "binsrc/genie/bin/ReleaseLocal/net5.0/linux-x64/publish/genie" -t "/usr/local/libexec/genie"
install -Dm 0755 -o root "binsrc/runinwsl/bin/Release/net5.0/linux-x64/publish/runinwsl" -t "/usr/local/libexec/genie"
ln -s /usr/local/libexec/genie/genie /usr/local/bin/genie
# Environment generator.
install -Dm 0755 -o root "othersrc/scripts/10-genie-envar.sh" -t "/usr/local/libexec/genie"
ln -s /usr/local/libexec/genie/10-genie-envar.sh /usr/lib/systemd/system-environment-generators/10-genie-envar.sh
ln -s /usr/local/libexec/genie/10-genie-envar.sh /usr/lib/systemd/user-environment-generators/10-genie-envar.sh
# Configuration file.
install -Dm 0644 -o root "othersrc/etc/genie.ini" -t "/etc"
# Man page.
# Make sure directory exists.
mkdir -p "/usr/local/share/man/man8"
# this bit would ordinarily be handed by debuild, etc.
cp "othersrc/docs/genie.8" /tmp/genie.8
gzip -9 "/tmp/genie.8"
install -Dm 0644 -o root "/tmp/genie.8.gz" -t "/usr/local/share/man/man8"
make[1]: Leaving directory '/home/tomoyan/genie/package/local'
**genie -s** を実行して **systemd** を有効化する。\\
$ genie -s
Waiting for systemd....!
この状態でシステムロケール設定が可能になる。\\
$ sudo localectl set-locale LANG=ja_JP.UTF-8
$ source /etc/locale.conf
$ locale
LANG=ja_JP.UTF-8
LC_CTYPE="ja_JP.UTF-8"
LC_NUMERIC="ja_JP.UTF-8"
LC_TIME="ja_JP.UTF-8"
LC_COLLATE="ja_JP.UTF-8"
LC_MONETARY="ja_JP.UTF-8"
LC_MESSAGES="ja_JP.UTF-8"
LC_PAPER="ja_JP.UTF-8"
LC_NAME="ja_JP.UTF-8"
LC_ADDRESS="ja_JP.UTF-8"
LC_TELEPHONE="ja_JP.UTF-8"
LC_MEASUREMENT="ja_JP.UTF-8"
LC_IDENTIFICATION="ja_JP.UTF-8"
LC_ALL=
=== getty@tty1.service の無効化 ===
本家のドキュメント [[https://github.com/arkane-systems/genie|arkane-systems/genie]] にあるように、**getty@tty1.service** を無効にする。\\
RECOMMENDATIONS
Once you have this up and running, I suggest disabling via systemctl the getty@tty1 service (since logging on and using WSL is done via ptsen, not ttys).
これを実行したら、systemctl を介して getty@tty1 サービスを無効にすることをお勧めします (WSL へのログオンと使用は tty ではなく ptsen で行われるため)。
**getty@tty1.service** を停止し無効化する。\\
$ sudo systemctl stop getty@tty1.service
$ sudo systemctl disable getty@tty1.service
Removed /etc/systemd/system/getty.target.wants/getty@tty1.service.
$ sudo systemctl status getty@tty1.service
● getty@tty1.service - Getty on tty1
Loaded: loaded (/usr/lib/systemd/system/getty@.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:agetty(8)
man:systemd-getty-generator(8)
http://0pointer.de/blog/projects/serial-console.html
9月 09 06:29:29 Cmon-wsl systemd[1]: Started Getty on tty1.
9月 09 06:50:01 Cmon-wsl systemd[1]: Stopping Getty on tty1...
9月 09 06:50:01 Cmon-wsl systemd[1]: getty@tty1.service: Succeeded.
9月 09 06:50:01 Cmon-wsl systemd[1]: Stopped Getty on tty1.
=== genie を有効にして WSL 2 を起動 ===
$ wsl genie -s
or
$ LxRunOffline r -n "Fedora" -c "genie -s"
=== 毎回 genie -s を実行しなくても良い方法 ===
WSL 2 を起動する度に systemd を有効化するのは手間である。\\
そこで以下のように bash 起動時に自動で有効化することが出来る。(お好みで...)\\
$ sudo vi /etc/profile.d/genie.sh
**systemd** が **PID 1** で起動していない場合は **genie -s** を実行する。\\
if [ "`ps -eo pid,lstart,cmd | grep systemd | grep -v -e grep -e systemd- | sort -n -k2 | awk 'NR==1 { print $1 }'`" != "1" ]; then
genie -s
fi
=== 再度 WSL を開き直して genie -s の自動実行を確認する ===
WSL 2 を開くと以下のように **systemd** が **PID: 1** で起動していることを確認する。\\
$ ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 107728 13484 ? Ss 06:29 0:00 systemd
root 24 0.0 0.2 55920 16676 ? Ss 06:29 0:00 /usr/lib/systemd/systemd-journald
root 31 0.0 0.1 30252 9520 ? Ss 06:29 0:00 /usr/lib/systemd/systemd-udevd
rtkit 46 0.0 0.0 153028 3056 ? SNsl 06:29 0:00 /usr/libexec/rtkit-daemon
root 49 0.0 0.0 19408 7568 ? Ss 06:29 0:00 /usr/lib/systemd/systemd-homed
root 52 0.0 0.0 19464 7616 ? Ss 06:29 0:00 /usr/lib/systemd/systemd-logind
dbus 58 0.0 0.0 268724 4172 ? Ss 06:29 0:00 /usr/bin/dbus-broker-launch --sco
dbus 70 0.0 0.0 5540 2968 ? S 06:29 0:00 dbus-broker --log 4 --controller
root 77 0.0 0.0 18872 7828 ? Ss 06:29 0:00 /usr/lib/systemd/systemd-userdbd
tomoyan 88 0.0 0.1 20920 11080 ? Ss 06:29 0:00 /usr/lib/systemd/systemd --user
tomoyan 89 0.0 0.0 27580 2576 ? S 06:29 0:00 (sd-pam)
polkitd 116 0.0 0.3 1657032 25388 ? Ssl 06:29 0:00 /usr/lib/polkit-1/polkitd --no-de
tomoyan 164 0.0 0.0 268596 3760 ? Ss 06:29 0:00 /usr/bin/dbus-broker-launch --sco
tomoyan 166 0.0 0.0 5144 1032 ? S 06:29 0:00 dbus-broker --log 4 --controller
root 344 0.0 0.0 3964 2412 tty1 Ss+ 06:50 0:00 /sbin/agetty -o -p -- \u --noclea
root 376 0.0 0.1 19324 8240 ? S 07:00 0:00 systemd-userwork
root 377 0.0 0.0 18888 7704 ? S 07:00 0:00 systemd-userwork
root 378 0.0 0.1 19324 8392 ? S 07:00 0:00 systemd-userwork
root 383 0.1 0.0 10236 5628 pts/3 S 07:01 0:00 runuser -l tomoyan -w INSIDE_GENI
tomoyan 384 0.1 0.0 5256 4112 pts/3 S 07:01 0:00 -bash
tomoyan 409 0.0 0.0 7060 3436 pts/3 R+ 07:01 0:00 ps aux
==== 基本的なコマンドのインストール ====
コマンドが足りないので、必要に応じてパッケージをインストールする。\\
詰め合わせセットはこちらになります💁♀️\\
$ sudo dnf install bind-utils expect findutils iputils jwhois man net-tools procps-ng rsync which -y
Last metadata expiration check: 1:01:51 ago on 2021年03月23日 06時18分06秒.
Dependencies resolved.
====================================================================================================
Package Architecture Version Repository Size
====================================================================================================
Installing:
bind-utils x86_64 32:9.11.28-1.fc33 updates 239 k
expect x86_64 5.45.4-12.fc33 fedora 249 k
findutils x86_64 1:4.7.0-7.fc33 fedora 539 k
iputils x86_64 20200821-1.fc33 updates 167 k
jwhois x86_64 4.0-63.fc33 fedora 116 k
net-tools x86_64 2.0-0.58.20160912git.fc33 fedora 299 k
procps-ng x86_64 3.3.16-2.fc33 updates 338 k
rsync x86_64 3.2.3-3.fc33 updates 393 k
which x86_64 2.21-20.fc33 fedora 41 k
Installing dependencies:
bind-libs x86_64 32:9.11.28-1.fc33 updates 90 k
bind-libs-lite x86_64 32:9.11.28-1.fc33 updates 1.1 M
bind-license noarch 32:9.11.28-1.fc33 updates 17 k
fstrm x86_64 0.6.0-1.fc33 fedora 27 k
libmaxminddb x86_64 1.5.0-1.fc33 updates 33 k
lmdb-libs x86_64 0.9.28-1.fc33 updates 60 k
protobuf-c x86_64 1.3.3-3.fc33 fedora 35 k
tcl x86_64 1:8.6.10-5.fc33 fedora 1.1 M
Transaction Summary
====================================================================================================
Install 17 Packages
Total download size: 4.7 M
Installed size: 14 M
Downloading Packages:
(1/17): bind-license-9.11.28-1.fc33.noarch.rpm 74 kB/s | 17 kB 00:00
(2/17): bind-libs-9.11.28-1.fc33.x86_64.rpm 175 kB/s | 90 kB 00:00
(3/17): bind-utils-9.11.28-1.fc33.x86_64.rpm 448 kB/s | 239 kB 00:00
(4/17): bind-libs-lite-9.11.28-1.fc33.x86_64.rpm 1.0 MB/s | 1.1 MB 00:01
(5/17): libmaxminddb-1.5.0-1.fc33.x86_64.rpm 92 kB/s | 33 kB 00:00
(6/17): procps-ng-3.3.16-2.fc33.x86_64.rpm 1.8 MB/s | 338 kB 00:00
(7/17): rsync-3.2.3-3.fc33.x86_64.rpm 1.2 MB/s | 393 kB 00:00
(8/17): lmdb-libs-0.9.28-1.fc33.x86_64.rpm 86 kB/s | 60 kB 00:00
(9/17): iputils-20200821-1.fc33.x86_64.rpm 120 kB/s | 167 kB 00:01
(10/17): fstrm-0.6.0-1.fc33.x86_64.rpm 117 kB/s | 27 kB 00:00
(11/17): expect-5.45.4-12.fc33.x86_64.rpm 198 kB/s | 249 kB 00:01
(12/17): jwhois-4.0-63.fc33.x86_64.rpm 113 kB/s | 116 kB 00:01
(13/17): net-tools-2.0-0.58.20160912git.fc33.x86_64.rpm 328 kB/s | 299 kB 00:00
(14/17): protobuf-c-1.3.3-3.fc33.x86_64.rpm 53 kB/s | 35 kB 00:00
(15/17): findutils-4.7.0-7.fc33.x86_64.rpm 265 kB/s | 539 kB 00:02
(16/17): which-2.21-20.fc33.x86_64.rpm 51 kB/s | 41 kB 00:00
(17/17): tcl-8.6.10-5.fc33.x86_64.rpm 579 kB/s | 1.1 MB 00:01
----------------------------------------------------------------------------------------------------
Total 607 kB/s | 4.7 MB 00:07
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : protobuf-c-1.3.3-3.fc33.x86_64 1/17
Installing : lmdb-libs-0.9.28-1.fc33.x86_64 2/17
Installing : fstrm-0.6.0-1.fc33.x86_64 3/17
Installing : libmaxminddb-1.5.0-1.fc33.x86_64 4/17
Installing : bind-license-32:9.11.28-1.fc33.noarch 5/17
Installing : bind-libs-lite-32:9.11.28-1.fc33.x86_64 6/17
Installing : bind-libs-32:9.11.28-1.fc33.x86_64 7/17
Installing : tcl-1:8.6.10-5.fc33.x86_64 8/17
Installing : expect-5.45.4-12.fc33.x86_64 9/17
Installing : bind-utils-32:9.11.28-1.fc33.x86_64 10/17
Installing : which-2.21-20.fc33.x86_64 11/17
Installing : net-tools-2.0-0.58.20160912git.fc33.x86_64 12/17
Running scriptlet: net-tools-2.0-0.58.20160912git.fc33.x86_64 12/17
Installing : jwhois-4.0-63.fc33.x86_64 13/17
Running scriptlet: jwhois-4.0-63.fc33.x86_64 13/17
Installing : findutils-1:4.7.0-7.fc33.x86_64 14/17
Installing : rsync-3.2.3-3.fc33.x86_64 15/17
Installing : procps-ng-3.3.16-2.fc33.x86_64 16/17
Installing : iputils-20200821-1.fc33.x86_64 17/17
Running scriptlet: iputils-20200821-1.fc33.x86_64 17/17
Verifying : bind-libs-32:9.11.28-1.fc33.x86_64 1/17
Verifying : bind-libs-lite-32:9.11.28-1.fc33.x86_64 2/17
Verifying : bind-license-32:9.11.28-1.fc33.noarch 3/17
Verifying : bind-utils-32:9.11.28-1.fc33.x86_64 4/17
Verifying : iputils-20200821-1.fc33.x86_64 5/17
Verifying : libmaxminddb-1.5.0-1.fc33.x86_64 6/17
Verifying : lmdb-libs-0.9.28-1.fc33.x86_64 7/17
Verifying : procps-ng-3.3.16-2.fc33.x86_64 8/17
Verifying : rsync-3.2.3-3.fc33.x86_64 9/17
Verifying : expect-5.45.4-12.fc33.x86_64 10/17
Verifying : findutils-1:4.7.0-7.fc33.x86_64 11/17
Verifying : fstrm-0.6.0-1.fc33.x86_64 12/17
Verifying : jwhois-4.0-63.fc33.x86_64 13/17
Verifying : net-tools-2.0-0.58.20160912git.fc33.x86_64 14/17
Verifying : protobuf-c-1.3.3-3.fc33.x86_64 15/17
Verifying : tcl-1:8.6.10-5.fc33.x86_64 16/17
Verifying : which-2.21-20.fc33.x86_64 17/17
Installed:
bind-libs-32:9.11.28-1.fc33.x86_64 bind-libs-lite-32:9.11.28-1.fc33.x86_64
bind-license-32:9.11.28-1.fc33.noarch bind-utils-32:9.11.28-1.fc33.x86_64
expect-5.45.4-12.fc33.x86_64 findutils-1:4.7.0-7.fc33.x86_64
fstrm-0.6.0-1.fc33.x86_64 iputils-20200821-1.fc33.x86_64
jwhois-4.0-63.fc33.x86_64 libmaxminddb-1.5.0-1.fc33.x86_64
lmdb-libs-0.9.28-1.fc33.x86_64 net-tools-2.0-0.58.20160912git.fc33.x86_64
procps-ng-3.3.16-2.fc33.x86_64 protobuf-c-1.3.3-3.fc33.x86_64
rsync-3.2.3-3.fc33.x86_64 tcl-1:8.6.10-5.fc33.x86_64
which-2.21-20.fc33.x86_64
Complete!
find xargs\\
$ sudo dnf install findutils -y
which\\
$ sudo dnf install which -y
ps free top vmstat … など\\
$sudo dnf install procps-ng -y
ping … など\\
$ sudo dnf install iputils -y
netstat arp ifconfig route … など\\
$ sudo dnf install net-tools -y
dig host nslookup nsupdate\\
$ sudo dnf install bind-utils -y
whois\\
$ sudo dnf install jwhois -y
mkpasswd … など\\
$ sudo dnf install expect -y
rsync\\
$ sudo dnf install rsync -y
man\\
$ sudo dnf install man -y
===== 付録 LxRunOffline コマンド オプション[翻訳] =====
==== LxRunOffline ====
$ LxRunOffline
サポートされているオプション\\
Supported actions are:
l, list List all installed distributions.
gd, get-default Get the default distribution, which is used by bash.exe.
sd, set-default Set the default distribution, which is used by bash.exe.
i, install Install a new distribution.
ui, uninstall Uninstall a distribution.
rg, register Register an existing installation directory.
ur, unregister Unregister a distribution but not delete the installation directory.
m, move Move a distribution to a new directory.
d, duplicate Duplicate an existing distribution in a new directory.
e, export Export a distribution's filesystem to a .tar.gz file, which can be imported by the "install" command.
r, run Run a command in a distribution.
di, get-dir Get the installation directory of a distribution.
gv, get-version Get the filesystem version of a distribution.
ge, get-env Get the default environment variables of a distribution.
se, set-env Set the default environment variables of a distribution.
ae, add-env Add to the default environment variables of a distribution.
re, remove-env Remove from the default environment variables of a distribution.
gu, get-uid Get the UID of the default user of a distribution.
su, set-uid Set the UID of the default user of a distribution.
gk, get-kernelcmd Get the default kernel command line of a distribution.
sk, set-kernelcmd Set the default kernel command line of a distribution.
gf, get-flags Get some flags of a distribution. See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/api/wslapi/ne-wslapi-wsl_distribution_flags for details.
sf, set-flags Set some flags of a distribution. See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/api/wslapi/ne-wslapi-wsl_distribution_flags for details.
s, shortcut Create a shortcut to launch a distribution.
ec, export-config Export configuration of a distribution to an XML file.
ic, import-config Import configuration of a distribution from an XML file.
sm, summary Get general information of a distribution.
version Get version information about this LxRunOffline.exe.
サポートされているオプション(日本語訳)\\
サポートされているアクションは次のとおりです。
l, list インストールされているすべてのディストリビューションをリストします。
gd, get-default bash.exe によって使用されるデフォルトのディストリビューションを取得します。
sd, set-default bash.exe が使用するデフォルトのディストリビューションを設定します。
i, install 新しいディストリビューションをインストールします。
ui, uninstall ディストリビューションをアンインストールします。
rg, register 既存のインストールディレクトリを登録します。
ur, unregister ディストリビューションの登録を解除しますが、インストールディレクトリは削除しません。
m, move ディストリビューションを新しいディレクトリに移動します。
d, duplicate 既存のディストリビューションを新しいディレクトリに複製します。
e, export ディストリビューションのファイルシステムを .tar.gz ファイルにエクスポートします。これは、「install」コマンドでインポートできます。
r, run ディストリビューションでコマンドを実行します。
di, get-dir ディストリビューションのインストールディレクトリを取得します。
gv, get-version ディストリビューションのファイルシステムのバージョンを取得します。
ge, get-env ディストリビューションのデフォルトの環境変数を取得します。
se, set-env ディストリビューションのデフォルトの環境変数を設定します。
ae, add-env ディストリビューションのデフォルトの環境変数に追加します。
re, remove-env ディストリビューションのデフォルトの環境変数から削除します。
gu, get-uid ディストリビューションのデフォルトユーザーの UID を取得します。
su, set-uid ディストリビューションのデフォルトユーザーの UID を設定します。
gk, get-kernelcmd ディストリビューションのデフォルトのカーネルコマンドラインを取得します。
sk, set-kernelcmd ディストリビューションのデフォルトのカーネルコマンドラインを設定します。
gf, get-flags ディストリビューションのいくつかのフラグを取得します。詳細については、https://docs.microsoft.com/en-us/previous-versions/windows/desktop/api/wslapi/ne-wslapi-wsl_distribution_flags を参照してください。
sf, set-flags ディストリビューションのいくつかのフラグを設定します。詳細については、https://docs.microsoft.com/en-us/previous-versions/windows/desktop/api/wslapi/ne-wslapi-wsl_distribution_flags を参照してください。
s, shortcut ディストリビューションを起動するためのショートカットを作成します。
ec, export-config ディストリビューションの構成を XML ファイルにエクスポートします。
ic, import-config XML ファイルからディストリビューションの構成をインポートします。
sm, summary 配布の一般情報を取得します。
version この LxRunOffline.exe に関するバージョン情報を取得します。
==== LxRunOffline[i, install] ====
$ LxRunOffline i
サポートされているオプション\\
Options:
-n arg Name of the distribution
-d arg The directory to install the distribution into.
-f arg The tar file containing the root filesystem of the
distribution to be installed. If a file of the same
name with a .xml extension exists and "-c" isn't
specified, that file will be imported as a config file.
-r arg The directory in the tar file to extract. This argument
is optional.
-c arg The config file to use. This argument is optional.
-v arg (=2) The version of filesystem to use, latest available one
if not specified.
-s Create a shortcut for this distribution on Desktop.
オプション(日本語訳)\\
オプション:
-n arg ディストリビューションの名前
-d arg ディストリビューションをインストールするディレクトリ。
-f arg ルートファイルシステムを含む tar ファイル
インストールするディストリビューション。同じのファイルなら
拡張子が .xml の名前が存在し、「-c」が存在しない
指定すると、そのファイルは設定ファイルとしてインポートされます。
-r arg 抽出するtarファイル内のディレクトリ。この議論
オプションです。
-c arg 使用する設定ファイル。この引数はオプションです。
-v arg (=2) 使用するファイルシステムのバージョン、利用可能な最新のもの
指定されていない場合。
-s デスクトップにこのディストリビューションのショートカットを作成します。
===== トラブルシューティング =====
==== man コマンドが bash: man: command not found と言われる ====
$ man
bash: man: command not found
man コマンドの関連パッケージをインストールする。\\
$ sudo dnf install --setopt=tsflags='' man-db -y
Last metadata expiration check: 0:49:08 ago on 2021年03月25日 04時51分25秒.
Dependencies resolved.
====================================================================================================
Package Architecture Version Repository Size
====================================================================================================
Installing:
man-db x86_64 2.9.2-6.fc33 fedora 1.1 M
Installing dependencies:
libpipeline x86_64 1.5.2-5.fc33 fedora 48 k
Transaction Summary
====================================================================================================
Install 2 Packages
Total download size: 1.2 M
Installed size: 2.6 M
Downloading Packages:
(1/2): libpipeline-1.5.2-5.fc33.x86_64.rpm 132 kB/s | 48 kB 00:00
(2/2): man-db-2.9.2-6.fc33.x86_64.rpm 423 kB/s | 1.1 MB 00:02
----------------------------------------------------------------------------------------------------
Total 292 kB/s | 1.2 MB 00:04
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libpipeline-1.5.2-5.fc33.x86_64 1/2
Running scriptlet: man-db-2.9.2-6.fc33.x86_64 2/2
Installing : man-db-2.9.2-6.fc33.x86_64 2/2
Running scriptlet: man-db-2.9.2-6.fc33.x86_64 2/2
Verifying : libpipeline-1.5.2-5.fc33.x86_64 1/2
Verifying : man-db-2.9.2-6.fc33.x86_64 2/2
Installed:
libpipeline-1.5.2-5.fc33.x86_64 man-db-2.9.2-6.fc33.x86_64
Complete!
==== man コマンドで No manual entry for ... と言われる ====
$ man ls
No manual entry for ls
man コマンド用のドキュメント関連パッケージをインストールする。\\
$ sudo dnf install --setopt=tsflags='' man-db -y
Last metadata expiration check: 0:53:47 ago on 2021年03月25日 04時51分25秒.
Dependencies resolved.
====================================================================================================
Package Architecture Version Repository Size
====================================================================================================
Installing:
man-pages noarch 5.07-3.fc33 updates 6.0 M
man-pages-ja noarch 20200315-2.fc33 fedora 5.5 M
Transaction Summary
====================================================================================================
Install 2 Packages
Total download size: 11 M
Installed size: 11 M
Downloading Packages:
(1/2): man-pages-ja-20200315-2.fc33.noarch.rpm 1.0 MB/s | 5.5 MB 00:05
(2/2): man-pages-5.07-3.fc33.noarch.rpm 962 kB/s | 6.0 MB 00:06
----------------------------------------------------------------------------------------------------
Total 1.3 MB/s | 11 MB 00:08
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : man-pages-ja-20200315-2.fc33.noarch 1/2
Running scriptlet: man-pages-5.07-3.fc33.noarch 2/2
Installing : man-pages-5.07-3.fc33.noarch 2/2
Running scriptlet: man-pages-5.07-3.fc33.noarch 2/2
Verifying : man-pages-5.07-3.fc33.noarch 1/2
Verifying : man-pages-ja-20200315-2.fc33.noarch 2/2
Installed:
man-pages-5.07-3.fc33.noarch man-pages-ja-20200315-2.fc33.noarch
Complete!
$ man ls
==== dnf コマンドの tsflags=nodocs RPM トランザクション フラグでインストール済みのパッケージのドキュメント類を再インストールする方法 ====
既にインストール済みのパッケージで欠落しているドキュメント類のファイルは以下のように調べることが出来る🤤\\
$ man rsync
No manual entry for rsync
$ ls -lha $(rpm -q -d rsync)
ls: cannot access '/usr/share/doc/rsync/support/Makefile': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/atomic-rsync': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/cvs2includes': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/deny-rsync': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/file-attr-restore': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/files-to-excludes': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/git-set-file-times': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/instant-rsyncd': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/logfilter': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/lsh': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/lsh.sh': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/mapfrom': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/mapto': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/mnt-excl': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/munge-symlinks': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/nameconvert': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/rrsync': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/rsync-no-vanished': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/rsync-slash-strip': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/rsyncstats': No such file or directory
ls: cannot access '/usr/share/doc/rsync/support/savetransfer.c': No such file or directory
ls: cannot access '/usr/share/doc/rsync/tech_report.tex': No such file or directory
ls: cannot access '/usr/share/man/man1/rsync-ssl.1.gz': No such file or directory
ls: cannot access '/usr/share/man/man1/rsync.1.gz': No such file or directory
ls: cannot access '/usr/share/man/man5/rsyncd.conf.5.gz': No such file or directory
欠落したドキュメント類のファイルを再インストールする。\\
$ sudo dnf reinstall --setopt=tsflags='' rsync -y
Last metadata expiration check: 1:06:07 ago on 2021年03月25日 04時51分25秒.
Dependencies resolved.
====================================================================================================
Package Architecture Version Repository Size
====================================================================================================
Reinstalling:
rsync x86_64 3.2.3-3.fc33 updates 393 k
Transaction Summary
====================================================================================================
Total download size: 393 k
Installed size: 731 k
Downloading Packages:
rsync-3.2.3-3.fc33.x86_64.rpm 740 kB/s | 393 kB 00:00
----------------------------------------------------------------------------------------------------
Total 168 kB/s | 393 kB 00:02
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Reinstalling : rsync-3.2.3-3.fc33.x86_64 1/2
Cleanup : rsync-3.2.3-3.fc33.x86_64 2/2
Running scriptlet: rsync-3.2.3-3.fc33.x86_64 2/2
Verifying : rsync-3.2.3-3.fc33.x86_64 1/2
Verifying : rsync-3.2.3-3.fc33.x86_64 2/2
Reinstalled:
rsync-3.2.3-3.fc33.x86_64
Complete!
ドキュメント類が配置されていることを確認する。\\
$ ls -lha $(rpm -q -d rsync)
-rw-r--r-- 1 root root 80 1月 12 2005 /usr/share/doc/rsync/support/Makefile
-rw-r--r-- 1 root root 4.0K 6月 17 2020 /usr/share/doc/rsync/support/atomic-rsync
-rw-r--r-- 1 root root 1.2K 6月 17 2020 /usr/share/doc/rsync/support/cvs2includes
-rw-r--r-- 1 root root 1005 6月 17 2020 /usr/share/doc/rsync/support/deny-rsync
-rw-r--r-- 1 root root 4.9K 6月 17 2020 /usr/share/doc/rsync/support/file-attr-restore
-rw-r--r-- 1 root root 538 6月 17 2020 /usr/share/doc/rsync/support/files-to-excludes
-rw-r--r-- 1 root root 3.8K 7月 18 2020 /usr/share/doc/rsync/support/git-set-file-times
-rw-r--r-- 1 root root 2.8K 6月 17 2020 /usr/share/doc/rsync/support/instant-rsyncd
-rw-r--r-- 1 root root 1.1K 6月 17 2020 /usr/share/doc/rsync/support/logfilter
-rw-r--r-- 1 root root 2.6K 7月 14 2020 /usr/share/doc/rsync/support/lsh
-rw-r--r-- 1 root root 1010 6月 5 2020 /usr/share/doc/rsync/support/lsh.sh
-rw-r--r-- 1 root root 633 6月 17 2020 /usr/share/doc/rsync/support/mapfrom
-rw-r--r-- 1 root root 625 6月 17 2020 /usr/share/doc/rsync/support/mapto
-rw-r--r-- 1 root root 1.9K 6月 17 2020 /usr/share/doc/rsync/support/mnt-excl
-rw-r--r-- 1 root root 1.5K 6月 17 2020 /usr/share/doc/rsync/support/munge-symlinks
-rw-r--r-- 1 root root 1.5K 8月 6 2020 /usr/share/doc/rsync/support/nameconvert
-rw-r--r-- 1 root root 7.3K 6月 28 2020 /usr/share/doc/rsync/support/rrsync
-rw-r--r-- 1 root root 275 6月 17 2020 /usr/share/doc/rsync/support/rsync-no-vanished
-rw-r--r-- 1 root root 651 6月 17 2020 /usr/share/doc/rsync/support/rsync-slash-strip
-rw-r--r-- 1 root root 8.5K 6月 17 2020 /usr/share/doc/rsync/support/rsyncstats
-rw-r--r-- 1 root root 4.5K 12月 18 2006 /usr/share/doc/rsync/support/savetransfer.c
-rw-r--r-- 1 root root 15K 11月 23 1998 /usr/share/doc/rsync/tech_report.tex
-rw-r--r-- 1 root root 1.8K 8月 7 2020 /usr/share/man/man1/rsync-ssl.1.gz
-rw-r--r-- 1 root root 63K 12月 8 20:57 /usr/share/man/man1/rsync.1.gz
-rw-r--r-- 1 root root 20K 12月 8 20:57 /usr/share/man/man5/rsyncd.conf.5.gz
==== genie で dumpwslenv.sh が No such file or directory になる ====
2020/09/05 現在 genie の Makefile の scripts のインストール先が誤っているようだ。\\
# genie --version
1.27
# genie -s
genie: error executing command '/usr/libexec/genie/dumpwslenv.sh ':
No such file or directory
ひとまず、以下の 2 つのスクリプトをコピーしておく。\\
# cp scripts/dumpwslenv.sh /usr/libexec/genie/
# cp scripts/runinwsl.sh /usr/libexec/genie/
==== genie で daemonize が No such file or directory になる ====
**daemonize** コマンドがインストールされていない。\\
# genie -s
genie: error executing command 'daemonize /usr/bin/unshare -fp --propagation shared --mount-proc systemd':
No such file or directory
**daemonize** パッケージをインストールする。\\
# dnf install daemonize -y
==== dnf / rpm コマンドが rpmdb のオープンに失敗する ====
**Cannot allocate memory** エラーの通りで原因はメモリー不足である。\\
$ dnf list installed
error: db5 error(12) from dbenv->open: Cannot allocate memory
error: db5 error(22) from dbenv->close: Invalid argument
error: cannot open Packages index using db5 - Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm
Error: Error: rpmdb open failed
$ rpm -qa
error: db5 error(12) from dbenv->open: Cannot allocate memory
error: db5 error(22) from dbenv->close: Invalid argument
error: cannot open Packages index using db5 - Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm
error: db5 error(12) from dbenv->open: Cannot allocate memory
error: db5 error(22) from dbenv->close: Invalid argument
error: cannot open Packages index using db5 - Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm
[[https://bugzilla.redhat.com/show_bug.cgi?id=1668379|1668379 – Under Microsoft WIndows Subsystem for Linux (WSL) - Error: rpmdb open failed [fedora]]]\\
===== 参考文献 =====
[[git>DDoSolitary/LxRunOffline/wiki|Home · DDoSolitary/LxRunOffline Wiki]]\\
[[qita>mark-n2/items/c9d500815810136f43bf|WSL+LxRunOfflineでシステムドライブ外に環境構築 - Qiita]]\\
[[https://www.server-world.info/query?os=Fedora_30&p=japanese|Fedora 30 : 日本語環境にする : Server World]]\\