Run Oracle Linux on WSL with Pengwin Enterprise (Updated 23-02-2021)
Pengwin Enterprise supports several enterprise Linux distributions, including Oracle Linux. You can upgrade to Oracle Linux completely free, no strings attached, using a handy script provided by Oracle. This is the exact same Oracle Linux that Oracle provides to its enterprise customers. And it ‘just works’ on the personal use demo build of Pengwin Enterprise built with Scientific Linux in the Microsoft Store.
1.
Install the personal use demo of Pengwin Enterprise built with Scientific Linux or build it from source.
2.
Set a password for root and create a default non-privileged user.
3.
Change to root:
$ su -
4.
Download and run Oracle's script:
# curl https://raw.githubusercontent.com/oracle/centos2ol/main/centos2ol.sh | bash
That’s it.
If you are in WSL1 remove sudo due to it halts the distribution. Use su -c or su - instead.
# yum remove sudo -y
See more on Oracle Linux.
Oracle Linux has not endorsed Pengwin Enterprise.