{"id":17106,"date":"2023-06-15T18:58:37","date_gmt":"2023-06-15T16:58:37","guid":{"rendered":"https:\/\/contabo.com\/blog\/?p=17106"},"modified":"2023-07-03T10:44:31","modified_gmt":"2023-07-03T08:44:31","slug":"how-to-install-wsl2-on-windows-10","status":"publish","type":"post","link":"https:\/\/contabo.com\/blog\/how-to-install-wsl2-on-windows-10\/","title":{"rendered":"Installing Windows Subsystem for Linux 2 on Microsoft Windows 10 [How-To Guide]"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"630\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/blog-head_how2-install-windows-sub-for-linux-on-ms-windows.jpg\" alt=\"Installing Windows Subsystem for Linux 2 on Windows 10 (head image)\" class=\"wp-image-17130\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/blog-head_how2-install-windows-sub-for-linux-on-ms-windows.jpg 1200w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/blog-head_how2-install-windows-sub-for-linux-on-ms-windows-600x315.jpg 600w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/blog-head_how2-install-windows-sub-for-linux-on-ms-windows-768x403.jpg 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>In 2021 Microsoft introduced Windows Subsystem for Linux (short: WSL). With that you can run a Linux environment directly on your Windows machine without the need for tools like VirtualBox or dual-boot setups. You can just start a Linux session of your choice directly with the push of a button and without the need to restart your PC or workstation. All this works because of the built-in virtualization software called \u201cHyper-V\u201d. If you want to learn more about virtualization and how it\u2019s done at Contabo, check out our Cloud Explained Series here.&nbsp;<\/p>\n\n\n\n<p>In this beginner-friendly tutorial we will guide you through the process of installing and enabling WSL on your local machine and installing Ubuntu 22.04 LTS. But don\u2019t worry: Other distributions of Linux are also available. We will give you a full overview of all available distros later in the article.&nbsp;<\/p>\n\n\n\n<p>But for now, let&#8217;s start with the prerequisites.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-prerequisites\">Prerequisites<\/h2>\n\n\n\n<p>To follow this guide, make sure that your PC has <strong>Windows 10 Version 1903<\/strong> (or later) with <strong>Build 18362<\/strong> (or later).&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-enabling-wsl-on-your-machine\">Enabling WSL on Your Machine<\/h3>\n\n\n\n<p>By default, WSL is deactivated on your PC or workstation. In this first step we are going to activate it using the command line.&nbsp;<\/p>\n\n\n\n<p>Open the Start menu by pressing the Windows-Key and search for \u201cPowerShell\u201d. Now right click on Windows PowerShell and click on \u201cRun as administrator\u201d.&nbsp;&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"360\" height=\"681\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-1.png\" alt=\"Run PowerShell as Administrator\" class=\"wp-image-17113\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-1.png 360w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-1-317x600.png 317w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/figure>\n\n\n\n<p>You may need to confirm this in a popup menu by clicking on \u201cYes\u201d&nbsp;<\/p>\n\n\n\n<p>Now enable WSL by pasting in the following command:&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dism.exe \/online \/enable-feature \/featurename:Microsoft-Windows-Subsystem-Linux \/all \/norestart&nbsp;<\/code><\/pre>\n\n\n\n<p>If everything worked, this will be the output:&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"841\" height=\"127\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image.png\" alt=\"Enable WSL\" class=\"wp-image-17111\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image.png 841w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-600x91.png 600w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-768x116.png 768w\" sizes=\"auto, (max-width: 841px) 100vw, 841px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-enabling-virtual-machine-platform-and-wsl-2-on-windows\">Enabling Virtual Machine Platform and WSL 2 on Windows<\/h3>\n\n\n\n<p>In order to run the latest version of WSL, which is WSL 2, you need to enable \u201cWindows Virtual Machine Platform\u201d.&nbsp;&nbsp;<\/p>\n\n\n\n<p>To do so use this command:&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dism.exe \/online \/enable-feature \/featurename:VirtualMachinePlatform \/all \/norestart<\/code><\/pre>\n\n\n\n<p>The output will be similar to this:&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"856\" height=\"203\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-4.png\" alt=\"Enabling WSL 2\" class=\"wp-image-17115\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-4.png 856w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-4-600x142.png 600w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-4-768x182.png 768w\" sizes=\"auto, (max-width: 856px) 100vw, 856px\" \/><\/figure>\n\n\n\n<p>For all the new changes and enabled features to take effect you need to restart your PC.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-download-the-linux-kernel-update-package\">Download the Linux Kernel Update Package<\/h3>\n\n\n\n<p>Now it is time to download and install the Linux kernel update package.&nbsp;<\/p>\n\n\n\n<p>If you for whatever reason want to click on the download link on the official Microsoft website, the download link can be found <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/wsl\/install-manual#step-4---download-the-linux-kernel-update-package\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">here<\/a>.&nbsp;<\/p>\n\n\n\n<p>Otherwise, the direct download can be found when clicking <a href=\"https:\/\/wslstorestorage.blob.core.windows.net\/wslblob\/wsl_update_x64.msi\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">here<\/a>.&nbsp;<\/p>\n\n\n\n<p>After you\u2019ve downloaded the package, execute the file to start the installation and follow the instructions given in the Installation Wizard.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"495\" height=\"387\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-3.png\" alt=\"Download the Linux Kernel\" class=\"wp-image-17107\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-set-wsl-2-as-default\">Set WSL 2 as default<\/h3>\n\n\n\n<p>Now it\u2019s time to set the newest version of WSL, namely WSL 2, as the default. This can be archived by opening another PowerShell terminal as administrator (as shown earlier) and executing the following command:&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wsl --set-default-version 2<\/code><\/pre>\n\n\n\n<p>The output will be like this:&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"855\" height=\"124\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-2.png\" alt=\"set default wsl version\" class=\"wp-image-17109\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-2.png 855w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-2-600x87.png 600w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-2-768x111.png 768w\" sizes=\"auto, (max-width: 855px) 100vw, 855px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-installing-a-linux-distribution-of-your-choice-using-wsl\">Installing a Linux Distribution of Your Choice Using WSL<\/h2>\n\n\n\n<p>Now that we have fully prepared our system and installed all the requirements, we can finally continue with the actual installation of a Linux subsystem on our local PC.&nbsp;<\/p>\n\n\n\n<p>Now it\u2019s your choice which distribution of Linux you want to install. Here is an overview of all Linux-distros that are supported by WSL 2 (and the way of installation)&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Linux Distribution&nbsp;<\/td><td>Installation via MS Store&nbsp;<\/td><td>Installation via CLI&nbsp;<\/td><\/tr><tr><td>Ubuntu 16.04&nbsp;<\/td><td>No&nbsp;<\/td><td>Yes&nbsp;<\/td><\/tr><tr><td>Ubuntu 18.04&nbsp;<\/td><td>No&nbsp;<\/td><td>Yes&nbsp;<\/td><\/tr><tr><td>Ubuntu 18.04 ARM&nbsp;<\/td><td>No&nbsp;<\/td><td>Yes&nbsp;<\/td><\/tr><tr><td>Ubuntu 18.04 LTS&nbsp;<\/td><td>Yes&nbsp;<\/td><td>No&nbsp;<\/td><\/tr><tr><td>Ubuntu 20.04&nbsp;<\/td><td>No&nbsp;<\/td><td>Yes&nbsp;<\/td><\/tr><tr><td>Ubuntu 20.04 ARM&nbsp;<\/td><td>No&nbsp;<\/td><td>Yes&nbsp;<\/td><\/tr><tr><td>Ubuntu 20.04 LTS&nbsp;<\/td><td>Yes&nbsp;<\/td><td>No&nbsp;<\/td><\/tr><tr><td>Ubuntu 22.04 LTS&nbsp;<\/td><td>Yes&nbsp;<\/td><td>Yes&nbsp;<\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td>Debian GNU\/Linux&nbsp;<\/td><td>Yes&nbsp;<\/td><td>Yes&nbsp;<\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td>openSUSE Leap 15.1&nbsp;<\/td><td>Yes&nbsp;<\/td><td>No&nbsp;<\/td><\/tr><tr><td>OpenSUSE Leap 15.2&nbsp;<\/td><td>No&nbsp;<\/td><td>Yes&nbsp;<\/td><\/tr><tr><td>OpenSUSE Leap 15.3&nbsp;<\/td><td>No&nbsp;<\/td><td>Yes&nbsp;<\/td><\/tr><tr><td>OpenSUSE Tumbleweed&nbsp;<\/td><td>No&nbsp;<\/td><td>&nbsp;Yes<\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td>SUSE Linux Enterprise Server 12&nbsp;<\/td><td>No&nbsp;<\/td><td>Yes&nbsp;<\/td><\/tr><tr><td>SUSE Linux Enterprise Server 12 SP5&nbsp;<\/td><td>Yes&nbsp;<\/td><td>No&nbsp;<\/td><\/tr><tr><td>SUSE Linux Enterprise Server 15 SP1&nbsp;<\/td><td>Yes&nbsp;<\/td><td>No&nbsp;<\/td><\/tr><tr><td>SUSE Linux Enterprise Server 15 SP2&nbsp;<\/td><td>No&nbsp;<\/td><td>Yes&nbsp;<\/td><\/tr><tr><td>SUSE Linux Enterprise Server 15 SP3&nbsp;<\/td><td>No&nbsp;<\/td><td>Yes&nbsp;<\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td>Kali Linux&nbsp;<\/td><td>Yes&nbsp;<\/td><td>Yes&nbsp;<\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td>Fedora Remix for WSL&nbsp;<\/td><td>Yes&nbsp;<\/td><td>Yes&nbsp;<\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td>Pengwin&nbsp;<\/td><td>Yes&nbsp;<\/td><td>No&nbsp;<\/td><\/tr><tr><td>Pengwin Enterprise&nbsp;<\/td><td>Yes&nbsp;<\/td><td>No&nbsp;<\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td>Alpine WSL&nbsp;<\/td><td>Yes&nbsp;<\/td><td>No&nbsp;<\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td>Raft (Free Trial)&nbsp;<\/td><td>Yes&nbsp;<\/td><td>No&nbsp;<\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td>Oracle Linux 7.9&nbsp;<\/td><td>No&nbsp;<\/td><td>Yes&nbsp;<\/td><\/tr><tr><td>Oracle Linux 8.5&nbsp;<\/td><td>No&nbsp;<\/td><td>Yes&nbsp;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Once you\u2019ve chosen which Linux distribution you want to use, we can continue with the installation.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-installation-via-the-microsoft-store\">Installation via the Microsoft Store<\/h3>\n\n\n\n<p>One of the two ways to install the most popular distributions is through the Microsoft Store.&nbsp;<\/p>\n\n\n\n<p>An overview of all the links which will lead to the corresponding Microsoft Store page can be found here: <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/wsl\/install-manual#step-6---install-your-linux-distribution-of-choice\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">https:\/\/learn.microsoft.com\/en-us\/windows\/wsl\/install-manual#step-6&#8212;install-your-linux-distribution-of-choice<\/a>&nbsp;<\/p>\n\n\n\n<p>Once you find the fitting Distro for you, just click on the link and the MS Store page will open.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"564\" height=\"276\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-5.png\" alt=\"install ubuntu in ms store\" class=\"wp-image-17117\"\/><\/figure>\n\n\n\n<p>To install Ubuntu 22.04.02 LTS just click on \u201cGet\u201d and wait until the installation has finished.&nbsp;<\/p>\n\n\n\n<p>Now click on \u201cOpen\u201d.&nbsp;<\/p>\n\n\n\n<p>After a few seconds of installation, you will be prompted to create an account for your Ubuntu instance:&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"979\" height=\"512\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-7.png\" alt=\"create a new ubuntu user\" class=\"wp-image-17123\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-7.png 979w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-7-600x314.png 600w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-7-768x402.png 768w\" sizes=\"auto, (max-width: 979px) 100vw, 979px\" \/><\/figure>\n\n\n\n<p>After choosing a username you will be prompted to create a password for this account.&nbsp;<\/p>\n\n\n\n<p><strong>Congrats!<\/strong> Now your Ubuntu instance is set up and fully configured.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-installation-via-command-line-interface-cli\">Installation via Command Line Interface (CLI)<\/h3>\n\n\n\n<p>If the distribution you want to install isn\u2019t available via the Microsoft Store, you can install it using the command line.&nbsp;<\/p>\n\n\n\n<p>To do so, start another PowerShell as administrator. To get the link of the Linux distribution you want to install, check out Microsoft&#8217;s official Documentation <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/wsl\/install-manual#downloading-distributions\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">here<\/a>. Make a right click on the Distro you want to install and click on \u201cCopy link address\u201d.&nbsp;<\/p>\n\n\n\n<p>The link for Debian would look like this:&nbsp;<br><a href=\"https:\/\/aka.ms\/wsl-debian-gnulinux\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">https:\/\/aka.ms\/wsl-debian-gnulinux<\/a>&nbsp;<\/p>\n\n\n\n<p>Now go back into the terminal and use the following command to download the Linux distribution you just chose:&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl.exe -L -o ubuntu-2004.appx &#91;link_to_your_linux_distro]&nbsp;<\/code><\/pre>\n\n\n\n<p>For our example, the command to download Debian would look like this:&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl.exe -L -o ubuntu-2204.appx <a href=\"https:\/\/aka.ms\/wsl-debian-gnulinux\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">https:\/\/aka.ms\/wsl-debian-gnulinux<\/a>&nbsp;&nbsp;<\/code><\/pre>\n\n\n\n<p>After the download has finished, add the Appx-Package with the following command:&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Add-AppxPackage .\\app_name.appx&nbsp;<\/code><\/pre>\n\n\n\n<p>For our example the command would look like this:&nbsp;&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Add-AppxPackage .\\debian.appx<\/code><\/pre>\n\n\n\n<p>Now go the the folder where you downloaded this Distro to and double-click on it to install it.&nbsp;<\/p>\n\n\n\n<p>Now click on \u201cInstall\u201d&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"413\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-6.png\" alt=\"Install debian using cli\" class=\"wp-image-17119\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-6.png 650w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-6-600x381.png 600w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/figure>\n\n\n\n<p>After the installation hit \u201cLaunch\u201d&nbsp;<\/p>\n\n\n\n<p>After a short installation phase, you will be prompted to create an account for your Debian instance:&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"979\" height=\"512\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-9.png\" alt=\"create a new debian user\" class=\"wp-image-17125\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-9.png 979w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-9-600x314.png 600w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/image-9-768x402.png 768w\" sizes=\"auto, (max-width: 979px) 100vw, 979px\" \/><\/figure>\n\n\n\n<p>After choosing a username you will be prompted to create a password for this account.&nbsp;<\/p>\n\n\n\n<p><strong>Congrats! <\/strong>Now your Debian instance is set up and fully configured.&nbsp;<\/p>\n\n\n\n<p>For more Linux- &amp; Windows-related tutorials check out our other articles <a href=\"https:\/\/contabo.com\/blog\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Discover how to easily install Windows Subsystem for Linux 2 (WSL 2) on your Windows 10 system and leverage the best of both worlds.<\/p>\n","protected":false},"author":50,"featured_media":17130,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[18],"tags":[],"ppma_author":[1491],"class_list":["post-17106","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"uagb_featured_image_src":{"full":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/blog-head_how2-install-windows-sub-for-linux-on-ms-windows.jpg",1200,630,false],"thumbnail":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/blog-head_how2-install-windows-sub-for-linux-on-ms-windows-150x150.jpg",150,150,true],"medium":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/blog-head_how2-install-windows-sub-for-linux-on-ms-windows-600x315.jpg",600,315,true],"medium_large":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/blog-head_how2-install-windows-sub-for-linux-on-ms-windows-768x403.jpg",768,403,true],"large":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/blog-head_how2-install-windows-sub-for-linux-on-ms-windows.jpg",1200,630,false],"1536x1536":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/blog-head_how2-install-windows-sub-for-linux-on-ms-windows.jpg",1200,630,false],"2048x2048":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/06\/blog-head_how2-install-windows-sub-for-linux-on-ms-windows.jpg",1200,630,false]},"uagb_author_info":{"display_name":"Tobias Mildenberger","author_link":"https:\/\/contabo.com\/blog\/author\/tobias\/"},"uagb_comment_info":0,"uagb_excerpt":"Discover how to easily install Windows Subsystem for Linux 2 (WSL 2) on your Windows 10 system and leverage the best of both worlds.","authors":[{"term_id":1491,"user_id":50,"is_guest":0,"slug":"tobias","display_name":"Tobias Mildenberger","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/077178d5dce6c3d4c0c0396857a7e544bfdf8adf04145fff5160b33a22e28b1f?s=96&d=mm&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/posts\/17106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/users\/50"}],"replies":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/comments?post=17106"}],"version-history":[{"count":5,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/posts\/17106\/revisions"}],"predecessor-version":[{"id":17158,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/posts\/17106\/revisions\/17158"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/media\/17130"}],"wp:attachment":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/media?parent=17106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/categories?post=17106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/tags?post=17106"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=17106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}