how to enable linux subsystem windows 10
Type the following command to enable the Linux subsystem and press Enter: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux By enabling Windows 10’s Linux subsystem, you can now easily access many useful open-source tools (like OpenSSL) on Windows. You’re now at your new Linux command line! Click About (you may need to scroll down). The linux subsystem will be downloaded from the windows store and you’ll be asked to create a Unix username and password. Wait for results to appear and once ready right click on Windows PowerShell and select the Run as administrator option. You can easily install Linux subsystem in Windows 10 by enabling a simple feature. (If you installed a different Linux distribution, you should check its documentation for how software updates are handled — this process varies significantly between distributions.) What for the installation and launch the Linux prompt, search for ubuntu in the start menu. Now we’re going to actually install a Linux distribution. Thanks to the Windows Subsystem for Linux (WSL) you can run complete Linux distributions within Windows 10. Copyright © SSL.com 2021. Here we are using Ubuntu 18.04 LTS focal fossa as the WSL Linux app, however, you can use Ubuntu 20.04 LTS as well. First, open the start menu and search for “ Turn Windows features on or off ” open it. Enable Windows Subsystem for Linux. Then press enter. You must first enable the "Windows Subsystem for Linux" optional feature before installing any Linux distributions on Windows. Victor writes "How to" guides, "Fix it" guides, reviews and buying guides. When the feature installation is completed, you will be prompted to restart your PC. Other than that, the Windows Subsystem for Linux … The feature won’t work until you reboot. Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux. Try something linux-y The final option to enable the Linux Subsystem is via PowerShell. Victor Ashiedu is the Managing Editor of Itechguides.com. • How we collect information about customers • How we use that information • Information-sharing policy, • Practices Statement • Document Repository, • Detailed guides and how-tos • Frequently Asked Questions (FAQ) • Articles, videos, and more, • How to Submit a Purchase Order (PO) • Request for Quote (RFQ) • Payment Methods • PO and RFQ Request Form, • Contact SSL.com sales and support • Document submittal and validation • Physical address, Home » How-Tos » Platform » Windows » Enable Linux Subsystem and Install Ubuntu in Windows 10. Wait for your changes to be applied, then click the Restart now button to restart your computer. This is a two-step process, the first step is to enable the WSL feature. Scroll down to view the version of Windows 10 you are running. I’ll be doing this with a fresh install of Debian from the Windows store, this was me wanting to understand if I could do it using Debian as well as with Ubuntu more than anything else. Install Kali Linux on Windows 10 Subsystem for Linux. This is optional. This how-to will walk you through checking your version of Windows for compatibility, enabling the Linux subsystem, and installing and updating a Linux distribution (Ubuntu). Before he started Itechguides.com, he worked in IT for close to 20 years. You can launch a Linux terminal at any time by selecting Ubuntu from the start menu. Enable the Windows Subsystem for Linux feature You can enable the feature using a GUI or command-line interface. In this tutorial, we will learn how to install Kali on the Windows Subsystem for Linux. If this happens, the workaround is to use these steps here to enable Developer Mode. Then press enter. Type the following command to enable WSL 1: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart. Here is the first method to enable Windows Subsystem for Linux in Windows 10: Type control panel in Windows 10 search bar. Begin typing “Turn Windows features on and off” into the Start Menu search field, then select the control panel when it appears. Windows subsystem for Linux allows you to run Linux shell commands from your Window PC. Check the box next to "Windows Subsystem for Linux (Beta)". Collect anonymous information such as the number of visitors to the site, and the most popular pages. Here is the result of the command in PowerShell with the feature status showing as “Disabled”. Note: There are two problems that you might face after this step: If you are seeing a message like: “Windows Subsystem for Linux has no installed distributions. This process will probably take at least a few minutes to complete, depending on your connection speed and how many packages need to be upgraded. Step 2: Enable Linux Subsystem Begin typing “Turn Windows features on and off” into the Start Menu search field, then select the control panel when it... Scroll down to Windows Subsystem for Linux, check the box, and then click the OK button. Your installation is ready to go! All of them are available via the Microsoft Store built into Windows 10. Using Bash, you can navigate around the file system, install and run Linux command line apps like the vi text editor or, with some unofficial tweaks, try … Then press enter. Assuming you have 64-bit Windows, to get started, head to Control Panel > Programs > Turn Windows Features On Or Off. Scroll down to Windows Subsystem for Linux, check the box, and then click the OK button. Open Microsoft Store page for your favorite Linux distribution. Tick Windows Subsystem for Linux (Beta) and click OK. Launching Ubuntu is pretty easy in Windows.Just go to search and type Ubuntu, it will show all the installed versions of Ubuntu.. You can also pin that in the Windows Taskbar or if you are using a new Windows Terminal you can configure in it. A terminal window will appear. Now that you have enabled Windows Subsystem for Linux, the final step to enable Linux shell in Windows 10 is to download your preferred Linux distro from Windows store. if i dont enable the Windows Subsystem for Linux feature and , and install the ubuntu app from microsoft store and start using it will I land into a trouble. 3. If you are running an incompatible version of Windows, you can also access Linux tools like OpenSSL by, Thank you for choosing SSL.com! Wait for the list to load. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful. To run Linux commands in Windows 10 you need to complete 2 tasks: If you have completed these two steps you should be able to enjoy Linux right from your Windows 10 PC. However, if you want to run media apps then you may face some problems due to sound and mic issues. If you have not installed the WSL on your Windows 10 or Server operating system then see this tutorial: Install & Enable Windows 10 or server WSL. Download and install your preferred Linux distro from Windows store. To see the available Linux distributions, type “Linux” into the search field, then click Run Linux on Windows. If you’ve spent way too much time partitioning hard drives to have several Linux systems installed with Windows, you’re in luck with this article. Note that cookies which are necessary for functionality cannot be disabled. All rights reserved. To get the ssh server working properly, you must uninstall and then reinstall it using the following command: sudo apt remove openssh-server ; sudo apt install openssh-server; Edit the sshd_config. Ubuntu will now download and install the packages. To use the app on the device alone, click, The Linux distribution will start downloading…. If you want to utilize the GUI, you can simply search for option to get the list of Windows features to enable a few things as shown in the screenshot below. Wait for Ubuntu to finish installing, then create a new Linux username and password when prompted. When Control Panel opens confirm that View by is set to Category. Enable the “Windows Subsystem for Linux” option in the list, and then click the “OK” button. Enter Y at the prompt to continue with installation. The first thing you need to do is to enable Windows Subsystem for Linux feature from PowerShell or from the Windows feature options. Then press enter. Click OK. Click Restart Now to Reboot your Computer. So that is how you can install and use Linux programs on Windows 10 using the awesome WSL feature. Then retype the password and press enter again. At the restart prompt, type Y. Keeping these cookies enabled helps us to improve our website. Launch cmd.exe. Navigate to the "Turn Windows Features On or Off" window. We're hiring! Update the system This tutorial can also be followed for any full-fledged supported Ubuntu-based Linux distro including Linux Mint, Elementary OS, and Debian. Finally, run this command to check dependencies and delete obsolete packages from the system (depending on how long the previous step took, you may have to enter our password again): Again, enter Y at the prompt to install the listed packages. This is the first time a Linux kernel is shipped with Windows. It can easily be accessed by typing in turn windows in the... 2. You’re all finished installing and updating Ubuntu Linux! Looking for a flexible environment that encourages creative thinking and rewards hard work? There are 2 high-level steps to be able to run Linux commands in Windows 10: The 3 methods discussed in this guide to enable Windows Subsystem for Linux in Windows 10 are: Here is the first method to enable Windows Subsystem for Linux in Windows 10: Another option is to use DISM command line to enable this feature. Steps to do the same are as follows: Step 1: Search and open Turn Windows features on or off in Start Menu. This website uses Google Analytics & Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages. Today, we will see how to enable WSL 2 in Windows 10. Please enable Strictly Necessary Cookies first so that we can save your preferences! After that, you can open up the Windows Store and search for “WSL,” which will display the available distros: The feature installation requires a restart. Check Windows version - Right click Windows button and click 'Run' - On the dialog box, type 'winver' and click 'Ok' Check Windows version : Turn on Windows Subsystem for Linux and Virtual Machine Platform from Windows Features. To check this, go to Start Button > Settings. Kali Linux is the Linux distribution popular with people (penetration testers, IT professionals, security consultants) who do security testing. Öffnen Sie PowerShell als Administrator, und führen Sie Folgendes aus: Open PowerShell as Administrator and run: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart When it’s finished churning, reboot the machine. Download MobaXterm. Type the following command to enable WSL 2: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart. To install Windows Subsystem for Linux 2 (WSL 2) on Windows 10, you need Windows 10 May 2020 update (Windows 10 version 2004 build 19041) or higher version. The Windows Subsystem for Linux or Windows WSL is a great solution for developers to natively work within Linux right on their Windows 10 version desktop. Windows will download and install Ubuntu. It ships a real Linux kernel with Windows that will make full system call compatibility possible. Indeed, to perform this tutorial you should have at least WSL 1 on your system with Ubuntu 20.04 or 180.04 Linux app installed. 1. Windows Features option. Enable the Windows Subsystem for Linux (Beta) option in the list here and click OK. After you do, you'll be prompted to reboot your computer. This is where you can enable extra features in Windows 10. Enable WSL 1 on Windows 10 Enabling Windows Subsystem Feature for Linux: To install Linux Subsystem, there is a need to Turn Windows features ON. wsl --set-version Ubuntu 1. No, you will not land in trouble – it will NOT work! Issue Publicly-Trusted Certificates in your Company's Name, Protect Personal Data While Providing Essential Services, North American Energy Standards Board (NAESB) Accredited Certificate Authority, Windows Certificate Management Application, Find out more about SSL.com, A Globally-Trusted Certificate Authority in business since 2002. Windows Subsystem for Linux Enabled; This Tutorial use the Ubuntu distro; Level of Difficulty: Beginner. Now is a good time to make sure that your installed software is up to date. This website uses cookies so that we can provide you with the best user experience possible. Step 7: Click the Start button (or press the Windows key), type bash, and press Enter. If you have any questions, please contact us by email at. To enable the feature, type this command and press enter. The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that enables you to run native Linux command-line tools directly on Windows. You’ll need version 1709 or greater to run the Linux subsystem. Install SSH. When it’s finished, click the Launch button. You can find out more about which cookies we are using or switch them off in the settings. In the search box below type powershell. For more information read our Cookie and privacy statement. I can confirm it works with Ubuntu 18.04 and Ubuntu 20.04 as well as Debian, the version of Debian I’m using is Debian GNU/Linux 10, if you want to check your version use cat /etc/issue in the terminal. Your PC will restart and start installing Windows Subsystem for Linux. When it is finished, use apt-get again to upgrade all packages to their latest versions.