差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン両方とも次のリビジョン | ||
windows:wsl:install [2019/09/15 11:12] – [日本語環境に設定] ともやん | windows:wsl:install [2019/10/30 13:10] – ともやん | ||
---|---|---|---|
行 9: | 行 9: | ||
</ | </ | ||
====== WSL 2 のインストール ====== | ====== WSL 2 のインストール ====== | ||
+ | 本手順では、WSL 2 上に [[https:// | ||
+ | Fedora ファンとしては、Fedora Remix for WSL が Fedora 公式ではないのがちょっと残念ではあるが、使い慣れた Fedora が Windows 10 でも使えるのはありがたい。\\ | ||
+ | \\ | ||
+ | 現在 [[https:// | ||
+ | 実は、[[https:// | ||
+ | 無償で利用したい場合は試してみるとよいだろう。\\ | ||
+ | \\ | ||
※ 2019/09/13 現在 Build 18917 以降は **[[windows: | ※ 2019/09/13 現在 Build 18917 以降は **[[windows: | ||
以下の手順は Build 18362 ~ 18980 へ更新しながら検証した。\\ | 以下の手順は Build 18362 ~ 18980 へ更新しながら検証した。\\ | ||
行 524: | 行 531: | ||
</ | </ | ||
- | ===== 日本語環境に設定 ===== | ||
- | 標準のインストールだと日本語が **□** に文字化けする。\\ | ||
- | システムロケール設定が **en_US.UTF-8** になっているためである。\\ | ||
- | < | ||
- | $ ll | ||
- | drwxr-xr-x 1 tomoyan tomoyan | ||
- | drwxr-xr-x 1 tomoyan tomoyan | ||
- | drwxr-xr-x 1 tomoyan tomoyan | ||
- | drwxr-xr-x 1 tomoyan tomoyan | ||
- | drwxr-xr-x 1 tomoyan tomoyan | ||
- | lrwxrwxrwx 1 tomoyan tomoyan | ||
- | $ echo $LANG | ||
- | en_US.UTF-8 | ||
- | </ | ||
- | |||
- | 日本語ランゲージパックをインストールすると文字化けが解消される。\\ | ||
- | <WRAP prewrap 100% #result> | ||
- | < | ||
- | $ sudo dnf install langpacks-ja | ||
- | Fedora Modular 30 - x86_64 | ||
- | Fedora Modular 30 - x86_64 - Updates | ||
- | Fedora 30 - x86_64 - Updates | ||
- | Fedora 30 - x86_64 | ||
- | whitewaterfoundry_wslu | ||
- | Dependencies resolved. | ||
- | ==================================================================================== | ||
- | | ||
- | ==================================================================================== | ||
- | Installing: | ||
- | | ||
- | Installing dependencies: | ||
- | | ||
- | Installing weak dependencies: | ||
- | | ||
- | | ||
- | | ||
- | |||
- | Transaction Summary | ||
- | ==================================================================================== | ||
- | Install | ||
- | |||
- | Total download size: 194 M | ||
- | Installed size: 297 M | ||
- | Is this ok [y/N]: y | ||
- | |||
- | </ | ||
- | </ | ||