<?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/"
	>

<channel>
	<title>Linux - TheCodeBuzz</title>
	<atom:link href="https://thecodebuzz.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://thecodebuzz.com</link>
	<description>Best Practices for Software Development</description>
	<lastBuildDate>Thu, 23 Nov 2023 14:02:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://thecodebuzz.com/wp-content/uploads/2022/11/cropped-android-chrome-512x512-1-1-51x51.jpg</url>
	<title>Linux - TheCodeBuzz</title>
	<link>https://thecodebuzz.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Set up WSL on Windows and run Linux commands</title>
		<link>https://thecodebuzz.com/set-up-wsl-on-windows-run-linux-ubuntu-debian-commands-windows/</link>
					<comments>https://thecodebuzz.com/set-up-wsl-on-windows-run-linux-ubuntu-debian-commands-windows/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 22 Oct 2021 02:35:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[how to use wsl]]></category>
		<category><![CDATA[install wsl2]]></category>
		<category><![CDATA[run Linux commands on windows]]></category>
		<category><![CDATA[run wsl command from cmd]]></category>
		<category><![CDATA[windows subsystem for linux]]></category>
		<category><![CDATA[wsl --install]]></category>
		<category><![CDATA[wsl access windows files]]></category>
		<category><![CDATA[wsl check version]]></category>
		<category><![CDATA[wsl commands]]></category>
		<category><![CDATA[wsl distributions]]></category>
		<category><![CDATA[wsl gui]]></category>
		<category><![CDATA[wsl install distro]]></category>
		<category><![CDATA[wsl install ubuntu]]></category>
		<category><![CDATA[wsl list version]]></category>
		<category><![CDATA[wsl remove distro]]></category>
		<category><![CDATA[wsl set default distro]]></category>
		<category><![CDATA[wsl start distro]]></category>
		<guid isPermaLink="false">https://www.thecodebuzz.com/?p=18456</guid>

					<description><![CDATA[<p>How to set up WSL and run Linux commands on Windows Today in this article, we shall see How to set up WSL on Windows and run Linux commands on Windows machines. Today in this article, we will cover below aspects, I shall be listing a few simple steps which can be used to configure. [&#8230;]</p>
<p>The post <a href="https://thecodebuzz.com/set-up-wsl-on-windows-run-linux-ubuntu-debian-commands-windows/">Set up WSL on Windows and run Linux commands</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></description>
										<content:encoded><![CDATA[<h1 class="wp-block-heading">How to set up WSL and run Linux commands on Windows</h1>



<figure class="wp-block-image is-resized"><img decoding="async" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-on-Windows-1024x434.jpg" alt="set up WSL and run Linux commands on Windows" style="width:649px;height:275px"/></figure>



<p>Today in this article, we shall see How to set up <strong>WSL </strong>on Windows and run <strong>Linux </strong>commands on Windows machines.</p>



<p></p>



<p>Today in this article, we will cover below aspects,</p>



<p></p>



<div class="wp-block-aioseo-table-of-contents"><ul><li><a href="#aioseo-what-is-wsl">What is WSL?</a></li><li><a href="#aioseo-set-up-wsl-in-windows">Set up WSL in Windows</a></li><li><a href="#aioseo-step-1-run-powershell">Step 1: Run Powershell</a></li><li><a href="#aioseo-step-2-enable-microsoft-windows-subsystem-linux">Step 2: Enable Microsoft-Windows-Subsystem-Linux</a></li><li><a href="#aioseo-step-3-download-and-install-linux-distros">Step 3: Download and install Linux distros</a></li></ul></div>



<p></p>



<p></p>



<p>I shall be listing a few simple steps which can be used to configure. </p>



<p></p>



<p>I have used Windows 10 machine to showcase this feature.</p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-what-is-wsl">What is WSL?</h2>



<p></p>



<p>WSL is <strong><em>Windows Subsystem for Linux.</em></strong></p>



<p></p>



<p>It lets developers run Linux environments directly on Windows without the overhead of virtual machines or extra setup.</p>



<p></p>



<p>Once configured for WSL, you get support for all command-line tools, utilities, and applications.</p>



<p><strong><em>Example- </em></strong>Ubuntu command line utilities including <em><strong>bash, ssh, git, apt</strong></em></p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-set-up-wsl-in-windows">Set up WSL in Windows</h2>



<p></p>



<p>Please follow below basic steps.</p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-step-1-run-powershell">Step 1: Run Powershell </h2>



<p></p>



<p>Run Powershell in Administrator mode and run the below command</p>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size">E<em>nable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux</em></pre>



<p></p>



<p>If not used as admin mode might get below error,</p>



<p></p>



<p><span style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-red-color"><em>&#8220;Enable-WindowsOptionalFeature: The requested operation requires elevation.&#8221;</em></span></p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-step-2-enable-microsoft-windows-subsystem-linux">Step 2: Enable Microsoft-Windows-Subsystem-Linux</h2>



<p></p>



<p>The above command will let you enable the WSL feature on the Windows machine.</p>



<p></p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="189" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/Running-Redis-on-Windows-10-1024x189.jpg" alt="Set up WSL on Windows" class="wp-image-18459" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/Running-Redis-on-Windows-10-1024x189.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-Redis-on-Windows-10-300x55.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-Redis-on-Windows-10-768x142.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-Redis-on-Windows-10-1536x284.jpg 1536w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-Redis-on-Windows-10-785x145.jpg 785w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-Redis-on-Windows-10.jpg 1953w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p>The above command should take a few minutes for enabling this feature.</p>



<p></p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="179" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/set-up-WSL-on-Windows-1024x179.jpg" alt="Run Unix commands on windows" class="wp-image-18460" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/set-up-WSL-on-Windows-1024x179.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/09/set-up-WSL-on-Windows-300x52.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/09/set-up-WSL-on-Windows-768x134.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/09/set-up-WSL-on-Windows-785x137.jpg 785w, https://thecodebuzz.com/wp-content/uploads/2021/09/set-up-WSL-on-Windows.jpg 1342w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p>Please <strong><em>restart </em></strong>the machine for the configuration to be effective.</p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-step-3-download-and-install-linux-distros">Step 3: Download and install Linux distros</h2>



<p></p>



<p>Download and install supported <strong><em>Linux distros. </em></strong></p>



<p></p>



<p>You can install it using the Ubuntu app available in the Microsoft store.</p>



<p></p>



<p><strong><em>Ubuntu </em></strong>on Windows allows one to use Terminal and run Ubuntu command line utilities including <em><strong>bash, ssh, git, apt</strong></em>, etc.</p>



<p></p>



<ul class="wp-block-list">
<li><a href="https://www.microsoft.com/en-us/p/debian-gnu-linux/9msvkqc78pk6" target="_blank" rel="noreferrer noopener">Debian GNU/Linux</a></li>
</ul>



<ul class="wp-block-list">
<li><a href="https://www.microsoft.com/en-us/p/ubuntu-1804/9n9tngvndl3q" target="_blank" rel="noreferrer noopener">Ubuntu 18.04</a>&nbsp;</li>
</ul>



<p></p>



<figure class="wp-block-image size-large is-resized"><img decoding="async" width="1024" height="434" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-on-Windows-1024x434.jpg" alt="run ubuntu command on windows" class="wp-image-18462" style="width:491px;height:208px" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-on-Windows-1024x434.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-on-Windows-300x127.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-on-Windows-768x325.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-on-Windows-1536x650.jpg 1536w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-on-Windows-2048x867.jpg 2048w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-on-Windows-785x332.jpg 785w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p><strong>Step 4: Set up default Unix user account and run apt commands</strong></p>



<p></p>



<p>Once <strong>Ubuntu </strong>is installed successfully, please configure the default user account.</p>



<p></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="270" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-linux-on-Windows-1024x270.jpg" alt="" class="wp-image-18463" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-linux-on-Windows-1024x270.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-linux-on-Windows-300x79.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-linux-on-Windows-768x202.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-linux-on-Windows-785x207.jpg 785w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-linux-on-Windows.jpg 1531w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p>Please run the below commands to get the latest updates if any,</p>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size">&gt; sudo apt-get update

&gt; sudo apt-get upgrade</pre>



<p></p>



<p>That&#8217;s all, you are all set to use the Linux command on the window machine.</p>



<p></p>



<p style="font-size:18px">Do you have any <strong>comments or ideas or any better </strong>suggestions to share?</p>



<p class="has-small-font-size"></p>



<p style="font-size:18px">Please sound off your comments below.</p>



<p class="has-medium-font-size"></p>



<p class="has-medium-font-size"><strong>Happy Coding </strong>!!</p>



<p></p>



<hr>



<p class=""></p>



<p class="has-background" style="background-color:#b6d9ac;font-size:18px"><br>Please <strong><em>bookmark </em></strong>this page and <em><strong>share </strong></em>it with your friends.                                                    Please <a href="https://www.thecodebuzz.com/subscription/" target="_blank" rel="noreferrer noopener"><em><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-luminous-vivid-orange-color"><strong>Subscribe</strong> </mark></em></a>to the blog to receive notifications on freshly published (2025) best practices and guidelines for software design and development.</p>




<br>



<hr>



<p class=""></p>



<p></p>



<p></p><p>The post <a href="https://thecodebuzz.com/set-up-wsl-on-windows-run-linux-ubuntu-debian-commands-windows/">Set up WSL on Windows and run Linux commands</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://thecodebuzz.com/set-up-wsl-on-windows-run-linux-ubuntu-debian-commands-windows/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ubuntu-Debian uninstall software packages</title>
		<link>https://thecodebuzz.com/ubuntu-debian-uninstall-software-packages/</link>
					<comments>https://thecodebuzz.com/ubuntu-debian-uninstall-software-packages/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 01 Oct 2021 03:42:10 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apt remove package and dependencies]]></category>
		<category><![CDATA[how to uninstall app in ubuntu 18.04 using terminal]]></category>
		<category><![CDATA[how to uninstall app in ubuntu 20.04 using terminal]]></category>
		<category><![CDATA[how to uninstall package in linux rpm]]></category>
		<category><![CDATA[how to uninstall software in linux]]></category>
		<category><![CDATA[ubuntu uninstall apt]]></category>
		<category><![CDATA[ubuntu uninstall software]]></category>
		<category><![CDATA[Ubuntu-Debian uninstall software]]></category>
		<category><![CDATA[uninstall software in ubuntu using terminal]]></category>
		<guid isPermaLink="false">https://www.thecodebuzz.com/?p=18555</guid>

					<description><![CDATA[<p>Ubuntu-Debian uninstall software packages There are few ways that can be used to uninstall software packages. Today in this article we will see few approaches of uninstalling software packages on Ubuntu or Debian. Command 1 sudo apt-get remove &#60;Package name> If you installed the software via the package manager, you can very much use the [&#8230;]</p>
<p>The post <a href="https://thecodebuzz.com/ubuntu-debian-uninstall-software-packages/">Ubuntu-Debian uninstall software packages</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></description>
										<content:encoded><![CDATA[<h2 class="wp-block-heading">Ubuntu-Debian uninstall software packages</h2>



<p></p>



<p>There are few ways that can be used to uninstall software packages. Today in this article we will see few approaches of uninstalling software packages on Ubuntu or Debian. </p>



<p></p>



<p><strong>Command 1</strong></p>



<p></p>



<pre class="wp-block-preformatted">sudo apt-get remove &lt;<code>Package name</code>></pre>



<p></p>



<p>If you installed the software via the package manager, you can very much use the above command.</p>



<p></p>



<p><strong>Example</strong></p>



<p></p>



<pre class="wp-block-preformatted">sudo apt-get remove <strong>libwww-perl</strong></pre>



<p></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="366" src="https://www.thecodebuzz.com/wp-content/uploads/2021/10/how-can-i-uninstall-software-ubuntu-debian-1024x366.jpg" alt="uninstall-package-ubuntu-debian" class="wp-image-18557" srcset="https://thecodebuzz.com/wp-content/uploads/2021/10/how-can-i-uninstall-software-ubuntu-debian-1024x366.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/10/how-can-i-uninstall-software-ubuntu-debian-300x107.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/10/how-can-i-uninstall-software-ubuntu-debian-768x274.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/10/how-can-i-uninstall-software-ubuntu-debian-1536x548.jpg 1536w, https://thecodebuzz.com/wp-content/uploads/2021/10/how-can-i-uninstall-software-ubuntu-debian-785x280.jpg 785w, https://thecodebuzz.com/wp-content/uploads/2021/10/how-can-i-uninstall-software-ubuntu-debian.jpg 1941w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p><strong>Command 2</strong></p>



<p></p>



<pre class="wp-block-preformatted"><code>sudo apt-get autoremove &lt;Package name></code></pre>



<p></p>



<p>Example </p>



<p></p>



<pre class="wp-block-preformatted">sudo apt-get <code>autoremove </code><strong>libwww-perl</strong></pre>



<p></p>



<p><strong>Command 3</strong></p>



<p></p>



<pre class="wp-block-preformatted"><code><code>sudo apt-get purge &lt;package-name></code></code></pre>



<p></p>



<p>Example </p>



<p></p>



<pre class="wp-block-preformatted"><code>sudo apt-get purge</code> <strong>libwww-perl</strong>
</pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="111" src="https://www.thecodebuzz.com/wp-content/uploads/2021/10/uninstall-software-ubuntu-debian-1024x111.jpg" alt="Ubuntu-Debian uninstall software packages" class="wp-image-18562" srcset="https://thecodebuzz.com/wp-content/uploads/2021/10/uninstall-software-ubuntu-debian-1024x111.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/10/uninstall-software-ubuntu-debian-300x33.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/10/uninstall-software-ubuntu-debian-768x83.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/10/uninstall-software-ubuntu-debian-1536x167.jpg 1536w, https://thecodebuzz.com/wp-content/uploads/2021/10/uninstall-software-ubuntu-debian-785x85.jpg 785w, https://thecodebuzz.com/wp-content/uploads/2021/10/uninstall-software-ubuntu-debian.jpg 1780w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p>The above command removes the package and all related packages AND configuration files.</p>



<p></p>



<p><strong><em>References:</em></strong> </p>



<p></p>



<ul class="wp-block-list"><li><a href="https://www.thecodebuzz.com/set-up-wsl-on-windows-run-linux-ubuntu-debian-commands-windows/" title="Set up WSL on Windows and run Linux commands" target="_blank" rel="noreferrer noopener"><strong><em>Set up WSL on Windows and run Linux commands</em></strong></a></li></ul>



<p></p>



<p></p>



<p style="font-size:18px">Do you have any <strong>comments or ideas or any better </strong>suggestions to share?</p>



<p class="has-small-font-size"></p>



<p style="font-size:18px">Please sound off your comments below.</p>



<p class="has-medium-font-size"></p>



<p class="has-medium-font-size"><strong>Happy Coding </strong>!!</p>



<p></p>



<hr>



<p class=""></p>



<p class="has-background" style="background-color:#b6d9ac;font-size:18px"><br>Please <strong><em>bookmark </em></strong>this page and <em><strong>share </strong></em>it with your friends.                                                    Please <a href="https://www.thecodebuzz.com/subscription/" target="_blank" rel="noreferrer noopener"><em><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-luminous-vivid-orange-color"><strong>Subscribe</strong> </mark></em></a>to the blog to receive notifications on freshly published (2025) best practices and guidelines for software design and development.</p>




<br>



<hr>



<p class=""></p>



<p></p>



<p></p><p>The post <a href="https://thecodebuzz.com/ubuntu-debian-uninstall-software-packages/">Ubuntu-Debian uninstall software packages</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://thecodebuzz.com/ubuntu-debian-uninstall-software-packages/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
