This guide outlines the steps to install and use Ubuntu for Windows Subsystem for Linux (WSL) on Workplace as a Service (WPAAS) clients. The instructions are divided into two sections: one for vanilla installations and another for already running Ubuntu installations.
- system ca-certificates for zscaler, stxt and srg
- HTTP_PROXY and HTTPS_PROXY
- Git proxy settings
- Npm proxy and certificates
- Version pinnings for kubectl and helm
- VA-API Video Hardware decode/encode accelertion via mesa/gallium/d3d12
- GPU containers (nvidia docker runtime)
- CUDA support
- Docker
- Kubectl (incl alias & completion)
- Helm
- Node
- JDK 11+17 (Temurin)
- Dotnet SDK 6+7
- Git & GitHub CLI
- Powerline
- OpenAI whisper
- Rider
- IntelliJ
To begin, follow these steps:
- Enable Windows Subsystem for Linux and Virtual Machine Platform.
- Download and extract the contents of this repository to your Windows computer.
- Launch an elevated PowerShell by running PowerShell as an administrator and selecting your administrative account.
- Due to the unsigned nature of the script, the PowerShell execution policy must be bypassed using
Set-ExecutionPolicy Unrestricted
. - Once the script has finished running, it is recommended to restore the PowerShell execution policy to
Default
.
After preparing your system, follow these steps to install Ubuntu:
- Launch an elevated PowerShell (not using your administrative account) by running PowerShell as an administrator and selecting your regular user.
- Run the
bootstrap.ps1
script located in the extracted repository using.\bootstrap.ps1
. - The script will guide you through the remaining installation process.
- This installation process will not affect any existing WSL installations; instead, it will create a new WSL installation named
ubuntu-wpaas-noble
. - After completing the installation process, it is recommended to restore the PowerShell execution policy to
Default
.
For a quicker installation method, execute the following PowerShell command directly from GitHub. However, this method is not recommended as it offers no security guarantees.
In a administrator (adm-*) power shell run the following command
Set-ExecutionPolicy Unrestricted
and then in a regular power shell run
wsl --update
wsl --set-default-version 2
iex (Invoke-WebRequest -Uri https://raw.githubusercontent.com/swisstxt/wpaas-wsl-ubuntu/master/bootstrap.ps1).Content
To install Ubuntu for WSL on an already running Ubuntu installation, follow these steps:
- Download the contents of this repository into your WSL installation.
- Run the
install.sh
script located in the extracted repository.