Windows Subsystem for Linux | Computing for Arts + Sciences

Windows Subsystem for Linux

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

You can:

  1. Choose your favorite GNU/Linux distributions from the Windows Store.
  2. Run common command-line free software such as grep, sed, awk, or other ELF-64 binaries.
  3. Run Bash shell scripts and GNU/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
  4. Install additional software using own GNU/Linux distribution package manager.
  5. Invoke Windows applications using a Unix-like command-line shell.
  6. Invoke GNU/Linux applications on Windows.

Find out more on Microsoft's Documentation page.

Installation

System Requirements

  • You must be running Windows 10 version 1607 (the Anniversary update) or above, aka build 14393.0.
  • If you're having trouble installing WSL, check your version or build number.

Installation Steps

There are two steps to use WSL:

  1. Install WSL (requires Administrative access):
  2. Install the Linux Distribution of your choice.

Upgrading

Upgrading to WSL 2.0 can be done via Software Center (SC). The SC application will automatically make the additional Windows Optional Feature available if you're running Windows 10 release 2004.

Once upgraded, it may be desirable to convert the distributions to WSL 2.0 and set default WSL version to 2.0; the Microsoft documentation thoroughly explains how to do this.

FAQs

Take a look at Microsoft's FAQ page for the complete list of FAQs. Here are some of our favorites:

In general, CAS can neither help you troubleshoot WSL nor the underlying distribution; read the troubleshooting guid for help.

CAS Support

We know that using Linux Tools is important to some of your work and/or research. As such, we want to make this available to you as an option in lieu of a second computer or a dual boot system. However, we cannot support the inner workings of WSL, that's up to you. So, to re-iterate:

Related Article: 
Availability details
Available on: 
Windows
Available to: 
Faculty
Staff
Students
May be installed on: 
UNT-owned computers on campus
Faculty laptop or home computer
Student-owned devices