How to Install Oracle Linux 9: A Complete Step-by-Step Guide

This guide will walk you through installing Oracle Linux 9, a high-performance, secure, and enterprise-ready RHEL fork.

Oracle Linux has a history dating back more than 15 years of consistent stability and reliability, being a popular choice among the large enterprise segment.

The distro is fully 1:1 binaries compatible with Red Hat Enterprise Linux (RHEL) and is entirely free (available under the GNU General Public License) to download and use.

It is a trustworthy Linux distro backed by the enormous financial power of an IT behemoth like Oracle. Security updates are promptly, and stability and reliability are ensured even under heavy workloads.

But, before we get into the meat of the guide, let’s first address a key question.

Why Choose Oracle Linux?

Oracle Linux includes several essential characteristics that make it suitable for running enterprise-class workloads.

One such key feature is KSplice. It is an open-source Linux kernel extension that allows security fixes to be applied to a running kernel without requiring a reboot, avoiding downtime.

The following thing that makes the difference between Oracle Linux and other RHEL-based derivatives is the Unbreakable Enterprise Kernel (EUK). It is a Linux kernel built by Oracle, included and enabled by default in Oracle Linux.

Of course, if you intend to use the Oracle database, selecting Oracle Linux as the operating system is more than reasonable. With little effort, Oracle Linux can enhance Oracle DB performance. Additionally, most of the Oracle products are tested under it.

Last but not least, the distribution is free and available under the GNU General Public License. In other words, you can freely and legally download and use it on your production systems without any additional commitment to Oracle.

With those brief explanations out of the way, let’s get to the meat of this guide: how to install Oracle Linux 9.

1. Download Oracle Linux 9 Installation ISO Image

The first step, of course, is to get the installation ISO image. Oracle Linux, as previously stated, is entirely free to download.

So, open the following URL in your browser: and download the most recent “Full ISO” version, “OracleLinux-R9-U0-x86_64-dvd.iso.”

Download Oracle Linux 9 Installation ISO Image

This guide will use the “Full ISO” option for the installation image. However, the file is large (9.1 GB) because it contains all packages for offline installation.

Therefore, it’s a good idea to consider downloading it with software like wget, which will ensure that you can resume where you left off if the download is interrupted.

You can use one of the other two options, “Boot ISO” (840 MB) or “UEK boot ISO” (880 MB), if you think it is a better idea. They are significantly lower in size, but all required software will be downloaded from the Internet during installation.

2. Create Bootable USB

If you’re installing Oracle Linux 9 on a physical machine, you may need to make a bootable USB medium and boot from it.

So, after downloading the installation ISO image, make it bootable by burning it to a USB drive.

Various bootable USB creation tools are available, but we will use the most straightforward option by using the dd command. First, don’t forget to replace /dev/sda with the correct path to your USB device.

sudo dd if=OracleLinux-R9-U0-x86_64-dvd.iso of=/dev/sda status=progressCode language: JavaScript (javascript)
Create Bootable USB

However, if you prefer to use a graphical application (GUI), here are some excellent guides we can offer you on the subject:

Of course, there is no need to create a bootable USB if you will install Oracle Linux 9 into a virtual machine.

3. Install Oracle Linux 9

Oracle Linux uses the Anaconda installer, also used by RHEL and its clones, such as Alma Linux and Rocky Linux. So, if you install any of these distros, the installation steps are nearly identical.

3.1 Boot from Oracle Linux 9 Installation Media

To start the installation process, boot from your Oracle Linux 9 installation media. You will get the following screen:

Boot from Oracle Linux 9 Installation Media

Use the up arrow key to pick the “Install Oracle Linux 9.0.0” option and hit “Enter.”

3.2 Choose Your Preferred Language

The Welcome Screen is the first screen to appear once the system has finished booting. Here you should select a language for Oracle Linux 9 installation, so choose the appropriate one for your setup.

Choose Your Preferred Language

3.3 Preparing RHEL 8 Installation

On the next screen, you will be greeted by the “Installation Summary” screen containing 11 settings. It serves as the main or home screen.

Since we’ll leave the default options for some of them, we’ll only focus on the ones we need to change. We will leave the following unchanged because they meet our requirements:

  • Keyboard: English (US)
  • Language Support: English (United States)
  • Time & Date: America/New York timezone
  • Installation Source: Local media
  • KDUMP: Kdump is enabled
Installation Summary Screen

So let’s start by configuring our installation.

Network & Host Name

  1. Select the “Network & Hostname” option from the installation summary. In the “Host Name” box, enter a custom hostname, for example, “oracle9.”
  2. Confirm the new hostname by pressing the “Apply” button.
  3. When finished, click the “Done” button to return to the “Installation Summary” screen.
Configure Network and Hostname

Installation Destination

For our installation, we will use automatic partitioning of the disk. This ensures the selected destination storage disk will automatically be partitioned with required LVM logical volumes and formatted with the XFS file system.

  1. Select your machine’s storage under the “Local Standard Disks” heading.
  2. Confirm the changes by pressing the “Done” button.
Set Installation Destination

Of course, if you want to change the partitioning configuration, tick the “Custom” option, click the “Done” button, and go through the partitioning screens.

Software Selection

Here you will be presented with a list of predefined Base Environment options and optional add-ons. Of course, this is entirely dependent on your requirements.

The screen is divided into “Base Environment” on the left and “Additional Software for Selected Environment” on the right. Each profile represents a collection of functionalities and the packages and software required to fulfill those functionalities.

In the “Base Environment” section, you choose an environment that best matches the system’s intended use. Then, in the “Additional Software for Selected Environment” section, select the software you want to add to your chosen Base Environment.

By default, the “Server with GUI” base environment installs the GNOME desktop, which will be our choice.

  1. Select your desired “Base Environment” installation type.
  2. Click the “Done” button.
Software Selection

Of course, if you want a different configuration, you can choose whichever option comes closest to your needs.

Root Password

Click “Root Password” to display the ROOT PASSWORD screen.

  1. Enter the root password in the “Root Password” and “Confirm” fields. The screen provides a visual indication of the strength of the password.
  2. Click the “Done” button to return to the “Installation Summary” screen.
Set Root Password

User Creation

Let’s now create the user account we’ll use for everyday work. First, click “User Creation” from the “Installation Summary” screen.

  1. Enter the information for the new local user account.
  2. Select “Make this user administrator” if you want the user  to run administrative tools using the sudo command.
  3. Set the user’s password. Again, there is a visual indication of the password’s strength.
  4. Once configuring the user, click “Done” to return to the “Installation Summary” screen.
Create Regular User Account

3.4 Start Oracle Linux 9 Installation Process

Finally, we’re ready to install our Oracle Linux 9 system! So, once everything is set up according to your liking, hit “Begin Installation.” This will start the initial installation process.

Start Oracle Linux 9 Installation Process

Be patient as the installation takes some time, so wait for the process to complete.

Installing Oracle Linux 9

The installer will prompt you to restart the system when the installation is finished. Click on “Reboot System.”

Reboot System

4. Post-Installation Steps

The Oracle Linux 9 GRUB menu will welcome you at boot time.

Oracle Linux 9 GRUB Screen

Next, we will get the GNOME login screen because we installed Oracle Linux 9 server with GUI, so use the username and password we created earlier.

GDM Login Manager

Congratulations! Oracle Linux 9 has been installed successfully and is ready for use!

Oracle Linux 9 GNOME Desktop

Of course, the first and most crucial step is to apply all available security updates and bug fixes using the DNF package manager.

sudo dnf update
Updating Oracle Linux 9 Using the DNF Package Manager

It is a good idea to reboot your machine after installing the updates. From now on, you may enjoy the seamless and stable operation that Oracle Linux guarantees.

Oracle Linux 9 Installed Successfully


This step-by-step guide covers Oracle Linux 9 installation. As you can see, the installation is the same as other RHEL-based distros such as AlmaLinux and Rocky Linux.

Oracle Linux 9 is undoubtedly a rock-solid Linux operating system and a reliable option for your server.

I hope you found this helpful guide. Thanks for using it! Feel free to share your thoughts in the comments box below.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%

Leave a Reply

Your email address will not be published. Required fields are marked *