Notes on using the Windows Subsystem for Linux

This is still work in progress...

  1. Install the WSL as per https://docs.microsoft.com/en-us/windows/wsl/install-win10, but making sure to run the PowerShell as administrator.
  2. In my case I added Ubuntu 18.04 LTS from the Microsoft Store.
  3. In the Ubuntu VM, sudo apt update && sudo apt upgrade
  4. sudo apt install gcc build-essentials python3-distutils python-dev libjpeg-dev libxml2-dev libxslt1-dev
  5. wget https://launchpad.net/plone/5.2/5.2.1/+download/Plone-5.2.1-UnifiedInstaller-r2.tgz (get the URL from https://plone.org/download/releases/5.2.1)
  6. tar xfz Plone-5.2.1-UnifiedInstaller-r2.tgz
  7. cd Plone-5.2.1-UnifiedInstaller-r2
  8. ./install.sh --with-python=``which python3`` standalone
1 Like

I worked with WSL (1) for about 6 months, and while it technically worked, the IO-performance was incredibly bad, so buildout and test runs took like minium 5x longer than on a comparable Linux box.

I read that WSL (2) is much better, but in the meantime I moved to an Ubuntu box.

Yeah I noticed it wasn't speedy :slight_smile: but I ran into issue after issue trying to get the unified installer to work on native Windows 10 so I wanted to see if this would be easier for people who wanted to try Plone but have access only to a Windows machine. (Heck, installing Plone on a RaspberryPi is easier than on a Windows machine). :strawberry:

1 Like