UE4&

Unreal Engine 4 ・プログラミング

Windows 11 Home で WSL を試してみる 

Windows 11 Home で WSL ( Hyper-V なし )

使用環境

Windows 11 Home

Version 21H2

OS build 22000.258

インストール方法

コマンドプロンプトを管理者権限で起動

以下のコマンドを実行

wsl --install

インストールに10分程時間がかかる。

その後・・

Windows Subsystem for Linux has no installed distributions.
Distributions can be installed by visiting the Microsoft Store:
https://aka.ms/wslstore

 

Windows store へジャンプ

https://aka.ms/wslstore

Windows store へジャンプし Ubuntu 等をインストールした。

 

Hyper-V が使用できない など2回ほど virtual machine 関係のエラーが表示された。

Ubuntu の画面を Close して Windows store へジャンプし Ubuntu をアップデートしてを開くをクリックし Windows store を3回ほど訪問してやっと成功した。

 

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:

省略

Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.10.16.3-microsoft-standard-WSL2 x86_64)

 

使用可能になった。

参考サイト

astherier.com

この記事の続き

uycp.hatenablog.com

 

その他

酒井さんの講座を受ける準備をしていたら Hyper-V 必須だと知り驚いた。

 Hyper-V が無くてもできないか模索した。

www.udemy.com

 

Windows 11 は、wsl —install コマンド一発で WSL2/Linux をインストールできます。 Windows 10 バージョン2004 以降も同様にインストール可能です。

【Hyper-V対応】Windows 11にWSL2/Linuxをインストールする - 砂漠の旅人