使用しようとしていますバッシュの上ウィンドウズ10しかし、bash を実行しようとすると次のメッセージが表示されます。
Windows Subsystem for Linux にはインストールされたディストリビューションがありません。ディストリビューションは Windows ストアにアクセスしてインストールできます。https://aka.ms/wslstore何かキーを押すと続行します...
そのURLにアクセスするとWindows ストアアプリ、何も兆候がないリナックスそこに配布します。
私の Windows バージョンは次のとおりです (画面の右下隅に表示されています):
Windows 10 Enterprise Insider Preview。評価版。ビルド 16215.rs_prerelease.170603-1840
私はこのガイドの指示に従いますインストールガイドそしてこのビデオも見ていましたWindows 10 上の Windows Subsystem for Linux でコードとファイルを編集するScott Hanselman から、インストールされたディストリビューションがないというメッセージを受け取りませんでした。
何か助けが必要ですか?
ベストアンサー1
Windows ストアが開いたときに選択できるディストリビューションがありませんでした。その後、このコマンドを見つけてlxrun /install
、うまくいきました。
出力として次のようなものが得られます。
C:\WINDOWS\system32>lxrun /install
Warning: lxrun.exe is only used to configure the legacy Windows Subsystem for Linux distribution.
Distributions can be installed by visiting the Microsoft Store:
https://aka.ms/wslstore
This will install Ubuntu on Windows, distributed by Canonical and licensed under its terms available here:
https://aka.ms/uowterms
Type "y" to continue: y
Downloading from the Microsoft Store... 100%
Extracting filesystem, this will take a few minutes...
Would you like to set the Ubuntu locale to match the Windows locale (en-FI)?
The default locale is en_US.
Type "y" to continue: y
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: <you type your login here>
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Installation successful!
Documentation is available at: https://aka.ms/wsldocs