How to install Oracle Linux on Windows 10 or 11 WSL – Subsystem

As CentOS is not the option available to use on Windows Subsystem for Linux using the official Microsoft Store, hence here is the alternative. We can install Oracle Linux on WSL 1 or 2 on either Windows 11 or 10 using the tutorial given here.

Oracle Linux is one-to-one RedHat binary compatible, available to download, use and install free of cost. However, if you don’t need a VirtualBox or dedicated virtual machine to experience; it is available to use as Windows Subsystem for Linux. Oracle Linux combines the fundamental building blocks of modern IT infrastructure: operating system, containers, and virtualization into one integrated offering. Oracle Linux provides the reliability, scalability, security, and performance to run demanding SaaS, PaaS, and traditional enterprise workloads.

Version 7 Update 9 of the Oracle Linux enterprise operating system, which was released in March 2021, is now available to all users of Windows 11 and Windows 10 via the Microsoft Store as a free download for the Windows subsystem for Linux (WSL). It is primarily the Linux software developers who benefit from this.

However, meanwhile, Microsoft has also made Oracle Linux available in the current version 8.5 for the Windows Subsystem for Linux in the Microsoft Store. But while doing this article, version 8 was currently not available to install.

For those who yet don’t know about the WSL- Windows subsystem for Linux, it is a Linux implementation by Microsoft to run Linux distro apps. It is available in two versions WSL 1 and WSL 2, the latter version needs a Virtual machine because it also supports the graphical applications of Linux.


Steps to install Oracle Linux 8 or 7.5 on Windows 10 | 11 WSL

1. Enable WSL – Windows Subsystem Linux

The first thing which we need to have is the WSL, for that enable it, if not already. Go to the Search box and type – Turn  Windows features on or off. As the option appears for it, click to open the same.

On the opened window, scroll down and select the box given for the Windows subsystem for Linux. And then click the OK button. After that restart your system to apply the changes.

Enable Windows 11 subsystem for Linux


2. Download Oracle Linux 8 or 7 on Windows 11 or 10

The next thing we need is the Oracle Linux WSL distro app, for that open Microsoft Store on Windows 10 or 11 and in the search box type – Oracle Linux. Alternatively, you can use these links- Oracle Linux 7.9 WSL or Oracle Linux 8 WSL.

Download Oracle Linx 8 or 7 on Windows 11 or 10


3. Run Oracle Linux WSL App

Once the downloading is completed, go to the search box of your Window and search for Oracle Linux. As its icon appears, click to run the same.

Run Oracle Linux WSL App


4. Create Username and password

As we run the application, it will start extracting and installing the files required to run Oracle Linux on Windows 10 or 11 WSL. Once done, the same setup will ask you to set a username and password to create a new user account with sudo rights on your newly installed Linux distro.

Set Oracle Linux WSL username and password


5. Update and upgrade

Well, the first thing we should start with is to make sure the system base is up to date. And that we can easily do using the in-built package manager.

For Oracle Linux 7.x

sudo yum update && sudo yum upgrade

For Oracle Linux 8.x

sudo dnf update && sudo dnf upgrade


6. Uninstall, Repair, or Reset

In the future, due to some reason, you are required to either Reset, Repair, or completely remove the Oracle Linux WSL app, then we can do that as well. Again in the search box type – Oracle Linux and select the “App Settings” option.

WSL APP distro Settings Reset or Reinstall or Uninstall Oracle Linux app


Other Articles:

How to download Oracle Linux to install on VirtualBox
What is Oracle Linux? And where to Download it
Install Ubuntu 20.04 WSL on Windows 11



1 thought on “How to install Oracle Linux on Windows 10 or 11 WSL – Subsystem”

  1. What about the error:

    Oracle Linux 8 BaseOS Latest (x86_64) 0.0 B/s | 0 B 00:00
    Errors during downloading metadata for repository ‘ol8_baseos_latest’:
    – Curl error (6): Couldn’t resolve host name for [Could not resolve host:]
    Error: Failed to download metadata for repo ‘ol8_baseos_latest’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

    Someone know how to fix?


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.