kmfkforall.blogg.se

How to install linux on windows 10
How to install linux on windows 10









how to install linux on windows 10

Start with the canonical "Hello World" app. sudo apt update sudo apt install python3 python3-pip If you don't have Python already installed, run the following commands to install Python3 and pip, the package manager for Python, into your Linux installation. You'll need to create a user ID and password since you are setting up a full Linux instance. This will open a Linux terminal and complete the installation. Choose the Linux distribution you want to install (for example Ubuntu) and follow the prompts.Īnd when done, select Launch to get started. You can use the store app, or search for a Linux distro in the Windows search bar. You install Linux distributions for WSL from the Microsoft Store. WSL is enabled, but you haven't installed a Linux distribution yet. If you prefer, you can open PowerShell as an Administrator and type: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-LinuxĪfter the command runs, you will be prompted to restart Windows.Īfter restarting Windows, you can check that you have WSL enabled by opening a Command Prompt and typing 'wsl'. Select OK and you will be prompted to restart Windows. Scroll down and check Windows Subsystem for Linux. In the Windows search bar, type 'features' to bring up the Turn Windows Features on and off dialog. You can enable it through the Windows Features dialog or PowerShell. Windows Subsystem for Linux (WSL) is an optional feature on Windows 10. The Remote Status bar item can quickly show you in which context VS Code is running (local or remote) and clicking on the item will bring up the WSL extension commands. With the WSL extension installed, you will see a new Status bar item at the far left. The WSL extension enables you to run Visual Studio Code within the Windows Subsystem for Linux (WSL). This tutorial walks you through enabling Windows Subsystem for Linux (WSL) and running Visual Studio Code in WSL using the WSL extension. Configure IntelliSense for cross-compiling.











How to install linux on windows 10