Use the Windows 10 Subsystem for Linux

Windows-10-Subsystem-for-Linux-5
Microsoft CEO Satya Nadella said “Microsoft loves Linux.”

Microsoft Loves Linux?

If using Linux within your Microsoft operating system has been something that you have always dreamed of then you may be pleased with this feature.  Microsoft has made a number of Linux distros available within the Windows store that enable you to use a bash terminal window.

Here is how you set it up:

First add the Windows Feature ‘Windows Subsystem for Linux’

Windows-10-Subsystem-for-Linux

Then enable developer mode by going to Settings>Update & Security and selecting for Developers.  You will then need to reboot your machine.

[amazon_link asins=’B0111YEG44′ template=’ProductAd’ store=’dailysysadmin-21′ marketplace=’UK’ link_id=’3f620ac4-868d-11e7-8900-130827ed2392′]

Windows-10-Subsystem-for-Linux-6

Now install the distro of your choice from the Windows store , I selected Ubuntu and SUSE.

Windows-10-Subsystem-for-Linux-2

Windows-10-Subsystem-for-Linux-3

You should now be able to open the Ubuntu application which will start installing.

Windows-10-Subsystem-for-Linux-7

Once finished create a UNIX username.

Windows-10-Subsystem-for-Linux-8

Then create a password for the account.

Windows-10-Subsystem-for-Linux-9

You then have access to the Ubuntu terminal command line.

Windows-10-Subsystem-for-Linux-10

You can now run familiar Linux commands such as ‘top’.

Windows-10-Subsystem-for-Linux-11

This seems like a great idea for developers and will make the choice of tools they decide on less restrictive.  It also removes the need for workarounds such as Linux VMs or dual booting.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *