<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hussam Dehathim</title>
    <description>The latest articles on DEV Community by Hussam Dehathim (@hussamde).</description>
    <link>https://dev.to/hussamde</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F161539%2F5ef1cffd-45f1-45cf-a1c7-77ba2fd8a311.png</url>
      <title>DEV Community: Hussam Dehathim</title>
      <link>https://dev.to/hussamde</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hussamde"/>
    <language>en</language>
    <item>
      <title>Why and How I moved from OSX to Windows 10</title>
      <dc:creator>Hussam Dehathim</dc:creator>
      <pubDate>Thu, 16 Jul 2020 17:51:55 +0000</pubDate>
      <link>https://dev.to/hussamde/why-and-how-i-moved-from-osx-to-windows-10-16ce</link>
      <guid>https://dev.to/hussamde/why-and-how-i-moved-from-osx-to-windows-10-16ce</guid>
      <description>&lt;p&gt;Hello everyone, Today I want to share my experience with you on why and how I moved from OSX to Windows 10&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;First, Let's start with "Why?"&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Back in February 2019, I decided to buy a MacBook air to learn on it programing, And yes, that was a wrong decision.&lt;/p&gt;

&lt;p&gt;Over time I have been using the Mackbook air, I faced so many problems, with the hardware I used to use two monitors. Therefore the CPU turn into a stove to the degree that the WiFi will not work correctly and become very slow, so I decided to use one monitor, which was okay until last April. When things got awful with the laptop, overheating, lousy WiFi, slow.&lt;/p&gt;

&lt;p&gt;So it was time to use my Gaming PC For Programing, so I sold the Macbook Air and upgraded my pc even more.&lt;/p&gt;

&lt;p&gt;So yeah, I had a horrible experience with The MacBook air (2018).&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Now Let Move on To "How?"&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Since I came from an OSX background, and I used to use the Terminal with programming, I searched for a similar experience in Windows 10, and this what I came up with.&lt;/p&gt;

&lt;p&gt;WSL stands for &lt;strong&gt;Windows Subsystem for Linux,&lt;/strong&gt; is a compatibility layer for running Linux On Windows 10, WSL version 1 was introduced In May 2019, and WSL version 2 was released In May 2020.&lt;/p&gt;

&lt;p&gt;And in this guide, we will use WSL 2&lt;/p&gt;

&lt;h3&gt;
  
  
  Requirement:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Running Windows 10, updated to version 2004, Build 19041 or higher.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And you can check your windows version by pressing The Windows log key + R, then type &lt;strong&gt;winver.&lt;/strong&gt;&lt;br&gt;
Or &lt;br&gt;
By Opening the Command Prompt And Typing &lt;strong&gt;ver.&lt;/strong&gt;&lt;/p&gt;


&lt;h3&gt;
  
  
  &lt;strong&gt;Step 1 - Install the Windows Subsystem for Linux:&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;First You need to enable " Windows subsystem for Linux" by opening the PowerShell and Enable the 'Virtual Machine Platform' by Typing this :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="nx"&gt;dism&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;exe&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;online&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;enable&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;feature&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;featurename&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nx"&gt;Microsoft&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;Windows&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;Subsystem&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;Linux&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;all&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;norestart&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Installing WSL2:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Enable the 'Virtual Machine Platform' optional component:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="nx"&gt;dism&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;exe&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;online&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;enable&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;feature&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;featurename&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nx"&gt;VirtualMachinePlatform&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;all&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;norestart&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;After That Restart Your Machine to complete the installation.&lt;/p&gt;

&lt;p&gt;Set WSL 2 as your default version:&lt;/p&gt;

&lt;p&gt;Open the PowerShell and enter the next command to set WSL 2 As default when you installing a new Linux.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="nx"&gt;wsl&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="kd"&gt;set&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="k"&gt;default&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;version&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;






&lt;h3&gt;
  
  
  &lt;strong&gt;Step 2 -&lt;/strong&gt; Install your Linux :
&lt;/h3&gt;

&lt;p&gt;Now you need to open Microsoft Store and search for Linux.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--k12sPGQQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/7jzicx5ed4wyxn7mgcrq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--k12sPGQQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/7jzicx5ed4wyxn7mgcrq.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Set up Linux:&lt;/p&gt;

&lt;p&gt;Now, After installing your version of Linux, you need to open it, and it'll ask for a new user name and password.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--W6oPrIKf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/hqenwh3vm29avqdk6zsj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--W6oPrIKf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/hqenwh3vm29avqdk6zsj.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Step 3 - Install Terminal (optional):
&lt;/h3&gt;

&lt;p&gt;And My advice to you is to Install Terminal you'll find it in Microsoft Store.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--XL_U1pKX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/4n3ax5zhhegdkblmobyz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XL_U1pKX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/4n3ax5zhhegdkblmobyz.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And by that, we are Done.&lt;br&gt;
Now You have Linux and windows in your system at the same time.&lt;br&gt;
Thank you for Reading, And I hope that was useful for you, And if you have any questions, leave it in the discussion below.&lt;/p&gt;

</description>
      <category>wsl</category>
      <category>windows</category>
      <category>linux</category>
    </item>
  </channel>
</rss>
