Installing Ubuntu on Windows 11 using the Windows Subsystem for Linux (WSL)

Video Transcript

Transcript is automatically generated and may contain some errors

Hi folks, welcome back to another video in this video, we’re going to be taking a look at installing Ubuntu, which is a Linux distribution on Windows 11 using the Windows subsystem for Linux. 

So the first thing we’ve got to do is actually install the Windows subsystem for Linux on Windows. 

So to do that you can click on. 

Your start button in Windows and I find it easier to just search for the word features and if you spell it correctly, it. 

Might work a little. 

Better so if you search for feature and then you’ll see you have turn Windows features on or off. 

So if we select that we’ll get our Windows feature list. 

Now there’s a whole heap of different things that we can install in here. 

Most of them will be might be used by most people, but. 

If we Scroll down to the bottom, we’ll see we now have this Windows subsystem for Linux. 

We can select that, click on OK, and then that’ll go through, download the required files. 

For the Windows subsystem, it will install it and then it’ll ask us to restart our machine, so I’ll quickly restart and then once we’re back up and running, I’ll jump back in and we can go through the next step. 

OK, so our PCs now restarted. 

Now we can go back into our features. 

And see that our subsystem is installed. 

Yes, now if we run a command prompt. 

And we can use some basic Windows subsystem commands so we can go. 

We can type. 

WSO dash dash least and that will tell us that the Windows subsystem for Linux has no installed distributions, so we can install them by going to the Microsoft Store. So if we open the store app. 

We can either search directly for the Linux distribution that we want, in this case a bun to or we can search for. 

Linux, or you could search for WSL for Windows subsystem. 

For Linux there’s a whole heap of different Linux distributions that you can use, so you can have Kali Linux, which is, uh, uh, security testing platform. 

There’s DBN, but the one we want is Ubuntu. 

Now this based on when I looked at it last time. If we Scroll down, looks like it’ll install the 20.04 version, which is a long term release version. So if we click on get. 

And now it’s pending it’s downloading. 

It’s about 500 Meg download. As you can see, which will come. 

Down fairly quickly. 

Depending on your Internet speed, of course. 

And installs and it’s ready to go. 

So if we click on open. 

Now it’ll open up and it starts installing the Ubuntu Linux machine. 

And fairly shortly it should come up and asked us to add a username and password for this Linux installation. 

OK, so here it says, please create a default Linux user account so we’ll just call this Simon and we’ll give it a strong password. 

And there we go. 

So we now have a. 

A A bond to Linux installation running within our Windows environment so you can do all the things that you can do on a normal Linux instant implementation. 

You can see folders and the standard Linux implementation, so you can use this now for installing any kind of tools, any development tools, any servers that you might want to use for local development environment or anything like that in a. 

Future video will. 

Look at setting up Redis cache to be used. 

As a development tool, so thank you for watching this video. 

If you got benefit from this article, feel free to:

ABOUT THE AUTHOR

I’m the Technical Director at Expeed Technology in Adelaide, South Australia. In my day job I work on both Windows and Linux web hosting technologies and Windows and Web .NET development. In my spare time I tinker with video production, photograpy, and all things Azure, including IAAS, PAAS and Serverless. You can find me on Twitter over at @simonholman 

Share

Facebook
Twitter
LinkedIn

Related

Comment

Leave a Comment

Your email address will not be published.

Simon Holman Tech
Scroll to Top