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.

101e08a1-58fa-4470-b85c-a4f89c8b802c.png
{1FEE154C-C58C-43B4-A06D-3097CDFA05C3}.png.jpg
{0A941B3E-4934-4DB5-8BDE-2852281A1B3F}.png.jpg

2.

Set a password for root and create a default non-privileged user. 

{2C760724-63F4-4D99-82CE-5C1BE700BB27}.png.jpg

3.

Change to root:

$ su -
{53623AF7-D003-46A1-9A16-56DF17962B38}.png.jpg

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

Bonus:

Install wslutilities

# yum install wslu -y
{99D2A3B5-BE21-489B-92D3-2058CCB19D07}.png.jpg

See more on Oracle Linux.

Oracle Linux has not endorsed Pengwin Enterprise.