Installing Oracle AI Database Using RPM Packages

Learn how to leverage and take advantage of an RPM framework to easily deploy Oracle AI Database.

About RPM-Based Oracle AI Database Installation

Starting with Oracle Database 18c, you can install a single-instance Oracle Database or an Oracle Database Instant Client software using RPM packages.

An RPM-based installation performs preinstallation checks, extracts the database software, reassigns ownership of the extracted software to the preconfigured user and groups, maintains the Oracle inventory, and runs all root operations required to configure the Oracle AI Database software for a single-instance Oracle AI Database creation and configuration.

The RPM-based installation process detects when the minimum requirements for an installation are not met and prompts you to finish these minimum preinstallation requirements.

An RPM-based installation performs a software-only Oracle AI Database installation and creates an Oracle home. After the Oracle home is created, you can then use Oracle Database Configuration Assistant (Oracle DBCA) to create an Oracle AI Database.

The RPM-based installation process provides you with the option to create a database with the default settings using the /etc/init.d/oracledb_ORCLCDB-26ai configure service configuration script.

Restrictions and Guidelines for RPM-Based Installations

Review these guidelines before you start your RPM-based Oracle AI Database installation.

  • Patching Oracle AI Database software using RPMs is not supported. Please follow the regular patching process to apply Oracle AI Database patches.
  • An RPM-based Oracle AI Database installation is not available for Standard Edition 2.
  • RPM-based database upgrades using rpm -Uvh is not supported. For Oracle AI Database upgrades, follow the regular upgrade process.
  • An RPM-based installation supports the installation of multiple Oracle AI Database software versions into different Oracle homes on the same machine.

RPM Packages Naming Convention

The RPM packages naming convention includes information such as the version, release, and architecture.

The naming convention for RPM packages is name-version-release.architecture.operating system.rpm

The following table describes the variables used in the RPM oracle-ai-database-ee-26ai-1.0-1.el9.x86_64.rpm

Table: RPM Packages Naming Convention Example

VariableExampleDescription
nameoracle-ai-database-ee-26aiThe name of the Oracle AI Database edition and release.
version1.0The version number of the RPM package.
release1The release number of the RPM package.
operating systemel9The Oracle Linux operating system version of the RPM package.
architecturex86_64The architecture of the RPM package.

Related Topics

Running RPM Packages to Install Oracle AI Database

Perform the following steps to install and configure Oracle AI Database using RPM packages.

Installing Oracle AI Database RPM using yum

  1. Log in as root.
  2. If you are using Oracle Linux and have subscribed to Unbreakable Linux Network (ULN), you can install Oracle AI Database using a single yum command.
    # yum -y install oracle-ai-database-ee-26ai

    This command downloads and installs the Oracle AI Database Preinstallation RPM and the Oracle AI Database RPM packages.

    The installation of Oracle AI Database software is now complete, continue to the "Creating and Configuring an Oracle AI Database" section.

Installing Oracle AI Database RPM Manually

  1. Log in as root.
  2. Download and install the Oracle AI Database Preinstallation RPM:

    1. On Oracle Linux 8 and later

      # dnf -y install oracle-ai-database-preinstall-26ai
    2. On Red Hat Enterprise Linux 8

      # curl -o oracle-ai-database-preinstall-26ai-1.0-2.el8.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/getPackage/oracle-ai-database-preinstall-26ai-1.0-2.el8.x86_64.rpm
      # yum -y localinstall oracle-ai-database-preinstall-26ai-1.0-2.el8.x86_64.rpm

      After successful installation, you can delete the downloaded RPM file:

      # rm oracle-ai-database-preinstall-26ai-1.0-2.el8.x86_64.rpm
    3. On Red Hat Enterprise Linux 9

      # curl -o oracle-ai-database-preinstall-26ai-1.0-3.el9.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL9/appstream/x86_64/getPackage/oracle-ai-database-preinstall-26ai-1.0-3.el9.x86_64.rpm
      # yum -y localinstall oracle-ai-database-preinstall-26ai-1.0-3.el9.x86_64.rpm

      After successful installation, you can delete the downloaded RPM file:

      # rm oracle-ai-database-preinstall-26ai-1.0-3.el9.x86_64.rpm
    4. On Red Hat Enterprise Linux 10

      # curl -o oracle-ai-database-preinstall-26ai-1.0-2.el10.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL10/appstream/x86_64/getPackage/oracle-ai-database-preinstall-26ai-1.0-2.el10.x86_64.rpm
      # yum -y localinstall oracle-ai-database-preinstall-26ai-1.0-2.el10.x86_64.rpm

      After successful installation, you can delete the downloaded RPM file:

      # rm oracle-ai-database-preinstall-26ai-1.0-2.el10.x86_64.rpm
  3. Access the software download page for Oracle AI Database RPM-based installation from Oracle Technology Network:

    https://www.oracle.com/database/technologies/oracle-database-software-downloads.html

  4. Depending on your operating system, download the .rpm file required for performing an RPM-based installation to a directory of your choice, such as the /tmp directory.

    For example, for Oracle Linux 8, download:

    oracle-ai-database-ee-26ai-1.0-1.el8.x86_64.rpm

    For example, for Oracle Linux 9, download:

    oracle-ai-database-ee-26ai-1.0-1.el9.x86_64.rpm

    For example, for Oracle Linux 10, download:

    oracle-ai-database-ee-26ai-1.0-1.el10.x86_64.rpm
  5. Install the database software using the yum localinstall command.

    • For Oracle Linux 8
      # cd /tmp
      # yum -y localinstall oracle-ai-database-ee-26ai-1.0-1.el8.x86_64.rpm

      Where, oracle-ai-database-ee-26ai-1.0-1.el8.x86_64.rpm is the fully qualified name of the Oracle Linux 8 Oracle AI Database RPM.

    • For Oracle Linux 9
      # cd /tmp
      # yum -y localinstall oracle-ai-database-ee-26ai-1.0-1.el9.x86_64.rpm

      Where, oracle-ai-database-ee-26ai-1.0-1.el9.x86_64.rpm is the fully qualified name of the Oracle Linux 9 Oracle AI Database RPM.

    • For Oracle Linux 10
      # cd /tmp
      # yum -y localinstall oracle-ai-database-ee-26ai-1.0-1.el10.x86_64.rpm

      Where, oracle-ai-database-ee-26ai-1.0-1.el10.x86_64.rpm is the fully qualified name of the Oracle Linux 10 Oracle AI Database RPM.

The installation of Oracle AI Database software is now complete.

Creating and Configuring an Oracle AI Database

To create a sample database with the default settings, perform the following steps:

  1. Log in as root.
  2. To configure a sample Oracle AI Database instance, run the following service configuration script:

    # /etc/init.d/oracledb_ORCLCDB-26ai configure

Note:

You can modify the configuration parameters by editing the /etc/sysconfig/oracledb_ORCLCDB-26ai.conf file.

This script creates a container database (ORCLCDB) with one pluggable database (ORCLPDB1) and configures the listener at the default port (1521).

Review the status information that is displayed on your screen.

Related Topics