Ubuntu version command line9/27/2023 ![]() ![]() For command reference, you can use this Microsoft documentation page. Once you complete the steps, you can start using the Linux terminal on Windows 10 to access apps, such as Git, Ruby, Python, grep, awk, sed, and many more tools. For example, “Ubuntu 22.04 LTS.”Ĭlick the Open button to start Ubuntu on Windows 10.Ĭontinue with the on-screen directions to complete the setup. Search for Turn Windows Features on or off and click the top result to open the Windows Features settings.Ĭheck the “Virtual Machine Platform” option.Ĭheck the “Windows Subsystem for Linux” option. ![]() To install Ubuntu on WSL from the Microsoft Store on Windows 10, use these steps: Install Ubuntu on Windows 10 from Microsoft Store Restart your computer to finish the WSL and Ubuntu installation.Ĭontinue with the Linux distro setup as necessary.Īfter you complete the steps, the Linux distribution will install on your computer. This example installs version 20.04: wsl -install -d Ubuntu-20.04 In the command, change “UBUNTU-VERSION” to the name of the version you want to install. (Optional) Type the following command to install a specific version of Ubuntu on Windows 10 and press Enter: wsl -install -d UBUNTU-VERSION (Optional) Type the following command to view all the available distros and press Enter: wsl -list -online (Optional) Type the following command to install Ubuntu if you already have WSL installed, and press Enter: wsl -install -d Ubuntu As you work at the command line, you may find that you often want to change to some other directory, do one or two things, and then return to the directory. Type the following command to install the WSL and Ubuntu Linux on Windows 10 and press Enter: wsl -install Search for Command Prompt, right-click the top result, and select the Run as administrator option. To install Ubuntu on Windows 10, use these steps: Install Ubuntu on Windows 10 from Microsoft Store.This guide will teach you the steps to install Ubuntu on Windows 10. However, for this to happen, the company has partnered with the guys behind Ubuntu Linux (Canonical) to expand the command line toolset on Windows 10.Īlthough Linux integration into Windows 10 is not included by default, installing Linux distros is not difficult once you set up the Windows Subsystem for Linux 2 (WSL2) platform on your device. Microsoft is moving to get more developers to code on any platform but using Windows 10 as their main tool. You can install the Ubuntu distribution alongside Windows 10 to run your favorite Linux tools without switching computers or creating a virtual machine. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |