Jump to content


We use cookies to log you in, for ads and for analytics. OK

Photo

Getting started with the Windows Subsystem for Linux (WSL)


  • Please log in to reply
1 reply to this topic

#1 anyweb

anyweb

    Administrator

  • Admin
  • PipPipPipPipPipPipPipPip
  • 3,694 posts

Posted 10 May 2018 - 09:02 AM

Introduction

 

The Windows Subsystem for Linux lets developers run Linux environments, including most command-line tools, utilities, and applications  directly on Windows, unmodified, without the overhead of a virtual machine.

You can...

    Choose your favorite Linux distributions from the Windows Store.

  •     Run common command-line utilities such as grep, sed, awk, etc.
  •     Run Bash shell scripts and Linux command-line applications including:

        Tools: vim, emacs, tmux

        Languages: Javascript/node.js, Ruby, Python, C/C++, C# & F#, Rust, Go, etc.

        Services: sshd, MySQL, Apache, lighttpd

  •     Install additional Linux tools using the distribution's built in package manager (apt-get, for example).
  •     Invoke Windows applications from the Linux console.
  •     Invoke Linux applications on Windows.

So let's see how this works, for this guide I tested this on a Windows 10 Insider Preview build version 10.0.17661.1001, however all you need to test this is any version of Windows 10 from Fall Creators Update (or later), and that means any version after Windows 10 1703.

Step 1. Add the WSL feature

In Windows Control Panel, select Programs and Features, select Turn Windows features on or off. Scroll down to Windows Subsystem for Linux, and enable it.

Attached File  windows subsystem for linux.png   58.85KB   0 downloads

 

Reboot when prompted.

Step 2. Open the Microsoft Store and search for Linux

Attached File  search for linux.png   274.73KB   0 downloads

Step 3. Select a Linux Distro in the Apps list

 

Select a Linux Distro in the apps list or click on Show All to see all available

Attached File  linux distros.png   378.83KB   0 downloads

Step 4. After selecting a Linux Distro, click on Get

Attached File  Get.png   315.29KB   0 downloads

Step 5. Pin to start or Launch

 

After it is installed, you'll get a toast notification stating it's installed and ask you to Launch or Pin to Start. If you choose Pin to Start the Distro will be listed in your start menu.

Attached File  pin to start.png   898.72KB   0 downloads

Step 6. Launch the Distro

On first launch you'll see the Distro is installing

 

Attached File  ubuntu installing.png   8.02KB   0 downloads

 

If you get "Installation Failed! Error: 0x8007019e", then make sure you've completed Step 1.

 

After installing the Distro, you'll be prompted to enter a username and password

 

Attached File  prompting for username password.png   20.57KB   0 downloads

 

and it's done !

 

Attached File  ubuntu installed.png   49.34KB   0 downloads

 

it even has vi !

Attached File  vi is installed.png   27.39KB   0 downloads

 

 

Further reading

 

https://docs.microso...l/install-win10


  • Oroshi, ghExF2hfAm, J5Fbr3HcsB and 3 others like this
i do windows too

#2 Oroshi

Oroshi

    Linux-Noob Frequent Member

  • Supporters
  • PipPipPip
  • 382 posts

Posted 10 May 2018 - 09:08 AM

lol i posted this link and mention about WSL in your post under PowerShell

 

I personally have not test it yet.. i wonder if it is stable? let me know :) 


Oroshi

 

Keep your password safe and try not to get rooted

 

 



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users