LoginSignup
1
0

More than 3 years have passed since last update.

WSL上でUbuntuを使うには、当たり前だがWSLを有効にする必要がありますよ

Posted at

以前から個人開発の時は、WSL(Windows Subsystem for Linux) + Ubuntu + VSCodeで開発していたのだが、ちょっとノートPCの調子が悪くなってきたのでリフレッシュすることにした。

再度環境を構築しなおしていたのだが、WindowsのアプリストアからUbuntuをダウンロードして起動したら、こんなエラーが出てきた。

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x8007019e
The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.
See https://aka.ms/wslinstall for details.
Press any key to continue...  

当たり前だけど、Ubuntu動かすにはWSLが必要で、それはデフォルトでは有効でないので有効化してあげる必要がある。当たり前だけど、忘れていた。恥ずかし

手順としては、以下の2つの記事を参考にしていけばすぐ終わる。

Windows Subsystem for Linuxをインストールしてみよう!

VSCode + WSL

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0