Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Linux by (18.4k points)

I am trying to use the bash on Windows 10, but I'm getting this message when tried to run the bash:

Windows Subsystem for Linux has no installed distributions. Distributions can be installed by visiting the Windows Store: https://aka.ms/wslstore Press any key to continue...

When I go to the URL which opens this Windows Store app, there no sign of any Linux distribution there.

This is my windows version is(as in my right bottom corner of the screen):

Windows 10 Enterprise Insider Preview. Evaluation copy.Build 16215.rs_prerelease.170603-1840

 

1 Answer

0 votes
by (36.8k points)
edited by

When your Windows Store opened, there is no Distro to choose, then I found the command lxrun /install and it worked for me.

You will get something like this as an output:

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

The above will install Ubuntu on your Windows system, which is distributed by Canonical and licensed under its terms that 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

 Want to be a Linux expert? Come and join this linux course

Related questions

0 votes
1 answer
asked Dec 15, 2020 in Linux by blackindya (18.4k points)
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...