<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Wsl on Felix Itzenplitz</title>
    <link>https://itzenplitz.net/en/tags/wsl/</link>
    <description>Recent content in Wsl on Felix Itzenplitz</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 24 Jun 2022 18:23:12 +0200</lastBuildDate>
    <atom:link href="https://itzenplitz.net/en/tags/wsl/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>WSL2: Enabling systemd in Ubuntu 22.04</title>
      <link>https://itzenplitz.net/en/posts/wsl-enabling-systemd-ubuntu22.04/</link>
      <pubDate>Fri, 24 Jun 2022 18:23:12 +0200</pubDate>
      <guid>https://itzenplitz.net/en/posts/wsl-enabling-systemd-ubuntu22.04/</guid>
      <description>&lt;p&gt;Since Ubuntu 22.04 it is possible to use systemd in an experimental state on WSL installations.
This guide explains how you can easily set it up in just a few steps.&lt;/p&gt;
&lt;h3 id=&#34;setup-guide&#34;&gt;Setup Guide&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Install &lt;code&gt;wsl-setup&lt;/code&gt; package, if its not already there.&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo apt install wsl-setup
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;Create a &lt;code&gt;/etc/wsl.conf&lt;/code&gt; file (&lt;a href=&#34;https://docs.microsoft.com/en-us/windows/wsl/wsl-config&#34;&gt;WSL Configuration Documentation&lt;/a&gt;):&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For WSL comes with Windows 10/11:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;[&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;boot&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nx&#34;&gt;command&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;/usr/libexec/wsl-systemd&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For WSL Preview from MS Store in Windows 11:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
