![]() The first time you run the distro things will seem a little slow. Use this to “open” Ubuntu (or whichever distro you chose). When you installed Ubuntu (or a different Linux distro) a shortcut was added to the Start Menu. Windows Terminal on the Microsoft Store 5. This tool is designed to give you the best possible WSL experience: #SIMPLY FORTRAN 2 GUI INSTALL#Whilst you in the Microsoft Store I highly recommend that you also install the open source Windows Terminal app. To install Ubuntu on Windows 10 open the Microsoft Store app, search for “Ubuntu 20.04”, and hit the “Get” button: But my personal recommendation is (naturally) Ubuntu 20.04 LTS (though 18.04 LTS and 16.04 LTS are also available). Several different distros are available, including OpenSUSE, Pengwin, Fedora Remix, and Alpine Linux. With WSL and the necessary virtualisation tech all in place all that is left for you to do is pick and install a Linux distro from the Microsoft Store. You can (at any time) configure a distro to run in WSL 1 mode if you need to. Open PowerShell as Administrator and run this command to set WSL 2 as the default version of WSL: wsl -set-default-version 2 To ensure all of the relevant bits and pieces fall neatly in to place you should restart your system at this point or you may find that things don’t work as intended. To enable Virtual Machine Platform on Windows 10 (1903, 1909) open PowerShell as Administrator and run: Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform -NoRestart To enable Virtual Machine Platform on Windows 10 (2004) open PowerShell as Administrator and run: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart This is separate from Hyper-V and hands some of the more interesting platform integrations available in the new version of the Windows Subsystem for Linux. WSL 2 requires Windows 10’s “Virtual Machine Platform” feature to be enabled. Only want to use WSL 1? You can skip to step 4. Be careful not to mistype or leave out any character in the command: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart To do this open the PowerShell tool as an Administrator and run the command below. Regardless of which version of WSL you want to use you first need to enable it. Note: it is possible to install WSL 1 using a GUI too but it’s much faster to use the command line, and since WSL is a CLI tool it kinda makes sense too! Step 1. You can find PowerShell in the Windows Start Menu. I recommend using the PowerShell app, which you need to run as an administrator. To install WSL 2 on Windows 10 (OS Build 1909 or 1903) you need to follow 4 steps: #SIMPLY FORTRAN 2 GUI UPDATE#If you use an earlier version of Windows 10 you can still install WSL 2 ( Microsoft backported WSL 2 to older versions of Windows 10 in Windows Update KB4566116) but the process isn’t quite as simple as in the 2004 update. #SIMPLY FORTRAN 2 GUI UPGRADE#Once done you can open the ‘Ubuntu’ app from the Start Menu to get started, or install the Microsoft Terminal app to start exploring your newly-installed Ubuntu install - don’t forget to run an apt update & apt upgrade though! Install WSL 2 (Old Method) The command prompt will open again and you’ll be walked through setting up Ubuntu with a username and password (these don’t need to be the same as your Windows username and password though). Once done, reboot and log in to Windows 10. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |