It will install to whichever version of WSL your system recognizes as default, but you can alter that at installation to save the need to convert it later on. It doesn't really matter where you unpack and install the image, but it doesn't hurt to create a dedicated directory, especially if you plan on installing multiple distros in this fashion.Īdditionally, you can specify a version of WSL at the end with the -version flag. So, on my system, it looks like this: wsl -import Ubuntu-2110 c:/WSL/Ubuntu-2110 c:/Downloads/ Inside PowerShell, you will need to enter the following command to import and install Ubuntu 21.10: wsl -import We have a full guide on exporting and importing Linux distros in WSL that can help, but we'll still cover everything you need here. The process of installation begins with importing the downloaded image from Ubuntu into your WSL setup. Take a note of where you've downloaded the tar file from the steps above to as you'll need the file location as part of the install process. From here on out you're going to be in your PowerShell terminal.
0 Comments
Leave a Reply. |