<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	 xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>WSL &#8211; AnonyViet &#8211; English Version</title>
	<atom:link href="https://en.anonyviet.com/tag/wsl/feed/" rel="self" type="application/rss+xml" />
	<link>https://en.anonyviet.com</link>
	<description>The most popular website for sharing information technology, computer networks, and security knowledge. Stay up to date with the hottest news and tips</description>
	<lastBuildDate>Fri, 05 Dec 2025 21:56:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.2</generator>

<image>
	<url>https://en.anonyviet.com/wp-content/uploads/2023/01/cropped-ico-logo-75x75-1.png</url>
	<title>WSL &#8211; AnonyViet &#8211; English Version</title>
	<link>https://en.anonyviet.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to completely uninstall WSL on Windows 11?</title>
		<link>https://en.anonyviet.com/how-to-completely-uninstall-wsl-on-windows-11/</link>
					<comments>https://en.anonyviet.com/how-to-completely-uninstall-wsl-on-windows-11/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Fri, 05 Dec 2025 21:56:17 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[completely]]></category>
		<category><![CDATA[Uninstall]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WSL]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=20896</guid>

					<description><![CDATA[Uninstall WSL on Windows 11 can be more complicated than you think, it&#8217;s more than just a simple click on the “Uninstall” button. Whether it&#8217;s to free up space, fix problems, or simply no longer need it, completely uninstalling it requires you to perform many steps in a certain order. Don&#8217;t worry, this article will [&#8230;]]]></description>
										<content:encoded><![CDATA[
<div id="ftwp-postcontent">
<p><strong>Uninstall WSL on Windows 11</strong> can be more complicated than you think, it&#8217;s more than just a simple click on the “Uninstall” button. Whether it&#8217;s to free up space, fix problems, or simply no longer need it, completely uninstalling it requires you to perform many steps in a certain order. Don&#8217;t worry, this article will help you thoroughly and safely clean Windows Subsystem for Linux from your computer.</p>
<div align="center">
<table class="aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"> <span style="font-size: 12pt;"> <strong>Join the channel <span style="color: #0000ff;">Telegram</span> belong to <span style="color: #008080;">AnonyViet</span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietoffical" target="_blank" class="local-link">Link</a></span>  👈</strong> </span> </td>
</tr>
</tbody>
</table>
</div>
<h2 id="ftoc-tai-sao-can-go-cai-dat-wsl-tren-windows-11" class="ftwp-heading"><strong>Why is it necessary to uninstall WSL on Windows 11?</strong></h2>
<p>Windows Subsystem for Linux (<a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fhuong-dan-cach-cai-ubuntu-tren-windows-11-bang-wsl-wsl2%2F" class="local-link">WSL</a>) is an extremely useful feature for developers and users who need to work side-by-side between two operating systems. However, there will come a time when you no longer need it. Some common reasons include:</p>
<ul>
<li>You want to free up storage space on your hard drive.</li>
<li>You need to reinstall WSL to fix the problems you are having.</li>
<li>You have finished your work and no longer need to use the environment<strong><a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fwww.linux.org%2F" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">  Linux </a></strong>on Windows.</li>
</ul>
<p>Whatever the reason, proper removal will ensure your system is clean and leaves no junk files behind.</p>
<figure id="attachment_91869" aria-describedby="caption-attachment-91869" style="width: 600px" class="wp-caption aligncenter"><img fetchpriority="high" decoding="async" class="wp-image-91869 size-full" src="https://anonyviet.com/wp-content/uploads/2025/07/go-cai-dat-wsl-tren-windows-11-1.jpg" alt="Why is it necessary to uninstall WSL on Windows 11?" width="600" height="400" title="How to completely uninstall WSL on Windows 11? 9" srcset="https://anonyviet.com/wp-content/uploads/2025/07/go-cai-dat-wsl-tren-windows-11-1.jpg 600w, https://anonyviet.com/wp-content/uploads/2025/07/go-cai-dat-wsl-tren-windows-11-1-300x200.jpg 300w" sizes="(max-width: 600px) 100vw, 600px"/><figcaption id="caption-attachment-91869" class="wp-caption-text">Why is it necessary to uninstall WSL on Windows 11?</figcaption></figure>
<h2 id="ftoc-huong-dan-go-cai-dat-wsl-tren-windows-11" class="ftwp-heading"><strong>Instructions for uninstalling WSL on Windows 11</strong></h2>
<p>To completely remove WSL, you cannot just uninstall a single application. This process includes three main stages: Uninstalling Linux distributions, removing WSL components and finally disabling related features in Windows.</p>
<h3 id="ftoc-1-go-bo-cac-ban-phan-phoi-linux" class="ftwp-heading"><strong>1. Uninstall Linux distributions</strong></h3>
<p>This is the first and most important step. You need to remove all Linux distributions (like Ubuntu, Debian, Kali,…) that you installed through WSL.</p>
<ul>
<li>First, you need to open the application <strong>Settings</strong> on Windows 11.</li>
<li>Next, click on the item <strong>Apps</strong> in the left bar.</li>
<li>Then you choose the page <strong>Installed apps</strong>.</li>
<li>Here, you find the Linux distribution you want to uninstall (for example, Ubuntu).</li>
<li>You click the menu button (three dots icon) on the right and select <strong>Uninstall</strong>.</li>
</ul>
<figure id="attachment_91870" aria-describedby="caption-attachment-91870" style="width: 600px" class="wp-caption aligncenter"><img decoding="async" class="wp-image-91870 size-full" src="https://anonyviet.com/wp-content/uploads/2025/07/go-cai-dat-wsl-tren-windows-11-2.jpg" alt="Instructions for uninstalling WSL on Windows 11" width="600" height="278" title="How to completely uninstall WSL on Windows 11? 10" srcset="https://anonyviet.com/wp-content/uploads/2025/07/go-cai-dat-wsl-tren-windows-11-2.jpg 600w, https://anonyviet.com/wp-content/uploads/2025/07/go-cai-dat-wsl-tren-windows-11-2-300x139.jpg 300w" sizes="(max-width: 600px) 100vw, 600px"/><figcaption id="caption-attachment-91870" class="wp-caption-text">Instructions for uninstalling WSL on Windows 11</figcaption></figure>
<ul>
<li>Finally, you confirm again by clicking<strong> Uninstall</strong>.</li>
</ul>
<p>You need to repeat this process until all Linux distributions have been completely removed from the computer.</p>
<h3 id="ftoc-2-xoa-cac-thanh-phan-wsl" class="ftwp-heading"><strong>2. Remove WSL components</strong></h3>
<p>After removing the distros, the next step is to remove core WSL components such as the Linux kernel and GUI components. Previously, you could do this in Settings, but on new versions of Windows 11, this option has been hidden. Therefore, use <strong>PowerShell</strong> is the most effective way.</p>
<ul>
<li>Open Start Menu.</li>
<li>Keyword search <strong>PowerShell</strong>right click on the top result and select <strong>Run as administrator</strong>.</li>
<li>In the PowerShell window, copy and paste the following command and press Enter:</li>
</ul>
<p><em><strong>Get-AppxPackage MicrosoftCorporationII.WindowsSubsystemForLinux | Remove-AppxPackage</strong></em></p>
<figure id="attachment_91871" aria-describedby="caption-attachment-91871" style="width: 600px" class="wp-caption aligncenter"><img decoding="async" class="wp-image-91871 size-full" src="https://anonyviet.com/wp-content/uploads/2025/07/go-cai-dat-wsl-tren-windows-11-3.jpg" alt="Paste the following command and press Enter" width="600" height="281" title="How to completely uninstall WSL on Windows 11? 11" srcset="https://anonyviet.com/wp-content/uploads/2025/07/go-cai-dat-wsl-tren-windows-11-3.jpg 600w, https://anonyviet.com/wp-content/uploads/2025/07/go-cai-dat-wsl-tren-windows-11-3-300x141.jpg 300w" sizes="(max-width: 600px) 100vw, 600px"/><figcaption id="caption-attachment-91871" class="wp-caption-text">Paste the following command and press Enter</figcaption></figure>
<p>This command will find and remove the “Windows Subsystem for Linux” application package from your system.</p>
<h3 id="ftoc-3-xoa-wsl-khoi-windows-11" class="ftwp-heading"><strong>3. Remove WSL from Windows 11</strong></h3>
<p>The final step is to turn off the Windows platform features that make WSL work.</p>
<ul>
<li>Open again <strong>Settings</strong>.</li>
<li>Go to section<strong> System</strong> then select page<strong> Optional features</strong>.</li>
<li>In the “Related settings” section, click on options <strong>More Windows features</strong>.</li>
</ul>
<figure id="attachment_91872" aria-describedby="caption-attachment-91872" style="width: 600px" class="wp-caption aligncenter"><img decoding="async" class="wp-image-91872 size-full" src="https://anonyviet.com/wp-content/uploads/2025/07/go-cai-dat-wsl-tren-windows-11-4.jpg" alt="Select More Windows features" width="600" height="298" title="How to completely uninstall WSL on Windows 11? 12" srcset="https://anonyviet.com/wp-content/uploads/2025/07/go-cai-dat-wsl-tren-windows-11-4.jpg 600w, https://anonyviet.com/wp-content/uploads/2025/07/go-cai-dat-wsl-tren-windows-11-4-300x149.jpg 300w, https://anonyviet.com/wp-content/uploads/2025/07/go-cai-dat-wsl-tren-windows-11-4-360x180.jpg 360w" sizes="(max-width: 600px) 100vw, 600px"/><figcaption id="caption-attachment-91872" class="wp-caption-text">Select More Windows features</figcaption></figure>
<ul>
<li>A “Windows Features” window will appear. Here, you need to find and uncheck the following two items:</li>
</ul>
<ol>
<li>Virtual Machine Platform</li>
<li>Windows Subsystem for Linux</li>
</ol>
<ul>
<li>After deselecting, you click the button <strong>OK</strong> for Windows to begin the uninstallation process.</li>
<li>Finally, the system will ask to reboot, click the button<strong> Restart now</strong> to complete.</li>
</ul>
<p>After the computer restarts, Windows Subsystem for Linux will be completely removed from your system.</p>
<h2 id="ftoc-ket-bai" class="ftwp-heading"><strong>Conclusion</strong></h2>
<p>So, with just a few steps in the right order, you can do it <strong>uninstall WSL on Windows 11</strong> completely. This ensures that no WSL components remain on the system, helping your computer become cleaner and operate more stably. If you need it later, you can completely reinstall WSL easily.</p>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/how-to-completely-uninstall-wsl-on-windows-11/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2025/07/go-cai-dat-wsl-tren-windows-11.jpg" medium="image"></media:content>
            	</item>
		<item>
		<title>How to install Kali Linux on Windows 10 using WSL</title>
		<link>https://en.anonyviet.com/how-to-install-kali-linux-on-windows-10-using-wsl/</link>
					<comments>https://en.anonyviet.com/how-to-install-kali-linux-on-windows-10-using-wsl/#comments</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Wed, 25 Jan 2023 22:33:39 +0000</pubDate>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Kali]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WSL]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=3392</guid>

					<description><![CDATA[To be able to use Kali Linux or any Linux operating system on Windows 10, the first thing that comes to your mind is definitely a Virtual Machine, but I will show you how to install WSL on Windows 10 to run Kali Linux or any other. any other Linux operating system. Let&#8217;s find out [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p><strong>To be able to use Kali Linux or any Linux operating system on Windows 10, the first thing that comes to your mind is definitely a Virtual Machine, but I will show you how to install WSL on Windows 10 to run Kali Linux or any other. any other Linux operating system.  Let&#8217;s find out with us!</strong></p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<h2 id="ftoc-wsl-la-gi" class="ftwp-heading">What is WSL?</h2>
<p>WSL or Window Subsystem for Linux is a subsystem for Window 10 to run EFI-based linux.  WSL can be used on Windows 10, Window 11 and Window server 2019 for x64-based use and it allows to run Linux operating systems (GNU/Linux).  Some things you can do with WSL:</p>
<ul>
<li>Find the operating system from the Microsoft Store.  All those operating systems are 100% Free</li>
<li>Run commands like normal linux like cd, grep, bash, apt,….  or any Linux 64-bit (ELF-64) binaries</li>
<li>Run tools, programming languages, and services.</li>
<li>Run Linux Applications on Windows</li>
<li>Access Windows Files from Linux</li>
</ul>
<h3 id="ftoc-chuan-bi" class="ftwp-heading">Prepare</h3>
<ul>
<li>For x64: Window needs to be version 1903 with Build 18362</li>
<li>For ARM64: Windows needs to be 2004 version with Build 19041</li>
</ul>
<h2 id="ftoc-huong-dan-cai-kali-linux-tren-wsl" class="ftwp-heading">Instructions for installing Kali linux on WSL</h2>
<p>Installing Kali Linux on WSL will save you resources on Windows because there is no need to install additional VMWare.</p>
<p>To avoid future errors, please download after completing the steps below <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fwslstorestorage.blob.core.windows.net%2Fwslblob%2Fwsl_update_x64.msi" rel="nofollow noopener external" class="ext-link" onclick="this.target='_blank';">WSL2 Linux kernel update package for x64 machines</a> to avoid future errors.  Please install this first <strong>Reboot</strong> for WSL to work.</p>
<p>After the installation is complete, run the following command in <strong>PowerShell</strong> to set WSL 2 as default!</p>
<p><code>wsl --set-default-version 2</code></p>
<p>Then you check the WSL Version again.  After checking, please Restart the computer</p>
<p><code>wsl --list --verbose</code></p>
<h3 id="ftoc-bat-windows-subsystem-for-linux-va-virtual-machine" class="ftwp-heading">Enable Windows Subsystem for Linux and Virtual Machine</h3>
<h4 id="ftoc-cach-1-su-dung-control-panel-co-admin-nhe" class="ftwp-heading">Method 1: Use Control Panel (with admin)</h4>
<p><strong>Step 1</strong>: Go to Control Panel</p>
<p><strong>Step 2</strong>: Go to Program</p>
<p><strong>Step 3</strong>: Select Turn Window Features on or off</p>
<p><strong>Step 4</strong>: Check Windows Subsystem for Linux and Virtual Machine Platform.  Then press OK</p>
<p><img decoding="async" class="size-full wp-image-33191 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/a-75.jpg" alt="Enable Window Subsystem for Linux and Virtual Machine PlatForm" width="413" height="365" srcset="https://anonyviet.com/wp-content/uploads/2021/08/a-75.jpg 413w, https://anonyviet.com/wp-content/uploads/2021/08/a-75-300x265.jpg 300w" sizes="(max-width: 413px) 100vw, 413px" title="How to install Kali Linux on Windows 10 using WSL 16"/></p>
<p><strong>Step 5</strong>: Guys Restart your computer</p>
<h4 id="ftoc-cach-2-su-dung-powershell" class="ftwp-heading">Method 2: Use PowerShell</h4>
<p><strong>Step 1</strong>: Enter PowerShell with Administrator rights</p>
<p><strong>Step 2</strong>: Enter the following command to enable Window Subsystem for Linux</p>
<p><code>dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart</code></p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-33193 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/a-1.png" alt="Enable Windows Subsystem for Linux" width="857" height="190" srcset="https://anonyviet.com/wp-content/uploads/2021/08/a-1.png 857w, https://anonyviet.com/wp-content/uploads/2021/08/a-1-300x67.png 300w, https://anonyviet.com/wp-content/uploads/2021/08/a-1-768x170.png 768w, https://anonyviet.com/wp-content/uploads/2021/08/a-1-750x166.png 750w" sizes="auto, (max-width: 857px) 100vw, 857px" title="How to install Kali Linux on Windows 10 using WSL 17"/></p>
<p><strong>Step 3</strong>: Enter the following command to enable Virtual Machine Platform</p>
<p><code>dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart</code></p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-33194 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/1617427508813.png" alt="Enable Virtual Machine Platform" width="807" height="283" srcset="https://anonyviet.com/wp-content/uploads/2021/08/1617427508813.png 807w, https://anonyviet.com/wp-content/uploads/2021/08/1617427508813-300x105.png 300w, https://anonyviet.com/wp-content/uploads/2021/08/1617427508813-768x269.png 768w, https://anonyviet.com/wp-content/uploads/2021/08/1617427508813-750x263.png 750w" sizes="auto, (max-width: 807px) 100vw, 807px" title="How to install Kali Linux on Windows 10 using WSL 18"/></p>
<p><strong>Step 4</strong>: Restart the computer</p>
<h3 id="ftoc-cai-dat-kali-linux-tren-window" class="ftwp-heading">Install Kali Linux on Windows</h3>
<p><strong>Step 1</strong>: Go to Store on Windows or click<a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fp%2Fkali-linux%2F9pkr34tncv07" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';"> this link</a></p>
<p><strong>Step 2</strong>: Click <strong>Get</strong> to download Kali Linux</p>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2021%2F08%2Ftai-kali-linux-wsl.jpg" rel="noopener" class="local-link"><img decoding="async" loading="lazy" class="aligncenter size-full wp-image-33355" src="https://anonyviet.com/wp-content/uploads/2021/08/tai-kali-linux-wsl.jpg" alt="tai kali linux wsl" width="698" height="231" srcset="https://anonyviet.com/wp-content/uploads/2021/08/tai-kali-linux-wsl.jpg 698w, https://anonyviet.com/wp-content/uploads/2021/08/tai-kali-linux-wsl-300x99.jpg 300w" sizes="auto, (max-width: 698px) 100vw, 698px" title="How to install Kali Linux on Windows 10 using WSL 19"/></a></p>
<p>So you have completed the installation of Kali Linux on Windows 10. Now I will guide you to Set Up Kali Linux on WSL</p>
<h3 id="ftoc-set-up-kali-linux-wsl" class="ftwp-heading">Set Up Kali Linux WSL</h3>
<p><strong>Step 1</strong>: Click the Launch button on the Store or you can go to the Start Bar to enable Kali Linux for WSL</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-33196 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/a-77.jpg" alt="Start WSL" width="696" height="332" srcset="https://anonyviet.com/wp-content/uploads/2021/08/a-77.jpg 696w, https://anonyviet.com/wp-content/uploads/2021/08/a-77-300x143.jpg 300w" sizes="auto, (max-width: 696px) 100vw, 696px" title="How to install Kali Linux on Windows 10 using WSL 20"/></p>
<p><strong>Step 2</strong>: Sit and wait for Kali Linux to automatically Set Up for you at first</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-33197 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/1617427673324.png" alt="Wait for it to set up WSL by itself" width="624" height="148" srcset="https://anonyviet.com/wp-content/uploads/2021/08/1617427673324.png 624w, https://anonyviet.com/wp-content/uploads/2021/08/1617427673324-300x71.png 300w" sizes="auto, (max-width: 624px) 100vw, 624px" title="How to install Kali Linux on Windows 10 using WSL 21"/></p>
<p><strong>Step 3</strong>: Then the screen will ask for the UNIX name and password.  This is an account on WSL only, not an external account for Windows.  After creating User, every time you turn on Linux, it will ask you to enter Username and Password for Kali Linux.  You should avoid setting it indiscriminately or you will have to reinstall WSL to change the password.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-33198 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/1617427701586.png" alt="Set username and Password WSL" width="811" height="120" srcset="https://anonyviet.com/wp-content/uploads/2021/08/1617427701586.png 811w, https://anonyviet.com/wp-content/uploads/2021/08/1617427701586-300x44.png 300w, https://anonyviet.com/wp-content/uploads/2021/08/1617427701586-768x114.png 768w, https://anonyviet.com/wp-content/uploads/2021/08/1617427701586-750x111.png 750w" sizes="auto, (max-width: 811px) 100vw, 811px" title="How to install Kali Linux on Windows 10 using WSL 22"/></p>
<p><strong>Step 4</strong>: After entering the Linux command line interface, run the following command to update linux!.  You run this command using the sudo command and enter the WSL password when prompted.</p>
<p><code>sudo apt update</code></p>
<p><code>sudo apt upgrade</code></p>
<p><code>sudo apt-get update</code></p>
<p><code>sudo apt-get upgrade</code></p>
<p>So you have already set up Kali Linux on WSL.  For some of you who are familiar with Linux&#8217;s Graphical User Interface (GUI), you can follow the instructions below to install it!</p>
<h2 id="ftoc-cai-dat-gui-cho-kali-linux-tren-wsl" class="ftwp-heading">Install GUI for Kali Linux on WSL</h2>
<p>Win-KeX is an application that provides a user interface or GUI for Kali Desktop on WSL with the following features:</p>
<ul>
<li>Windows mode</li>
<li>Seamless mode</li>
<li>Audio support</li>
<li>Unprivileged and Root session support</li>
<li>Share Clipboard to Copy and Paste back and forth for Windows and Linux</li>
<li>Multi-session support</li>
</ul>
<p>Win-KeX supports from Window 10, Window 11, Window Server 2019 with Version 2004 and requires WSL2 (see instructions above).</p>
<p><strong>Step 1</strong>: Run the command below to update</p>
<p><code>sudo apt update</code></p>
<p><strong>Step 2</strong> Install Win-KeX using the following command</p>
<p><code>sudo apt install -y kali-win-kex</code></p>
<p><strong>Step 3</strong>: Start Win-KeX with the command</p>
<p><code>kex</code></p>
<p>After entering the command, they will ask for the password of Kali Linux.  Enter your password and it will turn on automatically!</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-33200 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/a-95.jpg" alt="Win-KeX interface" width="568" height="357" srcset="https://anonyviet.com/wp-content/uploads/2021/08/a-95.jpg 568w, https://anonyviet.com/wp-content/uploads/2021/08/a-95-300x189.jpg 300w" sizes="auto, (max-width: 568px) 100vw, 568px" title="How to install Kali Linux on Windows 10 using WSL 23"/></p>
<h2 id="ftoc-cach-remote-desktop-kali-linux" class="ftwp-heading">How to Remote Desktop Kali Linux</h2>
<h4 id="ftoc-cai-gui-cho-kali-linux" class="ftwp-heading">Install GUI for Kali Linux</h4>
<p><strong>Step 1</strong>: Update Kali linux with the following command</p>
<p><code>sudo apt update</code></p>
<p><code>sudo apt upgrade</code></p>
<p><strong>Step 2</strong>: Install the GUI with the following command.  Note that here I use Xfce for the lightest!</p>
<p><code>sudo apt install kali-desktop-xfce -y</code></p>
<p><strong>Step 3</strong>: Install XRDP to be able to use with Remote Desktop Connection</p>
<p><code>sudo apt install xrdp -y</code></p>
<p><strong>Step 4</strong>: Start XRDP</p>
<p><code>sudo service xrdp start</code></p>
<h4 id="ftoc-su-dung-remote-desktop-connection-voi-wsl" class="ftwp-heading">Using Remote Desktop Connection with WSL</h4>
<p><strong>Step 1</strong>: In Contana, Find Remote Desktop Connection</p>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2021%2F08%2Fremote-desktop-kali-linux.jpg" rel="noopener" class="local-link"><img decoding="async" loading="lazy" class="aligncenter size-full wp-image-33357" src="https://anonyviet.com/wp-content/uploads/2021/08/remote-desktop-kali-linux.jpg" alt="remote desktop kali linux" width="900" height="431" srcset="https://anonyviet.com/wp-content/uploads/2021/08/remote-desktop-kali-linux.jpg 900w, https://anonyviet.com/wp-content/uploads/2021/08/remote-desktop-kali-linux-300x144.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/08/remote-desktop-kali-linux-768x368.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/08/remote-desktop-kali-linux-750x359.jpg 750w" sizes="auto, (max-width: 900px) 100vw, 900px" title="How to install Kali Linux on Windows 10 using WSL 24"/></a></p>
<p><strong>Step 2</strong>: In the WSL command line, enter the following command to find the ip of Kali Linux</p>
<p><code>Ip a</code>  or <code>ifconfig</code></p>
<p><strong>Step 3</strong>: Enter the IP you just found in the Computer box.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-33202 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/a-97.jpg" alt="enter ip to Remote" width="385" height="238" srcset="https://anonyviet.com/wp-content/uploads/2021/08/a-97.jpg 385w, https://anonyviet.com/wp-content/uploads/2021/08/a-97-300x185.jpg 300w" sizes="auto, (max-width: 385px) 100vw, 385px" title="How to install Kali Linux on Windows 10 using WSL 25"/></p>
<p><strong>Step 4</strong>: After entering Done, a warning dialog box will appear, you just need to press ok</p>
<p><strong>Step 5</strong>: After logging in, Enter Kali Linux&#8217;s Username and Password and you&#8217;re done!</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-33203 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/a-98.jpg" alt="Enter Unix Account" width="336" height="342" srcset="https://anonyviet.com/wp-content/uploads/2021/08/a-98.jpg 336w, https://anonyviet.com/wp-content/uploads/2021/08/a-98-295x300.jpg 295w, https://anonyviet.com/wp-content/uploads/2021/08/a-98-75x75.jpg 75w" sizes="auto, (max-width: 336px) 100vw, 336px" title="How to install Kali Linux on Windows 10 using WSL 26"/></p>
<p><strong>So I just finished showing you how to Use Kali Linux on Windows 10 with WSL.  It&#8217;s convenient to use like that, isn&#8217;t it?  If you have any comments, please leave a comment below to let me know!  See also: Instructions to reset password for WSL Kali Linux <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fcach-dat-lai-mat-khau-linux-tren-wsl%2F" rel="noopener" class="local-link">here</a>.</strong></p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;33181&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/how-to-install-kali-linux-on-windows-10-using-wsl/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2021/08/a-99.jpg" medium="image"></media:content>
            	</item>
		<item>
		<title>How to Reset Linux Password on WSL</title>
		<link>https://en.anonyviet.com/how-to-reset-linux-password-on-wsl/</link>
					<comments>https://en.anonyviet.com/how-to-reset-linux-password-on-wsl/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Wed, 25 Jan 2023 10:31:51 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Password]]></category>
		<category><![CDATA[Reset]]></category>
		<category><![CDATA[WSL]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=2833</guid>

					<description><![CDATA[How to reset Linux password on WSL? For those of you who don&#8217;t know, WSL (Windows Subsystem for Linux) is a handy tool for those who want to enjoy the power of a Linux terminal but still prefer to use Windows. If you don&#8217;t know how to install WSL then maybe read this post. Join [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p>How to reset Linux password on WSL?  For those of you who don&#8217;t know, WSL (Windows Subsystem for Linux) is a handy tool for those who want to enjoy the power of a Linux terminal but still prefer to use Windows.  If you don&#8217;t know how to install WSL then maybe <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fcai-dat-windows-subsystem-for-linux-2-windows-10%2F" rel="noopener" class="local-link">read this post</a>.</p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p>When you install Linux using WSL on Windows, you are asked to create a username and password.  This user will automatically log in when you start Linux on WSL.</p>
<p><img post-id="2833" fifu-featured="1" decoding="async" class="aligncenter wp-image-28259 size-full" src="https://anonyviet.com/wp-content/uploads/2021/06/364.png" alt="How to Reset Linux Password on WSL" title="How to Reset Linux Password on WSL" width="800" height="450" srcset="https://anonyviet.com/wp-content/uploads/2021/06/364.png 800w, https://anonyviet.com/wp-content/uploads/2021/06/364-300x169.png 300w, https://anonyviet.com/wp-content/uploads/2021/06/364-768x432.png 768w, https://anonyviet.com/wp-content/uploads/2021/06/364-750x422.png 750w" sizes="(max-width: 800px) 100vw, 800px" title="How to Reset Linux Password on WSL 12"/></p>
<p>Now, the problem is what if you haven&#8217;t used it for a long time, forgot your WSL password?  And this becomes a big problem if you have to use the sudo command because it requires you to enter a password.  So in this article, I will show you how to reset Linux password on WSL.</p>
<h2 id="ftoc-dat-lai-mat-khau-linux-tren-wsl" class="ftwp-heading">Reset Linux Password on WSL</h2>
<p>To reset your Linux password in WSL, you must:</p>
<ul>
<li>Change default user to root</li>
<li>Reset password for normal user</li>
<li>Change default user to normal user</li>
</ul>
<h3 id="ftoc-buoc-1-chuyen-root-sang-user-mac-dinh" class="ftwp-heading">Step 1: Switch root to default user</h3>
<p>First, you need to record the normal Linux user.  As you can see, my usual username is abhishek.</p>
<p><img decoding="async" loading="lazy" class="aligncenter wp-image-28260 size-full" src="https://anonyviet.com/wp-content/uploads/2021/06/365.png" alt="Change root to default user" width="800" height="296" srcset="https://anonyviet.com/wp-content/uploads/2021/06/365.png 800w, https://anonyviet.com/wp-content/uploads/2021/06/365-300x111.png 300w, https://anonyviet.com/wp-content/uploads/2021/06/365-768x284.png 768w, https://anonyviet.com/wp-content/uploads/2021/06/365-750x278.png 750w" sizes="auto, (max-width: 800px) 100vw, 800px" title="How to Reset Linux Password on WSL 13"/></p>
<p>The root user in WSL is unlocked and has no password set.  This means you can switch to the root user and then use the power of the root user to reset the Linux password.</p>
<p>Since you don&#8217;t remember the account password, switching to the root user will be done by changing the configuration of the WSL Linux application and setting it to use the root user by default.</p>
<p>You can do this through the Windows Command Prompt and the command it takes to run for your Linux distribution.</p>
<p>This information is usually provided in the description of the Linux distribution in the Windows Store.  This is where you downloaded your distro.</p>
<p><img decoding="async" loading="lazy" class="aligncenter wp-image-28261 size-full" src="https://anonyviet.com/wp-content/uploads/2021/06/366.jpg" alt="Linux in Windows Store" width="800" height="602" srcset="https://anonyviet.com/wp-content/uploads/2021/06/366.jpg 800w, https://anonyviet.com/wp-content/uploads/2021/06/366-300x226.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/06/366-768x578.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/06/366-750x564.jpg 750w" sizes="auto, (max-width: 800px) 100vw, 800px" title="How to Reset Linux Password on WSL 14"/></p>
<p>Open Command Prompt from the Start Menu.</p>
<p><img decoding="async" loading="lazy" class="aligncenter wp-image-28262 size-full" src="https://anonyviet.com/wp-content/uploads/2021/06/367.jpg" alt="Command Prompt" width="800" height="500" srcset="https://anonyviet.com/wp-content/uploads/2021/06/367.jpg 800w, https://anonyviet.com/wp-content/uploads/2021/06/367-300x188.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/06/367-768x480.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/06/367-750x469.jpg 750w" sizes="auto, (max-width: 800px) 100vw, 800px" title="How to Reset Linux Password on WSL 15"/></p>
<p>Here use the command you found above of the distro.  If you are using <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fp%2Fubuntu%2F9nblggh4msv6" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">Ubuntu apps from the Windows Store</a>so the command would be:</p>
<p><code>ubuntu config --default-user root</code></p>
<p>In the screenshot below, I&#8217;m using Ubuntu 20.04 from the Windows Store.  So I used the command of ubuntu2004.</p>
<p><img decoding="async" loading="lazy" class="aligncenter wp-image-28263 size-full" src="https://anonyviet.com/wp-content/uploads/2021/06/368.jpg" alt="ubuntu config --default-user root" width="800" height="288" srcset="https://anonyviet.com/wp-content/uploads/2021/06/368.jpg 800w, https://anonyviet.com/wp-content/uploads/2021/06/368-300x108.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/06/368-768x276.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/06/368-750x270.jpg 750w" sizes="auto, (max-width: 800px) 100vw, 800px" title="How to Reset Linux Password on WSL 16"/></p>
<p>To help you out, I&#8217;ve listed some distributions and their respective commands below:</p>
<table>
<thead>
<tr>
<th>Distribution App</th>
<th>Windows Command</th>
</tr>
</thead>
<tbody>
<tr>
<td>Ubuntu</td>
<td>ubuntu config –default-user root</td>
</tr>
<tr>
<td>Ubuntu 20.04</td>
<td>ubuntu2004 config –default-user root</td>
</tr>
<tr>
<td>Ubuntu 18.04</td>
<td>ubuntu1804 config –default-user root</td>
</tr>
<tr>
<td>Debian</td>
<td>debian config –default-user root</td>
</tr>
<tr>
<td>Kali Linux</td>
<td>kali config –default-user root</td>
</tr>
</tbody>
</table>
<h3 id="ftoc-buoc-2-dat-lai-mat-khau-linux-cho-user-binh-thuong" class="ftwp-heading">Step 2: Reset Linux password for normal user</h3>
<p>Now, if you start the Linux distro, you have to log in as root.  You can reset the Linux password for a normal user.</p>
<p>Do you remember the user name in WSL?  If not, you can check the /home directory.  Once you have the username, use this command:</p>
<p><code>passwd username</code></p>
<p>It will ask you to enter a new password.  The password you enter will not be displayed on the screen and this is completely normal.  You just need to enter the new password and press enter.  You will have to re-enter your new password again to confirm.</p>
<p><img decoding="async" loading="lazy" class="aligncenter wp-image-28264 size-full" src="https://anonyviet.com/wp-content/uploads/2021/06/369.jpg" alt="Reset Linux password for normal user" width="800" height="366" srcset="https://anonyviet.com/wp-content/uploads/2021/06/369.jpg 800w, https://anonyviet.com/wp-content/uploads/2021/06/369-300x137.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/06/369-768x351.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/06/369-750x343.jpg 750w" sizes="auto, (max-width: 800px) 100vw, 800px" title="How to Reset Linux Password on WSL 17"/></p>
<p>Congratulations, the password for the user account has been reset.  But you&#8217;re not done yet.  The default user is still root.  You need to make the normal user the default, otherwise the distro will continue to log in as the root user.</p>
<h3 id="ftoc-buoc-3-dat-lai-user-binh-thuong-lam-mac-dinh" class="ftwp-heading">Step 3: Reset normal user as default</h3>
<p>You will need the normal username that you used with the passwd command in the previous step.</p>
<p>Restart Windows Command Prompt.  Use your distribution command as you did in step 1. However, this time, replace root with your normal user.</p>
<p><code>ubuntu config --default-user username</code></p>
<p><img decoding="async" loading="lazy" class="aligncenter wp-image-28265 size-full" src="https://anonyviet.com/wp-content/uploads/2021/06/370.jpg" alt="Reset normal user as default" width="800" height="288" srcset="https://anonyviet.com/wp-content/uploads/2021/06/370.jpg 800w, https://anonyviet.com/wp-content/uploads/2021/06/370-300x108.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/06/370-768x276.jpg 768w, https://anonyviet.com/wp-content/uploads/2021/06/370-750x270.jpg 750w" sizes="auto, (max-width: 800px) 100vw, 800px" title="How to Reset Linux Password on WSL 18"/></p>
<p>Now, when you start your Linux distribution in WSL, you will be logged in as a normal user.  You have reset your new password and can use it to run sudo commands.</p>
<p>If you forget your password again in the future, you can simply reset your Linux password following the steps above.</p>
<h2 id="ftoc-viec-dat-lai-mat-khau-qua-de-co-nguy-hiem-hay-khong" class="ftwp-heading">Is resetting a password too easy dangerous?</h2>
<p>Not really.  You need to have physical access to the computer along with access to the Windows account.  If hackers already have these access rights, they can do more than just change Linux passwords in WSL.  So you already know how to reset the Linux password on WSL, good luck.</p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;28258&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/how-to-reset-linux-password-on-wsl/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2021/06/364.png" medium="image"></media:content>
            	</item>
		<item>
		<title>3 Cool Linux Tools to Run on Windows 10&#8217;s WSL</title>
		<link>https://en.anonyviet.com/3-cool-linux-tools-to-run-on-windows-10s-wsl/</link>
					<comments>https://en.anonyviet.com/3-cool-linux-tools-to-run-on-windows-10s-wsl/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Wed, 25 Jan 2023 03:42:09 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[10s]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Run]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WSL]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=2516</guid>

					<description><![CDATA[I used to guide you how to install Linux Terminal on Windows 10 using WSL. But now that you can use this command line interface (CLI), what do you do with it? Here are 3 cool Linux tools that I think you&#8217;ll enjoy. Join the channel Telegram of the AnonyViet 👉 Link 👈 There are [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p><strong>I used to guide you <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fcai-dat-windows-subsystem-for-linux-2-windows-10%2F" rel="noopener" class="local-link">how to install Linux Terminal on Windows 10 using WSL</a>.  But now that you can use this command line interface (CLI), what do you do with it?  Here are 3 cool Linux tools that I think you&#8217;ll enjoy.</strong></p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2021%2F08%2Flenh-hay-wsl-windows.jpg" rel="noopener" class="local-link"><img post-id="2516" fifu-featured="1" decoding="async" class="aligncenter size-full wp-image-33358" src="https://anonyviet.com/wp-content/uploads/2021/08/lenh-hay-wsl-windows.jpg" alt="3 Cool Linux Tools to Run on Windows 10&#8217;s WSL" title="3 Cool Linux Tools to Run on Windows 10&#8217;s WSL" width="707" height="420" srcset="https://anonyviet.com/wp-content/uploads/2021/08/lenh-hay-wsl-windows.jpg 707w, https://anonyviet.com/wp-content/uploads/2021/08/lenh-hay-wsl-windows-300x178.jpg 300w" sizes="(max-width: 707px) 100vw, 707px" title="3 Cool Linux Tools to Run on Windows 10's WSL 9"/></a></p>
<p>There are some cool things you can do with the Linux-based command line.  Here are three starter projects to incorporate the command line into your daily routine.  I&#8217;ve ranked these projects from easiest to hardest, but all of these projects are still easy enough for newbies.  This is also a great opportunity to see what the command line can do.</p>
<p>This tutorial assumes that you are using Ubuntu as your Linux distribution in WSL.  If you are using another Distro, you may have to adapt these commands to your needs.  Or, you can install Ubuntu in WSL and follow this article.</p>
<h2 id="ftoc-chuan-bi" class="ftwp-heading">Prepare</h2>
<p>One of the most important things to do when using Terminal is to update your installed applications and utilities.  This requires two simple commands.  The first command is:</p>
<p><code>sudo apt update</code></p>
<p>Use sudo to temporarily elevate your user account to administrator privileges for this command.  Without this privilege, the command will fail.  To use sudo, the terminal will ask you for the password you first created when setting up WSL.</p>
<p>The next part, apt (Advanced Package Tool,) is the package manager Ubuntu uses to install programs and utilities.  Packages are all files that come together to act as a Linux program or utility.  APT is smart enough to not only install the program you want, but also install any dependencies it requires.  Dependencies are another program that the program you want to install needs to work.</p>
<p>Finally, is update, an option for APT that allows it to update the list of packages from the repositories your system is using.  This is the first step in updating new versions of programs installed in the system.  If these software are not updated, your system will not have enough information to take the next step.</p>
<p>The second command is:</p>
<p><code>sudo apt upgrade -y</code></p>
<p>-Y is called “flag” and in this case it stands for “yes”.  This is an optional command that allows us to skip the annoying system questions.</p>
<p>Now that our system is up to date, we are ready to use some of the tools on the command line.</p>
<h2 id="ftoc-3-cong-cu-linux-thu-vi-de-chay-tren-wsl" class="ftwp-heading">3 Cool Linux Tools to Run on WSL</h2>
<h3 id="ftoc-lay-thong-tin-thoi-tiet" class="ftwp-heading">Get weather information</h3>
<p><img decoding="async" loading="lazy" class="size-full wp-image-33327 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/WttrIn.jpg" alt="3 Cool Linux Tools to Run on Windows 10's WSL 6" width="650" height="400" srcset="https://anonyviet.com/wp-content/uploads/2021/08/WttrIn.jpg 650w, https://anonyviet.com/wp-content/uploads/2021/08/WttrIn-300x185.jpg 300w" sizes="auto, (max-width: 650px) 100vw, 650px" title="3 Cool Linux Tools to Run on Windows 10's WSL 10"/></p>
<p>The easiest tool to experiment with is to get a graphical overview of the current weather with a three-day forecast using a website called <a target="_blank" href="https://en.anonyviet.com/next-link/?url=http%3A%2F%2Fwttr.in%2F" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">wttr.in</a>.  This site reads your IP address to get your approximate location and then provides the weather information back to you in a more user-friendly format in the terminal.</p>
<p>If you want to preview this look, you can also access the website using a regular browser.</p>
<p>For weather you need curl, this program will be installed in your system by default.  If not, run the command <code>sudo apt install curl</code> to install curl.</p>
<p>In a few seconds you will have a weather forecast for your location similar to what you see in the image above.</p>
<p>Another trick is to set up your system so that every time you open Terminal, it shows the latest weather forecast.  You can do that by adding command write command <code>curl wttr.in</code> at the beginning of the .bashrc file.</p>
<h3 id="ftoc-nhan-diem-mlb-trong-terminal" class="ftwp-heading">Get MLB Points in Terminal</h3>
<p><img decoding="async" loading="lazy" class="size-full wp-image-33328 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/BoxScore.jpg" alt="3 Cool Linux Tools to Run on Windows 10's WSL 7" width="650" height="400" srcset="https://anonyviet.com/wp-content/uploads/2021/08/BoxScore.jpg 650w, https://anonyviet.com/wp-content/uploads/2021/08/BoxScore-300x185.jpg 300w" sizes="auto, (max-width: 650px) 100vw, 650px" title="3 Cool Linux Tools to Run on Windows 10's WSL 11"/></p>
<p>I constantly open Terminal and sometimes don&#8217;t want to go to Google for the latest Yankees match information.  Instead, I write a reliable Python script to get all the information I need.</p>
<p>If you have installed the latest version of Ubuntu for WSL then you already have Python 3, this is what we need for this.  You can double-check this by typing <code>python3 --version</code>this command will tell you the version of Python 3 you have in your system.</p>
<p>Now, let&#8217;s get to work.  The first thing you need is a set of helper scripts that will get all the baseball data we want.  It&#8217;s called statsapi, a community-based Python application that installs using PIP3.  Like APT, PIP3 is a package manager, but only for programs written in Python.</p>
<p>First we need to install it using the command <code>sudo apt install python3-pip -y</code>.  Once done, execute the following command:</p>
<p><code>pip3 install MLB-StatsAPI</code></p>
<p>Now, we can get baseball scores based on statsapi.  The script is in the GitHub repository (the repository is just a place to store the code), where I have a bunch of scripts that can get information about the current baseball season.</p>
<p>First, create a new folder named “bin” with the command <code>mkdir bin</code>.  The mkdir command literally means “make directory”.  Then change that directory with <code>cd bin</code> (“cd” means change directory).  “Bin” is the common name for directories containing scripts and executables (binaries) in a Linux environment, but you can name the folder however you like.</p>
<p>Now, we will download the script with “wget”:</p>
<p><code>wget https://raw.githubusercontent.com/ianpaul/Baseball_Scores/master/ballgame.py</code></p>
<p>This downloads a script called ballgame.py from the repository.  The file extension “py” denotes that this is a Python script.</p>
<p>Now, all we have to do is run our Python script with the python command:</p>
<p><code>python3 ~/bin/ballgame.py</code></p>
<p>This command tells Terminal to use Python 3 to run the script.  ~/ Means go to home directory then go to bin directory in home and open ballgame.py script.</p>
<p>After you run the above command, the script will ask for the name of the team you&#8217;re interested in, then ask if you want to see box points or line points.  Once selected, you will receive match information in a terminal-friendly format.</p>
<p>Remember that this script is set up to give you the results of the completed match.  It will not provide scores of ongoing matches.</p>
<h3 id="ftoc-twitter-tren-terminal" class="ftwp-heading">Twitter on Terminal</h3>
<p><img decoding="async" loading="lazy" class="size-full wp-image-33329 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/RainbowStreamFeedFinal.jpg" alt="3 Cool Linux Tools to Run on Windows 10's WSL 8" width="650" height="400" srcset="https://anonyviet.com/wp-content/uploads/2021/08/RainbowStreamFeedFinal.jpg 650w, https://anonyviet.com/wp-content/uploads/2021/08/RainbowStreamFeedFinal-300x185.jpg 300w" sizes="auto, (max-width: 650px) 100vw, 650px" title="3 Cool Linux Tools to Run on Windows 10's WSL 12"/></p>
<p>There are several applications that can feed your Twitter feed to the command line.  What&#8217;s cool about this approach is that it reduces Twitter to its purest form, and it makes the experience a bit simpler.</p>
<p>A really good Twitter CLI application is Rainbow Stream, which is based on Python and requires some of the tools we used in the previous steps.  First, we need to make sure we have all the dependencies that Rainbow Stream requires:</p>
<p><code>sudo apt install python3-dev libjpeg libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev</code></p>
<p>I won&#8217;t explain what all these tools are.  If you want to know, you can search them on Google.  Each widget is separated by a space.</p>
<p>Now let&#8217;s install Rainbow Stream:</p>
<p><code>sudo pip3 install rainbowstream</code></p>
<p>This will take a few minutes as Rainbow Stream installs itself.</p>
<p>Now, make sure you&#8217;re signed in to Twitter in your web browser.  Then, to activate the program, type rainbowstream into the terminal.</p>
<p>Next, Rainbow Stream will open a web browser tab so you can allow the app to access your Twitter account.  In some cases, this process will happen automatically.  Otherwise, just copy and paste the following URL into your web browser.  The URL usually looks like this: https://api.twitter.com/oauth/authorize?oauth_token=XXXXXXXXXXXXXX</p>
<p>Highlight that URL, right-click to copy, and then paste it in your web browser.  Twitter will ask you to allow Rainbow Stream to grant the app access to your account, and then Twitter will provide a seven-digit PIN.  Enter that PIN in the terminal where Rainbow Stream is waiting for the code and that&#8217;s it.  Your tweets will now appear on the command line in a few minutes.</p>
<p>Rainbow Stream is pretty easy to use, but it requires a few commands.  Typing “t here is my tweet” and pressing Enter on your keyboard will post a tweet.</p>
<p>Each of your tweets will have an id number, such as “id:8”.  Import<code> rt 8</code> will repost that tweet.  Import <code>quote 8</code> allows you to quote that tweet and another tweet and add your own comments.  There are many other commands that you can read about in the Rainbow Stream documentation.</p>
<p>As with many other command line programs, you can also type <code>h</code> anytime to get help within the app.</p>
<p>If you find that Unicode characters do not display correctly, the easiest solution is to install Windows Terminal from the Windows Store.</p>
<p>Using the command line takes a little more work than installing a regular program, but it can also be a very powerful, useful, and fun tool to use.</p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;33325&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
<p><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script></p>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/3-cool-linux-tools-to-run-on-windows-10s-wsl/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2021/08/lenh-hay-wsl-windows.jpg" medium="image"></media:content>
            	</item>
		<item>
		<title>How to Install Ubuntu 21.10 on WSL for Windows 10 and 11</title>
		<link>https://en.anonyviet.com/how-to-install-ubuntu-21-10-on-wsl-for-windows-10-and-11/</link>
					<comments>https://en.anonyviet.com/how-to-install-ubuntu-21-10-on-wsl-for-windows-10-and-11/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Tue, 24 Jan 2023 11:39:55 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WSL]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=1759</guid>

					<description><![CDATA[Job install WSL 2 on Windows 10 and 11 is easier than ever, and when you want to add a distribution, you can simply download the app from the Microsoft Store. But it doesn&#8217;t just stop there. The Microsoft Store is a good choice, but it&#8217;s limited on Linux distributions, and in the case of [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p><strong>Job <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fcai-dat-windows-subsystem-for-linux-2-windows-10%2F" rel="noopener" class="local-link">install WSL 2 on Windows 10</a> and 11 is easier than ever, and when you want to add a distribution, you can simply download the app from the Microsoft Store.  But it doesn&#8217;t just stop there.  The Microsoft Store is a good choice, but it&#8217;s limited on Linux distributions, and in the case of Ubuntu, you can essentially get LTS versions, not the latest releases.</strong></p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p><img post-id="1759" fifu-featured="1" decoding="async" class="aligncenter wp-image-39170 size-full" src="https://anonyviet.com/wp-content/uploads/2022/01/ubuntu-impish-2110-wsl-1.jpg" alt="How to Install Ubuntu 21.10 on WSL for Windows 10 and 11" title="How to Install Ubuntu 21.10 on WSL for Windows 10 and 11" width="600" height="375" srcset="https://anonyviet.com/wp-content/uploads/2022/01/ubuntu-impish-2110-wsl-1.jpg 600w, https://anonyviet.com/wp-content/uploads/2022/01/ubuntu-impish-2110-wsl-1-300x188.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" title="How to install Ubuntu 21.10 on WSL for Windows 10 and 11 13"/></p>
<p>This is perfectly fine for many people, but there&#8217;s always a good reason you&#8217;d want to use the latest version, especially during development.  If you need Ubuntu 21.10, and don&#8217;t want to have to reboot or create virtual machines;  then you can easily install it on Windows 10 or 11.</p>
<h2 id="ftoc-cach-tai-ubuntu-21-10-cho-wsl" class="ftwp-heading">How to get Ubuntu 21.10 for WSL</h2>
<p><img decoding="async" loading="lazy" class="size-full wp-image-39171 aligncenter" src="https://anonyviet.com/wp-content/uploads/2022/01/ubuntu-cloud-images-website.jpg" alt="How to install Ubuntu 21.10 on WSL for Windows 10 and 11 9" width="600" height="303" srcset="https://anonyviet.com/wp-content/uploads/2022/01/ubuntu-cloud-images-website.jpg 600w, https://anonyviet.com/wp-content/uploads/2022/01/ubuntu-cloud-images-website-300x152.jpg 300w" sizes="auto, (max-width: 600px) 100vw, 600px" title="How to install Ubuntu 21.10 on WSL for Windows 10 and 11 14"/></p>
<p>Getting Ubuntu 21.10 for WSL isn&#8217;t difficult, but it doesn&#8217;t have an obvious place to download either.  You can upgrade inside WSL to the latest version, but in the case of 21.10 you need to use 21.04.</p>
<p>But here I will download the image file and install a brand new build of Ubuntu 21.10.</p>
<p>To get the files you need, go to <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fcloud-images.ubuntu.com%2F" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">Ubuntu website</a> and follow these steps.</p>
<p>1. Click the option labeled impish.</p>
<p>2. Next, click <strong>current</strong>.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-39172 aligncenter" src="https://anonyviet.com/wp-content/uploads/2022/01/ubuntu-cloud-images-1.jpg" alt="How to install Ubuntu 21.10 on WSL for Windows 10 and 11 10" width="600" height="176" srcset="https://anonyviet.com/wp-content/uploads/2022/01/ubuntu-cloud-images-1.jpg 600w, https://anonyviet.com/wp-content/uploads/2022/01/ubuntu-cloud-images-1-300x88.jpg 300w" sizes="auto, (max-width: 600px) 100vw, 600px" title="How to install Ubuntu 21.10 on WSL for Windows 10 and 11 15"/></p>
<p>3. Find the files labeled wsl.rootfs.tar.gz.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-39173 aligncenter" src="https://anonyviet.com/wp-content/uploads/2022/01/ubuntu-cloud-images-2.jpg" alt="How to install Ubuntu 21.10 on WSL for Windows 10 and 11 11" width="600" height="227" srcset="https://anonyviet.com/wp-content/uploads/2022/01/ubuntu-cloud-images-2.jpg 600w, https://anonyviet.com/wp-content/uploads/2022/01/ubuntu-cloud-images-2-300x114.jpg 300w" sizes="auto, (max-width: 600px) 100vw, 600px" title="How to install Ubuntu 21.10 on WSL for Windows 10 and 11 16"/></p>
<p>There will be many files, but those that are labeled with the file <strong>manifest</strong> you can skip.  You also need to choose the right version for your PC.  If you are using a machine supported by Intel or AMD, choose the amd64 version.  If you are using an ARM-based machine, choose the arm64 version.</p>
<p>Download the relevant files, and then install.</p>
<h2 id="ftoc-cach-cai-dat-ubuntu-21-10-tren-wsl-cho-windows-10-va-11" class="ftwp-heading">How to Install Ubuntu 21.10 on WSL for Windows 10 and 11</h2>
<p><img decoding="async" loading="lazy" class="size-full wp-image-39174 aligncenter" src="https://anonyviet.com/wp-content/uploads/2022/01/ubuntu-impish-2110-wsl-2.jpg" alt="How to install Ubuntu 21.10 on WSL for Windows 10 and 11 12" width="600" height="375" srcset="https://anonyviet.com/wp-content/uploads/2022/01/ubuntu-impish-2110-wsl-2.jpg 600w, https://anonyviet.com/wp-content/uploads/2022/01/ubuntu-impish-2110-wsl-2-300x188.jpg 300w" sizes="auto, (max-width: 600px) 100vw, 600px" title="How to install Ubuntu 21.10 on WSL for Windows 10 and 11 17"/></p>
<p>From now on, you&#8217;ll be in your PowerShell.  Make a note of where you downloaded the tar file from the steps above as you will need the file location for the installation.</p>
<p>The installation starts with importing the downloaded image from Ubuntu into your WSL.</p>
<p>Inside PowerShell, you will need to enter the following command to import and install Ubuntu 21.10:</p>
<pre><code>wsl --import &lt;name&gt; &lt;location to unpack&gt; &lt;location of download&gt;</code></pre>
<p>On my system, the command would look like this:</p>
<pre><code>wsl --import Ubuntu-2110 c:/WSL/Ubuntu-2110 c:/Downloads/impish-server-cloudimg-amd64-wsl.rootfs.tar.gz</code></pre>
<p>It doesn&#8217;t really matter where you extract and install the image, but it&#8217;s a good idea to create a dedicated folder, especially if you&#8217;re going to install multiple distributions this way.</p>
<p>Alternatively, you can specify a WSL version at the end with the –version flag.  It will install to any version of WSL that your system recognizes as default, but you can change that version during installation to avoid having to switch it later.  Just add 1 or 2 after the flag to specify the version you require.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-39175 aligncenter" src="https://anonyviet.com/wp-content/uploads/2022/01/wsl-ubuntu-21-10-import-dropdown.jpg" alt="How to install Ubuntu 21.10 on WSL for Windows 10 and 11 13" width="600" height="375" srcset="https://anonyviet.com/wp-content/uploads/2022/01/wsl-ubuntu-21-10-import-dropdown.jpg 600w, https://anonyviet.com/wp-content/uploads/2022/01/wsl-ubuntu-21-10-import-dropdown-300x188.jpg 300w" sizes="auto, (max-width: 600px) 100vw, 600px" title="How to install Ubuntu 21.10 on WSL for Windows 10 and 11 18"/></p>
<p>It will take a few minutes, but once it&#8217;s done, you can move on to setup.  Since this feature has not been installed from the Microsoft Store, there is no application shortcut created in the Start Menu.  You will need to launch it manually with the command:</p>
<pre><code>wsl -d &lt;distroname&gt;</code></pre>
<p>However, if you use Windows Terminal and you do, WSL will automatically add it to the drop-down menu along with all the other shells you can open.</p>
<h2 id="ftoc-thiet-lap-co-ban-cua-ubuntu-21-10" class="ftwp-heading">Basic Setup of Ubuntu 21.10</h2>
<p>When you install Ubuntu 21.10, it basically doesn&#8217;t run through the initial setup process you get when you install Ubuntu from the Microsoft Store.  So you won&#8217;t have a user set up, there will only be root.  So you need to create a new user and add it to the sudo group:</p>
<pre><code>adduser &lt;yourusername&gt;&#13;
usermod -aG sudo &lt;yourusername&gt;</code></pre>
<p>And switch to that user with:</p>
<pre><code>su &lt;yourusername&gt;</code></pre>
<p>To launch into Ubuntu 21.10 as your new user, from PowerShell, type:</p>
<pre><code>wsl -d &lt;distroname&gt; -u &lt;yourusername&gt;</code></pre>
<p>While it shouldn&#8217;t be a long process to switch to or enter your new settings as your user instead of root, it&#8217;s always better to automate the process.  Configuring the default user for a distro installed this way is slightly different from one downloaded from the Store.</p>
<p>There are a few different ways you can deal with this, but the easiest and safest way is to edit the wsl.conf file on your distribution to require WSL to log in with a user account instead of root.  Open Ubuntu 21.10 and navigate to the file like below.  The file might not exist on first install, so set it up and since you&#8217;ll want to log in as root and not your user account.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-39176 aligncenter" src="https://anonyviet.com/wp-content/uploads/2022/01/wslconf-nano.jpg" alt="How to install Ubuntu 21.10 on WSL for Windows 10 and 11 14" width="600" height="375" srcset="https://anonyviet.com/wp-content/uploads/2022/01/wslconf-nano.jpg 600w, https://anonyviet.com/wp-content/uploads/2022/01/wslconf-nano-300x188.jpg 300w" sizes="auto, (max-width: 600px) 100vw, 600px" title="How to install Ubuntu 21.10 on WSL for Windows 10 and 11 19"/></p>
<ol>
<li>In terminal, type <strong>cd /etc/ </strong></li>
<li>Import <strong>ls</strong> to list files.  If you don&#8217;t have <strong>wsl.conf</strong>we can create file <strong>wsl.conf</strong>.</li>
<li>Import <code>touch wsl.conf</code>.</li>
<li>Open the wsl.conf file with <code>nano wsl.conf</code>.</li>
</ol>
<p>You will now need to enter the necessary information to tell Ubuntu 21.10 to launch as user and not as root.  Enter the following command in the document.</p>
<pre><code># Set the user when launching a distribution with WSL.&#13;
[user]&#13;
default=YourUserName</code></pre>
<p>The first line is optional, but you should keep comments throughout your wsl.conf file to remind you of the functionality of each section.</p>
<p>Exit nano by pressing <strong>Ctrl + X</strong>then press<strong> Y</strong> and <strong>Enter</strong> to save the file.  Close WSL completely, leave it alone for a few seconds, then the next time you reboot Ubuntu 21.10 you will be the user, not the root.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-39177 aligncenter" src="https://anonyviet.com/wp-content/uploads/2022/01/wsl-settings-1.jpg" alt="How to install Ubuntu 21.10 on WSL for Windows 10 and 11 15" width="600" height="375" srcset="https://anonyviet.com/wp-content/uploads/2022/01/wsl-settings-1.jpg 600w, https://anonyviet.com/wp-content/uploads/2022/01/wsl-settings-1-300x188.jpg 300w" sizes="auto, (max-width: 600px) 100vw, 600px" title="How to install Ubuntu 21.10 on WSL for Windows 10 and 11 20"/></p>
<p>Alternatively, if you&#8217;re using Windows Terminal, open <strong>Settings</strong>find your Ubuntu 21.10 installation in the sidebar and in <strong>command line</strong>make sure this command is cached:</p>
<pre><code>wsl.exe -d &lt;distroname&gt; -u &lt;yourusername&gt;</code></pre>
<p>It&#8217;s a bit more step-by-step than installing from the Microsoft Store, but not too difficult.</p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;39169&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/how-to-install-ubuntu-21-10-on-wsl-for-windows-10-and-11/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2022/01/ubuntu-impish-2110-wsl-1.jpg" medium="image"></media:content>
            	</item>
		<item>
		<title>How to Install Linux Mint on WSL for Windows 10 and 11</title>
		<link>https://en.anonyviet.com/how-to-install-linux-mint-on-wsl-for-windows-10-and-11/</link>
					<comments>https://en.anonyviet.com/how-to-install-linux-mint-on-wsl-for-windows-10-and-11/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Wed, 11 Jan 2023 21:28:35 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mint]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WSL]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=1077</guid>

					<description><![CDATA[Windows Subsystem for Linux (WSL) is an extremely powerful tool for both Windows 10 and Windows 11 with a wide range of distributions that can be easily installed in the Microsoft Store. But you&#8217;re not limited to just what&#8217;s available in the Store. You can completely install other distributions using the built-in WSL tools as [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p><strong><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fcai-dat-windows-subsystem-for-linux-2-windows-10%2F" rel="noopener" class="local-link">Windows Subsystem for Linux (WSL)</a> is an extremely powerful tool for both Windows 10 and Windows 11 with a wide range of distributions that can be easily installed in the Microsoft Store.  But you&#8217;re not limited to just what&#8217;s available in the Store.  You can completely install other distributions using the built-in WSL tools as long as you have the right files.</strong></p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p><img post-id="1077" fifu-featured="1" decoding="async" class="aligncenter wp-image-39182 size-full" src="https://anonyviet.com/wp-content/uploads/2022/01/linux-mint-terminal-wsl.jpg" alt="How to Install Linux Mint on WSL for Windows 10 and 11" title="How to Install Linux Mint on WSL for Windows 10 and 11" width="600" height="338" srcset="https://anonyviet.com/wp-content/uploads/2022/01/linux-mint-terminal-wsl.jpg 600w, https://anonyviet.com/wp-content/uploads/2022/01/linux-mint-terminal-wsl-300x169.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" title="How to Install Linux Mint on WSL for Windows 10 and 11 9"/></p>
<p>In some cases, such as Ubuntu, you can install the latest release with the official image.  But you can also look to the WSL community for support, and that&#8217;s exactly the case for anyone who wants to install Linux Mint right now.</p>
<p>Thanks to a project on GitHub, it will now be very easy to install Linux Mint into WSL and moreover, it already supports the latest version, Linux Mint 20.3.</p>
<h2 id="ftoc-cach-cai-dat-linux-mint-tren-wsl" class="ftwp-heading">How to Install Linux Mint on WSL</h2>
<p><img decoding="async" loading="lazy" class="size-full wp-image-39183 aligncenter" src="https://anonyviet.com/wp-content/uploads/2022/01/linux-mint-terminal-wsl-neovim.jpg" alt="How to Install Linux Mint on WSL for Windows 10 and 11 8" width="600" height="338" srcset="https://anonyviet.com/wp-content/uploads/2022/01/linux-mint-terminal-wsl-neovim.jpg 600w, https://anonyviet.com/wp-content/uploads/2022/01/linux-mint-terminal-wsl-neovim-300x169.jpg 300w" sizes="auto, (max-width: 600px) 100vw, 600px" title="How to Install Linux Mint on WSL for Windows 10 and 11 10"/></p>
<p>Linux Mint is an Ubuntu-based Linux distribution and is undoubtedly one of the most popular choices today, often hailed as the perfect place to start moving to Linux.  Of course, using Linux in WSL is a bit different than just uploading it to a PC.</p>
<p>So if you want to use it on WSL you will need to use a community project called LinuxmintWSL.  It is stored at <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fgithub.com%2Fsileshn%2FLinuxmintWSL" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">GitHub</a>.  It&#8217;s also only built for WSL 2, so if you don&#8217;t have WSL 2 installed then maybe <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fcai-dat-windows-subsystem-for-linux-2-windows-10%2F" rel="noopener" class="local-link">read this post</a>.  However, it supports both Intel/AMD and ARM machines, so Windows users on ARM won&#8217;t be left out.</p>
<p>On the GitHub repository, go to the release page and download the latest package.  Once downloaded, extract the zip file to the directory where you want to run it, then simply run Mint.exe.  Unlike installing the latest releases of Ubuntu from one of the official images, it has been bundled up to be more similar to the distributions you would download from the Microsoft Store.</p>
<p>It will take a few seconds (or longer depending on your hardware) for the installation to complete, but the installer does not require any interaction from you.  It will open a command line window and when done you will be asked to press Enter.  Then the command line window will close.</p>
<p>If you use Windows Terminal, Mint will now show up in a drop-down menu to launch the next time you load it.  Otherwise, you can launch it through PowerShell like any other Linux distro with this command:</p>
<pre><code>wsl -d Mint</code></pre>
<p>By default, you&#8217;ll only have root access, so you&#8217;ll need to do some basic setup before you get started.</p>
<h2 id="ftoc-cach-thiet-lap-linux-mint-tren-wsl" class="ftwp-heading">How to Setup Linux Mint on WSL</h2>
<p><img decoding="async" loading="lazy" class="size-full wp-image-39184 aligncenter" src="https://anonyviet.com/wp-content/uploads/2022/01/linux-mint-wsl-install-1.jpg" alt="How to Install Linux Mint on WSL for Windows 10 and 11 9" width="600" height="338" srcset="https://anonyviet.com/wp-content/uploads/2022/01/linux-mint-wsl-install-1.jpg 600w, https://anonyviet.com/wp-content/uploads/2022/01/linux-mint-wsl-install-1-300x169.jpg 300w" sizes="auto, (max-width: 600px) 100vw, 600px" title="How to Install Linux Mint on WSL for Windows 10 and 11 11"/></p>
<p>Enter Mint into the terminal using one of the methods above.  You should see a basic prompt starting with root@.  As with any other Linux distribution on WSL, you will need to add a user to Mint with the appropriate permissions before doing anything.  You also don&#8217;t have a password, so you&#8217;ll need to add one before you begin.</p>
<p>In the terminal, type:</p>
<pre><code>passwd</code></pre>
<p>Follow the prompts to set the root password.  Next, we will add a user with the command:</p>
<pre><code>useradd -m &lt;username&gt;</code></pre>
<p>And create a password for the new user:</p>
<pre><code>passwd &lt;username&gt;</code></pre>
<p>Again, follow the prompts to add your password.</p>
<p>The next step is to add the right permissions for your user to be able to use the sudo command, otherwise you will get an error.  We can do this by typing:</p>
<pre><code>usermod -aG sudo &lt;yourusername&gt;</code></pre>
<p>Then you can switch to your user with the command:</p>
<pre><code>su &lt;username&gt;</code></pre>
<p>The next thing to do is to make sure that when you launch Mint if you want to be a user and not a root (recommended) you have to configure it so that you don&#8217;t have to do it manually every time you open Mint.  There are two ways to do this, the first is with the wsl.conf file and the second is by configuring the Windows Terminal.</p>
<p>You won&#8217;t have the wsl.conf file when you first set up Linux Mint, so we&#8217;ll need to create it and enter the appropriate settings.  In the terminal, type:</p>
<pre><code>nano /etc/wsl.conf</code></pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-39185 aligncenter" src="https://anonyviet.com/wp-content/uploads/2022/01/wslconf-nano-1.jpg" alt="How to Install Linux Mint on WSL for Windows 10 and 11 10" width="600" height="375" srcset="https://anonyviet.com/wp-content/uploads/2022/01/wslconf-nano-1.jpg 600w, https://anonyviet.com/wp-content/uploads/2022/01/wslconf-nano-1-300x188.jpg 300w" sizes="auto, (max-width: 600px) 100vw, 600px" title="How to Install Linux Mint on WSL for Windows 10 and 11 12"/></p>
<p>Nano text editor will now open a new blank file.  Enter this command in the file:</p>
<pre><code># Set the user when launching a distribution with WSL.&#13;
[user]&#13;
default=YourUserName</code></pre>
<p>Press Ctrl + X, then Y, then Enter to save and exit.  Close your Linux Mint instance, wait a few seconds, then on relaunch you are logged in as the user.</p>
<p>Alternatively, if you&#8217;re using Windows Terminal, open <strong>Settings</strong>find your Linux Mint installation, then in the box <strong>command line</strong> make sure this command is cached:</p>
<pre><code>wsl.exe -d &lt;distroname&gt; -u &lt;yourusername&gt;</code></pre>
<p>This command should have the same effect after closing and rebooting.  However, setting up the wsl.conf file is better, as it ensures you are always logged in as the user.  If you use the Windows Terminal settings and open Linux Mint via PowerShell, you will be root.</p>
<p>Linux Mint is now set up on WSL for you to use just like any other distro you install through the Microsoft Store.  You can see some GUI applications have also appeared in the Start Menu that comes with the standard installation of Linux Mint, but all those applications can be removed if you do not want.</p>
<p>Additionally, you can run multiple instances of Linux Mint on WSL.  For each subsequent installation, simply change the name of the Mint.exe file from the beginning of this tutorial to something else, then run it again.  The new version will be set up with the changed filename.</p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;39181&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/how-to-install-linux-mint-on-wsl-for-windows-10-and-11/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2022/01/linux-mint-terminal-wsl.jpg" medium="image"></media:content>
            	</item>
	</channel>
</rss>
