How to Install Oracle on Linux 8? – Your Comprehensive Guide


Are you ready to unlock the power of Oracle on your Linux 8 system? Installing Oracle on Linux 8 might sound like a daunting task, but fear not! In this comprehensive guide, we will walk you through the entire process, ensuring a smooth and successful installation. Whether you’re a seasoned IT professional or a curious newcomer, you’ll find all the information you need right here.

How to Install Oracle on Linux 8?

Let’s dive right in and start by installing Oracle on your Linux 8 system. Follow these steps carefully, and you’ll have Oracle up and running in no time.

Preparing Your System

Before you begin the installation process, it’s essential to prepare your system to ensure a seamless experience. Here’s what you need to do:

  1. Check System Requirements: Make sure your system meets the minimum requirements specified by Oracle for Linux 8.
  2. Update Your System: Ensure that your Linux 8 system is up to date by running the following commands:bashCopy codesudo yum update
  3. Create a Swap Space: Oracle requires a specific amount of swap space. Create and configure it appropriately.
  4. Install Dependencies: Install necessary packages and dependencies by running:bashCopy codesudo yum install oracle-database-preinstall-8

Downloading Oracle Software

Now that your system is ready, it’s time to download the Oracle software. Follow these steps:

  1. Download Oracle Software: Visit the official Oracle website and download the Oracle Database software for Linux 8.
  2. Extract the Software: Use the following command to extract the downloaded software:bashCopy codetar -xzvf
  3. Install Oracle Database: Install the Oracle Database software using the RPM package manager:bashCopy codesudo rpm -i oracle-database-xe-18c-1.0-1.x86_64.rpm

Configuring Oracle

With the software installed, it’s time to configure Oracle on your Linux 8 system. Follow these steps:

  1. Run Oracle Configuration: Execute the following command to configure Oracle:bashCopy codesudo /etc/init.d/oracle-xe-18c configure
  2. Follow the Wizard: The configuration wizard will guide you through the setup process. Follow the prompts and provide the necessary information.
  3. Start Oracle: Start the Oracle database service using the following command:bashCopy codesudo systemctl start oracle-xe-18c
  4. Enable Auto-Start: To ensure Oracle starts automatically with your system, run:bashCopy codesudo systemctl enable oracle-xe-18c

Verifying the Installation

To ensure everything is working correctly, perform the following steps:

  1. Access Oracle Database: Open your web browser and access Oracle Database at http://localhost:8080/apex.
  2. Log In: Log in with the credentials you provided during the configuration process.
  3. Test Database Connection: Create a test database connection to verify that Oracle is functioning as expected.

Frequently Asked Questions (FAQs)

Can I install Oracle on any Linux 8 distribution?

Oracle provides specific instructions for installing on supported Linux distributions. Make sure you’re using a compatible distribution.

Do I need a powerful system to run Oracle on Linux 8?

Oracle’s system requirements vary depending on your usage. It’s recommended to review the requirements on Oracle’s official website.

Is Oracle Database XE free to use?

Yes, Oracle Database XE is a free, lightweight edition of Oracle Database designed for small-scale applications.

How can I uninstall Oracle from my Linux 8 system?

Oracle provides uninstallation instructions in their documentation. Follow those steps to remove Oracle from your system.

What if I encounter errors during the installation?

If you encounter any errors, refer to Oracle’s documentation or seek assistance from their support community.

Can I use Oracle on Linux 8 for production environments?

Oracle Database XE is primarily intended for development and small-scale use. For production environments, consider other Oracle Database editions.

How to install Oracle on Linux 8?

To install Oracle on Linux 8, you can follow Oracle’s official documentation and use the Oracle Universal Installer (OUI) for the installation process.

How to download and install Oracle Linux?

To download and install Oracle Linux, visit the Oracle Linux website, download the ISO image, create a bootable USB or DVD, and follow the installation instructions provided in the documentation.


Congratulations! You’ve successfully installed Oracle on your Linux 8 system. With this powerful database management system at your fingertips, you’re ready to tackle data-intensive tasks and applications. Remember to consult Oracle’s official documentation for advanced configuration and usage.

Leave a comment