Code Monkey home page Code Monkey logo

archwsl's Introduction

Logo

Arch Linux in WSL

Build a Windows Subsystem for Linux (WSL) distribution installer/launcher application.

Install

  1. The latest version of WSL is available from the Microsoft Store

  2. Download the .appx app and corresponding .cer cert from releases/latest

  3. Import the self-signed .cer to Trusted Publisher and Trusted Root Certificate Authority

  4. Install the .appx app package

Build

  1. Obtain root filesystem tarball and save as x86\install.tar.gz. I preferred the method from badgumby/arch-wsl

  2. Setup and build:

    • Detailed notes: build-notes supplement the Microsoft README

    • Visual Studio isn't strictly required, but it was practically so in order to get the build tools setup and .vcxproj files corrected.

Notes

  1. The command netsh winsock reset has been used to solve a number of strange WSL failures, for example:

    The attempted operation is not supported for the type of object referenced. Error code: Wsl/Service/0x8007273d

To-do

  1. Any other advanced settings and then add /etc/wsl to rootfs

  2. Eliminate ARM build targets if not needed (or figure out necessary tools)

Credits

This solution was pieced together from multiple sources:

archwsl's People

Contributors

yearski avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.