Page 2 of 74

Oracle® AI Database

Database Client Installation Guide for Linux

26ai

G43070-09

December 2026


Describes how to install and configure Oracle Database Client on Linux.

Page 3 of 74

Preface

This guide explains how to install and configure Oracle Database Client.

This guide also provides information about postinstallation tasks and how to remove the database client software.

Oracle Database Client enables development and deployment of applications that connect to Oracle AI Database, either on-premises or in the Cloud. The Oracle Database Client libraries provide the necessary network connectivity and advanced data features to make full use of Oracle AI Database. Tools, libraries, and SDKs included in Oracle Database Client provide quick and convenient data access.

Audience

This guide is intended for anyone responsible for installing Oracle Database Client 26ai.

Additional installation guides for Oracle AI Database, Oracle Real Application Clusters, Oracle Clusterware, Oracle AI Database Examples, and Oracle Enterprise Manager Cloud Control are available at the following URL:

http://docs.oracle.com

Set Up Java Access Bridge to Implement Java Accessibility

Install Java Access Bridge so that assistive technologies on Microsoft Windows systems can use the Java Accessibility API.

Java Access Bridge is a technology that enables Java applications and applets that implement the Java Accessibility API to be visible to assistive technologies on Microsoft Windows systems.

Refer to Java Platform, Standard Edition Accessibility Guide for information about the minimum supported versions of assistive technologies required to use Java Access Bridge. Also refer to this guide to obtain installation and testing instructions, and instructions for how to use Java Access Bridge.

Command Syntax

Refer to these command syntax conventions to understand command examples in this guide.

ConventionDescription
$Bourne or BASH shell prompt in a command example. Do not enter the prompt as part of the command.
%C Shell prompt in a command example. Do not enter the prompt as part of the command.
#Superuser (root) prompt in a command example. Do not enter the prompt as part of the command.
monospaceUNIX command syntax
backslash \

A backslash is the UNIX and Linux command continuation character. It is used in command examples that are too long to fit on a single line. Enter the command as displayed (with a backslash) or enter it on a single line without a backslash:

dd if=/dev/rdsk/c0t1d0s6 of=/dev/rst0 bs=10b \  count=10000


braces { }

Braces indicate required items:

.DEFINE {macro1}


brackets [ ]

Brackets indicate optional items:

cvtcrt termname [outfile]


ellipses ...

Ellipses indicate an arbitrary number of similar items:

CHKVAL fieldname value1 value2 ... valueN


italic

Italic type indicates a variable. Substitute a value for the variable:

library_name


vertical line |

A vertical line indicates a choice within braces or brackets:

FILE filesize [K|M]


Conventions

The following text conventions are used in this document:

ConventionMeaning
boldfaceBoldface type indicates graphical user interface elements associated with an action, or terms defined in text or the glossary.
italicItalic type indicates book titles, emphasis, or placeholder variables for which you supply particular values.
monospaceMonospace type indicates commands within a paragraph, URLs, code in examples, text that appears on the screen, or text that you enter.

Page 4 of 74

Oracle Database Client Installation Checklist

Server Hardware Checklist for Oracle Database Client Installation

Verify runlevel 3 or 5, a display resolution of at least 1024 × 768, network connectivity, and a minimum of 256 MB RAM. On Linux for Arm (aarch64), use a Neoverse N1-capable processor; Oracle recommends at least an Ampere Altra or Ampere Altra Max server.

Read More: Server Hardware Checklist for Oracle Database Client Installation

Operating System Checklist for Oracle Database Client on Linux

Ensure OpenSSH and a supported Linux kernel are installed, along with the required packages. Supported platforms include specified Oracle Linux, Red Hat Enterprise Linux, SUSE Linux Enterprise Server, Ubuntu, and Debian releases for x86-64, with only 64-bit client installations supported on Ubuntu and Debian. Linux for Arm support begins with Oracle AI Database 26ai Release Update 23.5 on Oracle Linux 8.6 with UEK7, and Oracle recommends using the latest available Oracle Linux release. On Oracle Linux, the Oracle AI Database Preinstallation RPM is recommended to configure the operating system.

Read More: Operating System Checklist for Oracle Database Client on Linux

Server Configuration Checklist for Oracle Database Client

Provide at least 400 MB in /tmp and configure swap according to RAM, ranging from three times RAM for systems with 256 MB to a maximum of 16 GB for systems exceeding 16 GB, deducting HugePages memory when applicable. Configure oraInventory and the OINSTALL group for all Oracle installation owners, create required users and groups with ASCII-only names, follow Optimal Flexible Architecture guidance, and use ASCII-only Oracle home paths. Plan root privilege delegation through direct root execution or Sudo, configure locale settings if needed, and ensure Oracle home, Oracle base, and all parent directories are not symbolic links.

Read More: Server Configuration Checklist for Oracle Database Client

Oracle User Environment Configuration Checklist for Oracle AI Database Installation

Review or establish the central oraInventory directory and OINSTALL group, ensuring OINSTALL is the primary group for all Oracle software installation owners and paths follow Optimal Flexible Architecture recommendations. Create required operating-system users, groups, resource limits, and security roles, using ASCII-only names; the Preinstallation RPM can create the oracle user and standard oinstall and dba groups. For existing installations, unset ORACLE_HOME, ORACLE_BASE, ORACLE_SID, TNS_ADMIN, and related Oracle environment variables, then configure the oracle or grid user environment with umask 022 and a valid DISPLAY setting.

Read More: Oracle User Environment Configuration Checklist for Oracle AI Database Installation

Storage Checklist for Oracle Database Client

Reserve sufficient local disk space for the selected client installation type. On Linux x86-64, allocate at least 2.3 GB for Administrator, 1.9 GB for Runtime, 2.3 GB for Custom, or 2.4 GB for image-based installations. On Linux for Arm (aarch64), allocate at least 1.9 GB for Administrator, 1.5 GB for Runtime, 1.9 GB for Custom, or 1.8 GB for image-based installations.

Read More: Storage Checklist for Oracle Database Client

Installer Planning Checklist for Oracle Database Client

Before running Oracle Universal Installer, review platform release notes, licensing requirements, current certification information, and client-database interoperability guidance. Use OUI and CVU prerequisite checks, optionally running fixup scripts, and prevent cleanup cron jobs from operating during installation. Select the appropriate Administrator, Runtime, Custom, or Instant Client type, noting that the Setup Wizard no longer offers Instant Client starting with Oracle Database Client 26ai. Have My Oracle Support credentials available for security updates and software downloads, and prefer 64-bit clients because 32-bit clients are desupported in Oracle AI Database 26ai.
Read More: Installer Planning Checklist for Oracle Database Client

Page 5 of 74

Server Hardware Checklist for Oracle Database Client Installation

Use this checklist to check hardware requirements for Oracle Database Client installations.

Table: Server Hardware Checklist for Oracle Database Client Installations

CheckTask
Runlevel3 or 5
Server Display CardsAt least 1024 x 768 display resolution, which Oracle Universal Installer requires.
Minimum network connectivityClient is connected to a network.
Minimum RAMAt least 256 MB of RAM.
Linux for Arm (aarch64) processorOracle AI Database 26ai Linux for Arm (aarch64) requires a CPU capable of Neoverse N1. Oracle recommends using a server with a minimum of Ampere Altra or Ampere Altra Max CPU.

Page 6 of 74

Operating System Checklist for Oracle Database Client on Linux

Use this checklist to check minimum operating system requirements for Oracle Database Client.

Table: Operating System General Checklist for Oracle Database Client on Linux

ItemTask
Operating system general requirements

OpenSSH installed manually, if you do not have it installed already as part of a default Linux installation.

A Linux kernel in the list of supported kernels and releases listed in this guide.

Linux x86-64 operating system requirements

The following Linux x86-64 kernels are supported:

  • Oracle Linux 10 with the Unbreakable Enterprise Kernel 8: 6.12.0-104.43.4.2.el10uek.x86_64 or later
    Oracle Linux 10 with the Red Hat Compatible Kernel: 6.12.0-55.40.1.0.1.el10_0.x86_64 or later
  • Oracle Linux 9.6 with the Unbreakable Enterprise Kernel 8: 6.12.0-1.23.3.2.el9uek.x86_64 or later
  • Oracle Linux 9.2 with the Unbreakable Enterprise Kernel 7: 5.15.0-201.135.6.el9uek.x86_64 or later
    Oracle Linux 9.2 with the Red Hat Compatible Kernel: 5.14.0-284.30.1.el9_2.x86_64 or later
  • Oracle Linux 8.8 with the Unbreakable Enterprise Kernel 7: 5.15.0-202.135.2.el8uek.x86_64 or later
  • Oracle Linux 8.6 with the Unbreakable Enterprise Kernel 6: 5.4.17-2136.312.3.4.el8uek.x86_64 or later
    Oracle Linux 8.6 with the Red Hat Compatible Kernel: 4.18.0-372.26.1.0.1.el8_6.x86_64 or later
    Note: Oracle strongly recommends that you use a minimum version of Oracle Linux 8.6 Unbreakable Enterprise Kernel 7.
  • Red Hat Enterprise Linux 10: 6.12.0-55.40.1.0.1.el10_0.x86_64 or later
  • Red Hat Enterprise Linux 9.2: 5.14.0-284.30.1.el9_2.x86_64 or later
  • Red Hat Enterprise Linux 8.6: 4.18.0-372.26.1.0.1.el8_6.x86_64 or later
  • SUSE Linux Enterprise Server 15 SP5 (x86_64): 5.14.21-150500.53-default or later
  • Ubuntu 24.04 LTS (Noble Numbat) 6.8.0-1026.27 amd64 or later
    Ubuntu 22.04.1 LTS 5.15.0-1016 or later
    Note: Oracle Database Client supports only 64-bit client installations on Ubuntu.
  • Debian GNU/Linux 11 (bullseye) 5.10.120-1 or later
    Note: Oracle Database Client supports only 64-bit client installations on Debian.

Review the system requirements section for a list of minimum package requirements.

Linux for Arm (aarch64) operating system requirements

Starting with Oracle AI Database 26ai Release Update 23.5, the Linux for Arm (aarch64) operating system is supported with the following minimum supported version:

  • Oracle Linux 8.6 with Unbreakable Enterprise Kernel 7: 5.15.0-205.149.5.1.el8uek.aarch64
    Note: Oracle recommends that you update Oracle Linux 8 to the latest available release level.
Oracle AI Database Preinstallation RPM for Oracle LinuxIf you use Oracle Linux, then Oracle recommends that you run the Oracle AI Database Preinstallation RPM for your Linux release to configure your operating system for Oracle AI Database and Oracle Grid Infrastructure installations.

Page 7 of 74

Server Configuration Checklist for Oracle Database Client

Use this checklist to check minimum server configuration requirements for Oracle Database Client installations.

Table: Server Configuration Checklist for Oracle Database Client

CheckTask
Disk space allocated to the /tmp directoryAt least 400 MB of space in the temporary disk space ( /tmp ) directory.
Swap space allocation relative to RAM256 MB: 3 times the size of RAM
Between 256 MB and 512 MB: 2 times the size of RAM
Between 512 MB and 2 GB: 1.5 times the size of RAM
Between 2 GB and 16 GB: Equal to the size of RAM
More than 16 GB: 16 GB
Note: If you enable HugePages for your Linux servers, then you should deduct the memory allocated to HugePages from the available RAM before calculating swap space.
Oracle Inventory (oraInventory) and OINSTALL Group Requirements
  • For new installs, if you have not configured an oraInventory directory, then the installer creates an Oracle inventory that is one directory level up from the Oracle base for the Oracle Grid Infrastructure install, and designates the installation owner's primary group as the Oracle Inventory group.
  • For upgrades, Oracle Universal Installer (OUI) detects an existing oraInventory directory from the /etc/oraInst.loc file, and uses the existing oraInventory.

The Oracle Inventory directory is the central inventory of Oracle software installed on your system. Users who have the Oracle Inventory group as their primary group are granted the OINSTALL privilege to write to the central inventory.

The OINSTALL group must be the primary group of all Oracle software installation owners on the server. It should be writable by any Oracle installation owner.

Groups and usersOracle recommends that you create groups and user accounts required for your security plans before starting installation. Installation owners have resource limits settings and other requirements. Group and user names must use only ASCII characters.
Mount point paths for the software binariesOracle recommends that you create an Optimal Flexible Architecture configuration as described in the appendix "Optimal Flexible Architecture" in Oracle AI Database Installation Guide for your platform.
Ensure that the Oracle home (the Oracle home path you select for Oracle AI Database) uses only ASCII charactersThe ASCII character restriction includes installation owner user names, which are used as a default for some home paths, as well as other directory names you may select for paths.
Determine root privilege delegation option for installation

During installation, you are asked to run configuration scripts as the root user. You can either run these scripts manually as root when prompted, or you can provide configuration information and passwords using a root privilege delegation option such as Sudo.

To enable Sudo, have a system administrator with the appropriate privileges configure a user that is a member of the sudoers list, and provide the username and password when prompted during installation.

Set locale (if needed)Specify the language and the territory, or locale, in which you want to use Oracle components. A locale is a linguistic and cultural environment in which a system or program is running. NLS (National Language Support) parameters determine the locale-specific behavior on both servers and clients. The locale setting of a component determines the language of the user interface of the component, and the globalization behavior, such as date and number formatting.
symlinksOracle home or Oracle base cannot be symlinks, nor can any of their parent directories, all the way to up to the root directory.

Related Topics

Page 8 of 74

Oracle User Environment Configuration Checklist for Oracle AI Database Installation

Use this checklist to plan operating system users, groups, and environments for Oracle AI Database management.

Table: User Environment Configuration for Oracle AI Database

CheckTask
Review Oracle Inventory (oraInventory) and OINSTALL Group Requirements

The physical group you designate as the Oracle Inventory directory is the central inventory of Oracle software installed on your system. It should be the primary group for all Oracle software installation owners. Users who have the Oracle Inventory group as their primary group are granted the OINSTALL privilege to read and write to the central inventory.

  • If you have an existing installation, then OUI detects the existing oraInventory directory from the/etc/oraInst.loc file, and uses this location.
  • If you are installing Oracle software for the first time, then you can specify the Oracle inventory directory and the Oracle base directory during the Oracle software installation, and Oracle Universal Installer will set up the software directories for you. Ensure that the directory paths that you specify are in compliance with the Oracle Optimal Flexible Architecture recommendations.

Ensure that the group designated as the OINSTALL group is available as the primary group for all planned Oracle software installation owners.

Create operating system groups and users for standard or role-allocated system privileges

The Preinstallation RPM automatically creates the oracle user and the oraInventory (oinstall) and OSDBA (dba) groups for you.

Create additional operating system groups and users depending on your security requirements as described in this installation guide.

Set resource limits settings and other requirements for Oracle software installation owners.

Group and user names must use only ASCII characters.

Unset Oracle Software Environment VariablesIf you have had an existing installation on your system, and you are using the same user account for this installation, then unset the ORACLE_HOME, ORACLE_BASE, ORACLE_SID, TNS_ADMIN environment variables and any other environment variable set for the Oracle installation user that is connected with Oracle software homes.
Configure the Oracle Software Owner Environment

Configure the environment of the oracle or grid user by performing the following tasks:

  • Set the default file mode creation mask (umask) to 022 in the shell startup file.
  • Set the DISPLAY environment variable.

Page 9 of 74

Storage Checklist for Oracle Database Client

Use this checklist to review storage minimum requirements and assist with configuration planning.

Table: Storage Checklist for Oracle Database Client

CheckTask
Minimum local disk storage space for Oracle Database Client softwareFor Linux x86-64:
At least 2.3 GB for Administrator installation type.
At least 1.9 GB for Runtime installation type.
At least 2.3 GB for Custom installation type.
At least 2.4 GB for image-based client installation.
For Linux for Arm (aarch64):
At least 1.9 GB for Administrator installation type.
At least 1.5 GB for Runtime installation type.
At least 1.9 GB for Custom installation type.
At least 1.8 GB for image-based client installation.

Page 10 of 74

Installer Planning Checklist for Oracle Database Client

Use this checklist to assist you to be prepared before starting Oracle Universal Installer.

Table: Oracle Universal Installer Planning Checklist for Oracle Database Client Installation

CheckTask
Read the Release Notes

Review release notes for your platform, which are available for your release at the following URL:

http://docs.oracle.com/en/database/database.html

Review the Licensing Information

You are permitted to use only those components in the Oracle AI Database for which you have purchased licenses. For more information about licenses, refer to the following URL:

Oracle AI Database Licensing Information User Manual

Review Oracle Support Certification Matrix

New platforms and operating system software versions might be certified after this guide is published, review the certification matrix on the My Oracle Support website for the most up-to-date list of certified hardware platforms and operating system versions:

https://support.oracle.com/

You must register online before using My Oracle Support.

Run OUI with CVU and use fixup scripts

Oracle Universal Installer is fully integrated with Cluster Verification Utility (CVU), automating many CVU prerequisite checks. Oracle Universal Installer runs all prerequisite checks and creates fixup scripts when you run the installer. You can run OUI up to the Summary screen without starting the installation.

You can also run CVU commands manually to check system readiness. For more information, see:

Oracle Clusterware Administration and Deployment Guide

Ensure cron jobs do not run during installationIf the installer is running when daily cron jobs start, then you may encounter unexplained installation problems if your cron job is performing cleanup, and temporary files are deleted before the installation is finished. Oracle recommends that you complete installation before daily cron jobs are run, or disable daily cron jobs that perform cleanup until after the installation is completed.
Decide the client installation type

You can choose one of the following installation types when installing Oracle Database Client using the Setup Wizard:

  • Administrator: Enables applications to connect to an Oracle AI Database instance on the local system or on a remote system. It also provides tools that enable you to administer Oracle AI Database.
  • Runtime: Enables applications to connect to an Oracle AI Database instance on the local system or on a remote system.
  • Custom: Enables you to select individual components from the list of Administrator and Runtime components.

Instant Client: Enables you to install only the shared libraries required by Oracle Call Interface (OCI), Oracle C++ Call Interface (OCCI), Pro*C, or Java database connectivity (JDBC) OCI applications. This installation type requires much less disk space than the other Oracle Database Client installation types. For more information about Oracle Database Instant Client see the following URL:

https://www.oracle.com/database/technologies/instant-client.html

Note: Starting with Oracle Database Client 26ai, the Setup Wizard no longer provides the option to install Oracle Instant Client.

Obtain your My Oracle Support account information.

During installation, you require a My Oracle Support user name and password to configure security updates, download software updates, and other installation tasks. You can register for My Oracle Support at the following URL:

https://support.oracle.com/

Oracle Database Client and Oracle AI Database interoperability
  • For information about interoperability between Oracle Database Client and Oracle AI Database releases, see My Oracle Support Note 207303.1.
  • The 32-bit clients for Oracle databases are desupported in Oracle AI Database 26ai.

    Oracle has discontinued developing 32-bit Oracle Database clients. Oracle recommends that you use 64-bit Oracle AI Database clients. If you are using 32-bit applications, then you can continue to use older 32-bit Oracle Database clients, subject to "Client / Server Interoperability Support Matrix for Different Oracle Versions (Doc ID 207303.1)," and the release support lifecycle (My Oracle Support 742060.1).

Page 11 of 74

Checking and Configuring Server Hardware for Oracle Database Client

Verify that servers where you install Oracle Database Client meet the minimum requirements for installation.

This section provides minimum server requirements to complete installation of Oracle Database Client. It does not provide system resource guidelines, or other tuning guidelines for particular workloads.

Logging In to a Remote System Using X Window System

To run Oracle Universal Installer on a server that does not permit direct GUI logins, start an X Window System session, configure the local X server to accept connections with xhost, and connect to the remote installation host using ssh -Y. Repeat the procedure for each relevant user, switch to root when required for privileged configuration, and consult the X server documentation if command order or security settings differ.

Read More: Logging In to a Remote System Using X Window System

Checking Server Hardware and Memory Configuration

Verify the server’s physical RAM, swap space, /tmp capacity, available memory and swap, processor architecture, and /dev/shm mount and capacity using /proc/meminfo, df, free, and uname. Increase memory or swap, clear eligible temporary files, or configure TMP and TMPDIR when requirements are not met; preserve Oracle-related .oracle directories, and confirm that the architecture matches the software release.
Read More: Checking Server Hardware and Memory Configuration

Page 12 of 74

Logging In to a Remote System Using X Window System

Use this procedure to run Oracle Universal Installer (OUI) by logging on to a remote system where the runtime setting prohibits logging in directly to a graphical user interface (GUI).

OUI is a graphical user interface (GUI) application. On servers where the runtime settings prevent GUI applications from running, you can redirect the GUI display to a client system connecting to the server.

Note:

If you log in as another user (for example, oracle or grid), then repeat this procedure for that user as well.

  1. Start an X Window System session. If you are using an X Window System terminal emulator from a PC or similar system, then you may need to configure security settings to permit remote hosts to display X applications on your local system.
  2. Enter a command using the following syntax to enable remote hosts to display X applications on the local X server:

    # xhost + RemoteHost

    RemoteHost is the fully qualified remote host name. For example:

    # xhost + somehost.example.com
    somehost.example.com being added to the access control list
  3. If you are not installing the software on the local system, then use the ssh command to connect to the system where you want to install the software:

    # ssh -Y  RemoteHost

    RemoteHost is the fully qualified remote host name. The -Y flag ("yes") enables remote clients to have full access to the original server display. For example:

    # ssh -Y somehost.example.com
  4. If you are not logged in as the root user, and you are performing configuration steps that require root user privileges, then switch the user to root.

Note:

For more information about remote login using X Window System, refer to your X server documentation, or contact your X server vendor or system administrator. Depending on the X server software that you are using, you may have to complete the tasks in a different order.

Page 13 of 74

Setting Remote Display and X11 Forwarding Configuration

If you are on a remote terminal, and the local system has only one visual (which is typical), then use the following syntax to set your user account DISPLAY environment variable:

Remote Display

Bourne, Korn, and Bash shells:

$ export DISPLAY=hostname:0

C Shell:

% setenv DISPLAY hostname:0

For example, if you are using the Bash shell and if your host name is local_host, then enter the following command:

$ export DISPLAY=node1:0

X11 Forwarding

To ensure that X11 forwarding does not cause the installation to fail, use the following procedure to create a user-level SSH client configuration file for Oracle installation owner user accounts:

  1. Using any text editor, edit or create the software installation owner's ~/.ssh/config file.
  2. Ensure that the ForwardX11 attribute in the ~/.ssh/config file is set to no. For example:

    Host * 
        ForwardX11 no
  3. Ensure that the permissions on ~/.ssh are secured to the Oracle installation owner user account. For example:

    $ ls -al .ssh
    total 28
    drwx------  2 grid oinstall 4096 Jun 21 2020
    drwx------ 19 grid oinstall 4096 Jun 21 2020
    -rw-r--r--  1 grid oinstall 1202 Jun 21 2020 authorized_keys
    -rwx------  1 grid oinstall  668 Jun 21 2020 id_dsa
    -rwx------  1 grid oinstall  601 Jun 21 2020 id_dsa.pub
    -rwx------  1 grid oinstall 1610 Jun 21 2020 known_hosts

Page 14 of 74

Checking Server Hardware and Memory Configuration

Use this procedure to gather information about your server configuration.

  1. Use the following command to determine physical RAM size on the server:
    # grep MemTotal /proc/meminfo

    If the size of the physical RAM installed in the system is less than the required size, then you must install more memory before continuing.

  2. Determine the size of the configured swap space:
    # grep SwapTotal /proc/meminfo

    If necessary, see your operating system documentation for information about how to configure additional swap space.

  3. Determine the amount of space available in the /tmp directory:

    # df -h /tmp

    If the free space available in the /tmp directory is less than what is required, then complete one of the following steps:

    • Delete unused files from the /tmp directory to meet the disk space requirement.

      Note:

      If you perform this step after installing Oracle software, then do not remove /tmp/.oracle or /var/tmp/.oracle directories or their files.

    • When you set the Oracle user's environment, also set the TMP and TMPDIR environment variables to the directory you want to use instead of /tmp.
  4. Determine the amount of free RAM and disk swap space on the system:

    # free
  5. Determine if the system architecture can run the software:
    # uname -m

    Verify that the processor architecture matches the Oracle software release to install. For example, you should see the following for a x86-64 bit system:

    x86_64

    If you do not see the expected output, then you cannot install the software on this system.

  6. Verify that shared memory (/dev/shm) is mounted properly with sufficient size:
    df -h /dev/shm

    The df-h command displays the filesystem on which /dev/shm is mounted, and also displays in GB the total size and free size of shared memory.

Page 15 of 74

Configuring Operating Systems for Oracle Database Client on Linux

Guidelines for Linux Operating System Installation

Before installing Oracle software on Linux, complete the required operating system configuration, hardware checks, and supported distribution setup. Ensure the deployment follows security practices recommended by the Linux vendor, using Oracle Linux documentation and the Oracle AI Database Preinstallation RPM guidance as references.

Read More: Guidelines for Linux Operating System Installation

About Oracle Linux with the Unbreakable Enterprise Kernel

Oracle Linux includes the Unbreakable Enterprise Kernel by default, providing a stable, optimized kernel with enhancements for Oracle databases, middleware, hardware, enterprise workloads, and benchmark environments. Oracle recommends using it, although a RHEL-compatible kernel is available when strict compatibility is required. Oracle Linux also provides Ksplice for applying kernel updates without rebooting or interrupting running workloads.

Read More: About Oracle Linux with the Unbreakable Enterprise Kernel

Additional Drivers and Software Packages for Linux

Optional Linux components may be required depending on the Oracle features being deployed: install the latest PAM libraries for external scheduler jobs, OCFS2 kernel and tools modules for supported Oracle Linux clustered file systems, required IBM WebSphere MQ fixes for Messaging Gateway, unixODBC 2.3.4 or later for ODBC, and LDAP packages for directory-dependent scripts. Programming environments require JDK 11, supported Intel or GNU compilers, platform-specific development packages, and current Unzip and Tar utilities; browsers supporting JavaScript, HTML 4.0, and CSS 1.0 are needed for Enterprise Manager Cloud Control.

Read More: Additional Drivers and Software Packages for Linux

Checking Kernel and Package Requirements for Linux

Verify the installed Linux distribution with release-identification commands, check the running kernel using uname, and compare its errata level with Oracle’s minimum requirements. Query required RPM packages with rpm, including architecture details when necessary, and install any missing or outdated packages from the Linux distribution media or vendor repositories.

Read More: Checking Kernel and Package Requirements for Linux

Verifying Digital Signature and Integrity of Installation Archive Files

Oracle AI Database 26ai installation archives are digitally signed to protect package integrity before deployment. Use Java jarsigner with the verify option for a quick check, or add verbose summary and certificate options to inspect signer, certificate, timestamp, digest, and signature details; successful validation reports “jar verified.”
Read More: Verifying Digital Signature and Integrity of Installation Archive Files

Page 16 of 74

Guidelines for Linux Operating System Installation

Complete operating system configuration requirements and checks for Linux operating systems before you start installation. Also, be aware of operating system guidelines before proceeding with an Oracle installation.

The sections in this chapter also provide information about installing a supported Linux distribution. Complete the minimum hardware configuration before you install the operating system.

Reviewing Operating System Security Common Practices

Secure operating systems are an important basis for general system security.

Ensure that your operating system deployment is in compliance with common security practices as described in your operating system vendor security guide.

Related Topics

Page 17 of 74

About Oracle Linux with the Unbreakable Enterprise Kernel

The Unbreakable Enterprise Kernel for Oracle Linux provides the latest innovations from upstream development to customers who run Oracle Linux in the data center.

The Unbreakable Enterprise Kernel is included and enabled by default in Oracle Linux kernels. It is based on a recent stable mainline development Linux kernel, and also includes optimizations developed in collaboration with Oracle AI Database, Oracle middleware, and Oracle hardware engineering teams to ensure stability and optimal performance for the most demanding enterprise workloads.

Oracle highly recommends deploying the Unbreakable Enterprise Kernel in your Oracle Linux environment, especially if you run enterprise applications. However, using Unbreakable Enterprise Kernel is optional. If you require strict Red Hat Enterprise Linux (RHEL) kernel compatibility, then Oracle Linux also includes a kernel compatible with the RHEL Linux kernel, compiled directly from the RHEL source code.

You can obtain more information about the Unbreakable Enterprise Kernel for Oracle Linux at the following URL:

https://www.oracle.com/linux/

The Unbreakable Enterprise Kernel for Oracle Linux is the standard kernel used with Oracle products. The build and QA systems for Oracle AI Database and other Oracle products use the Unbreakable Enterprise Kernel for Oracle Linux exclusively. The Unbreakable Enterprise Kernel for Oracle Linux is also the kernel used in Oracle Exadata systems. Unbreakable Enterprise Kernel for Oracle Linux is used in all benchmark tests on Linux in which Oracle participates, as well as in the Oracle AI Database Preinstallation RPM program for x86-64.

Oracle Ksplice, which is part of Oracle Linux, updates the Linux operating system (OS) kernel, while it is running, without requiring restarts or any interruption. Ksplice is available only with Oracle Linux.

Page 18 of 74

Additional Drivers and Software Packages for Linux

You are not required to install these optional and additional drivers and software packages, however, you may choose to install or configure these drivers and packages.

Installing PAM for Login Authentication on Linux

Pluggable Authentication Modules (PAM) is a system of libraries that handle user authentication tasks for applications.

On Linux, external scheduler jobs require PAM. Oracle strongly recommends that you install the latest Linux-PAM library for your Linux distribution.

Use a package management system (yum, up2date, YaST) for your distribution to install the latest pam (Pluggable Authentication Modules for Linux) library.

Installing OCFS2

You can use Oracle Cluster File System 2 (OCFS2) with Oracle Grid Infrastructure. However, you are not required to use OCFS2.

OCFS2 is a POSIX-compliant general purpose shared disk cluster file system for Linux. OCFS2 is supported for this release only with Oracle Linux.

An OCFS2 installation consists of two parts, the kernel module and the tools module. The supported version of the OCFS2 kernel module depends on the version of Unbreakable Enterprise Kernel available with Oracle Linux.

  1. Run the following command to install the latest version of the OCFS2 kernel module:

    # dnf install kernel-uek
  2. Run the following command to install the OCFS2 tools module after you install the OCFS2 kernel module:

    # dnf install ocfs2-tools

Note:

  • Each cluster node should run the same version of OCFS2 modules and a compatible version of Unbreakable Enterprise Kernel.
  • OCFS2 is not supported on Linux for Arm (aarch64).

Related Topic:

https://oss.oracle.com/projects/ocfs2/

Installing Oracle Messaging Gateway

Oracle Messaging Gateway is installed with Enterprise Edition of Oracle AI Database. However, you may require a CSD or Fix Packs.

If you require a CSD or Fix Packs for IBM WebSphere MQ, then see the following website for more information:

https://www.ibm.com/support/

Note:

  • Oracle Messaging Gateway does not support the integration of Advanced Queuing with TIBCO Rendezvous on IBM: Linux on System z.
  • Oracle Messaging Gateway is not supported on Linux for Arm (aarch64).

Related Topics

Installing ODBC Drivers for Linux x86-64

Open Database Connectivity (ODBC) is a set of database access APIs that connect to the database, prepare, and then run SQL statements on the database.

An application that uses an ODBC driver can access non-uniform data sources, such as spreadsheets and comma-delimited files. If you intend to install Oracle's ODBC driver, then you must also install the most recent ODBC Driver Manager for Linux.

Download and install the ODBC Driver Manager and Linux RPMs from the following website:

http://www.unixodbc.org

Review the minimum supported ODBC driver releases, and install ODBC drivers of the following or later releases for all Linux distributions:

unixODBC-2.3.4 or later

Installing the LDAP Package

Lightweight Directory Access Protocol (LDAP) is an application protocol for accessing and maintaining distributed directory information services over IP networks.

You require the LDAP package if you want to use features requiring LDAP, including the Oracle AI Database scripts odisrvreg and oidca for Oracle Internet Directory, or schemasync for third-party LDAP directories.
LDAP is included in a default Linux operating system installation.

If you did not perform a default Linux installation, and you intend to use Oracle scripts requiring LDAP, then use a package management system (up2date, YaST) for your distribution to install a supported LDAP package for your distribution, and install any other required packages for that LDAP package.

Installation Requirements for Programming Environments for Linux x86-64

Review these programming environment requirements for your Oracle AI Database installation.

Table: Requirements for Programming Environments for Linux x86-64

Programming EnvironmentsSupport Requirements
Java Database Connectivity (JDBC) / JDBC Oracle Call Interface (JDBC OCI)JDK 11 (Java SE Development Kit) with the JNDI extension with Oracle Java Database Connectivity.

Oracle Call Interface (OCI)

Oracle C++ Call Interface

Pro*C/C++

Intel(R) C Compiler Classic for applications running on Intel(R) 64, Version 2021.10.1 or the GNU C and C++ (g++ 8) compilers.

Oracle C++ Call Interface (OCCI) applications can be built with g++8 or the 2021.10.1 Intel C++ Compiler used with the standard template libraries of gcc8.

Oracle XML Developer's Kit (XDK)Oracle XML Developer's Kit is supported with the same compilers as OCCI.
Pro*COBOL
  • Micro Focus Visual COBOL for Eclipse 2.3 - Update 2
  • Micro Focus Visual COBOL v6.0
Unzip and Tar

Install the latest versions of Unzip and Tar.

Unzip and Tar utilities are required to extract the image files for Oracle AI Database and Oracle Grid Infrastructure installations and patches.

Note:

The Oracle JDBC Oracle Call Interface (OCI) Type 2 client driver (also known as a "thick" driver) is deprecated in Oracle AI Database 26ai.

Most Java applications that use Open Database Connectivity (ODBC) with Oracle JDBC drivers use the Thin driver. To enable Oracle to allocate resources to better address customer requirements, Oracle is deprecating the JDBC-OCI driver.

Installation Requirements for Programming Environments for Linux for Arm (aarch64)

Ensure that your system meets the requirements for the programming environment that you want to configure:

Table: Requirements for Programming Environments for Linux for Arm ( aarch64 )

Programming EnvironmentsSupport Requirements
Java Database Connectivity (JDBC) / JDBC Oracle Call Interface (JDBC OCI)JDK 11 (Java SE Development Kit) with the JNDI extension with Oracle Java Database Connectivity.

Oracle Call Interface (OCI)

Oracle C++ Call Interface

Pro*C/C++

The GNU C and C++ compilers listed in this table.

Oracle C++ Call Interface (OCCI) applications can be built with g++ used with the standard template libraries of the gcc compilers listed in this table.

gcc compiler packages

Install the latest released versions of the gcc packages listed here.

gcc
gcc-c++

Oracle XML Developer's Kit (XDK)Oracle XML Developer's Kit is supported with the same compilers as OCCI.

Installation Requirements for Web Browsers

Web browsers are required only if you intend to use Oracle Enterprise Manager Cloud Control. Web browsers must support JavaScript, and the HTML 4.0 and CSS 1.0 standards.

For a list of browsers that meet these requirements see the Enterprise Manager certification matrix on My Oracle Support:

https://support.oracle.com

Related Topics

Page 19 of 74

Checking Kernel and Package Requirements for Linux

Verify your kernel and packages to see if they meet minimum requirements for installation.

  1. To determine the distribution and version of Linux installed, enter one of the following commands:

    # cat /etc/oracle-release
    # cat /etc/redhat-release
    # cat /etc/os-release
    # lsb_release -id
  2. To determine if the required kernel errata is installed, enter the following command:
    # uname -r

    The following is an example of the output this command displays on an Oracle Linux 8 system:

    5.4.17-2011.1.2.el8uek.x86_64

    Review the required errata level for your distribution. If the errata level is previous to the required minimum errata update, then obtain and install the latest kernel update from your Linux distributor.

  3. To determine whether the required packages are installed, enter commands similar to the following:
    # rpm -q package_name

    Alternatively, if you require specific system architecture information, then enter the following command:

    # rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep package_name

    You can also combine a query for multiple packages, and review the output for the correct versions. For example:

    # rpm -q binutils compat-libstdc++ gcc glibc libaio libgcc libstdc++ \
    make sysstat unixodbc

    If a package is not installed, then install it from your Linux distribution media or download the required package version from your Linux distributor's website.

Page 20 of 74

Verifying Digital Signature and Integrity of Installation Archive Files

Starting with Oracle AI Database 26ai, Oracle digitally signs the installation archive files with Oracle certificates to ensure the integrity of the packages before you deploy them in your environments.

Use the Java utility jarsigner to verify the integrity of your Oracle AI Database, Oracle Database Client, Oracle Grid Infrastructure, Oracle Examples, Oracle Gateways, or Oracle GSM installation archive files. You can verify the integrity of the installation archive files before you extract the installation files.

Quick Verification

To quickly verify the installation archive files, use the jarsigner command with the -verify option:

  1. Go to the directory where you have downloaded the installation archive files.
  2. Run this command to check your installation archive file:

    jarsigner -verify installation_archive_file

    For example, to check the Oracle AI Database gold image:

    jarsigner -verify db_home.zip
    jar verified.

Detailed Certificate Information

If you want detailed certificate information, then use the -verbose:summary and -certs along with the -verify option.

  1. Go to the directory where you have downloaded the installation archive files.
  2. Run this command to check your installation archive file:

    jarsigner -verify -verbose:summary -certs installation_archive_file

    For example, to check the Oracle AI Database gold image:

    jarsigner -verify -verbose:summary -certs db_home.zip

    The output is similar to the following:

    2237119 Fri Feb 17 07:02:30 UTC 2023 META-INF/MANIFEST.MF
    
      >>> Signer
      X.509, CN="Oracle America, Inc.", O="Oracle America, Inc.", L=Redwood City, ST=California, C=US
      [
      Signature algorithm: SHA256withRSA, 3072-bit key
      [certificate is valid from 8/19c/21 12:00 AM to 8/19c/23 11:59 PM]
      X.509, CN=DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1, O="DigiCert, Inc.", C=US
      [
      Signature algorithm: SHA384withRSA, 4096-bit key
      [certificate is valid from 4/29/21 12:00 AM to 4/28/36 11:59 PM]
      X.509, CN=DigiCert Trusted Root G4, O=DigiCert Inc, C=US
      [
      Signature algorithm: SHA384withRSA, 4096-bit key
      [trusted certificate]
      >>> TSA
      X.509, CN=DigiCert Timestamp 2022 - 2, O=DigiCert, C=US
      [
      Signature algorithm: SHA256withRSA, 4096-bit key
      [certificate is valid from 9/21/22 12:00 AM to 11/21/33 11:59 PM]
      X.509, CN=DigiCert Trusted G4 RSA4096 SHA256 TimeStamping CA, O="DigiCert, Inc.", C=US
      [
      Signature algorithm: SHA256withRSA, 4096-bit key
      [certificate is valid from 3/23/22 12:00 AM to 3/22/37 11:59 PM]
      X.509, CN=DigiCert Trusted Root G4, O=DigiCert Inc, C=US
      [
      Signature algorithm: SHA384withRSA, 4096-bit key
      [certificate is valid from 8/1/22 12:00 AM to 11/9/31 11:59 PM]
    
       2237281 Fri Feb 17 07:02:32 UTC 2023 META-INF/ORACLE_C.SF (and 1 more)
    
      (Signature related entries)
    
            0 Fri Feb 17 05:41:24 UTC 2023 OPatch/ (and 1897 more)
    
      (Directory entries)
    
       2977 Tue Dec 20 08:02:16 UTC 2022 OPatch/README.txt (and 20199 more)
    
      [entry was signed on 2/17/23 7:02 AM]
      >>> Signer
      X.509, CN="Oracle America, Inc.", O="Oracle America, Inc.", L=Redwood City, ST=California, C=US
      [
      Signature algorithm: SHA256withRSA, 3072-bit key
      [certificate is valid from 8/19c/21 12:00 AM to 8/19c/23 11:59 PM]
      X.509, CN=DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1, O="DigiCert, Inc.", C=US
      [
      Signature algorithm: SHA384withRSA, 4096-bit key
      [certificate is valid from 4/29/21 12:00 AM to 4/28/36 11:59 PM]
      X.509, CN=DigiCert Trusted Root G4, O=DigiCert Inc, C=US
      [
      Signature algorithm: SHA384withRSA, 4096-bit key
      [trusted certificate]
      >>> TSA
      X.509, CN=DigiCert Timestamp 2022 - 2, O=DigiCert, C=US
      [
      Signature algorithm: SHA256withRSA, 4096-bit key
      [certificate is valid from 9/21/22 12:00 AM to 11/21/33 11:59 PM]
      X.509, CN=DigiCert Trusted G4 RSA4096 SHA256 TimeStamping CA, O="DigiCert, Inc.", C=US
      [
      Signature algorithm: SHA256withRSA, 4096-bit key
      [certificate is valid from 3/23/22 12:00 AM to 3/22/37 11:59 PM]
      X.509, CN=DigiCert Trusted Root G4, O=DigiCert Inc, C=US
      [
      Signature algorithm: SHA384withRSA, 4096-bit key
      [certificate is valid from 8/1/22 12:00 AM to 11/9/31 11:59 PM]
    
      s = signature was verified
      m = entry is listed in manifest
      k = at least one certificate was found in keystore
      i = at least one certificate was found in identity scope
    
    Signed by "CN="Oracle America, Inc.", O="Oracle America, Inc.", L=Redwood City, ST=California, C=US"
      Digest algorithm: SHA-256
      Signature algorithm: SHA256withRSA, 3072-bit key
    Timestamped by "CN=DigiCert Timestamp 2022 - 2, O=DigiCert, C=US" on Fri Feb 17 07:02:33 UTC 2023
      Timestamp digest algorithm: SHA-256
      Timestamp signature algorithm: SHA256withRSA, 4096-bit key
    
    jar verified.

For more jarsigner options, type jarsigner -h or review the jarsigner documentation:

jarsigner Reference

Page 21 of 74

Operating System Requirements for x86-64 Linux Platforms

About Operating System Requirements for x86-64 Linux Platforms

Before installing Oracle AI Database or Oracle Grid Infrastructure, verify that the x86-64 Linux distribution, kernel, packages, and software meet the release requirements. Oracle Universal Installer checks required packages, but prerequisites should be validated beforehand using the current My Oracle Support certification matrix. All cluster members must use the same operating system version, except during an upgrade.

Read More: About Operating System Requirements for x86-64 Linux Platforms

General Guidelines for Operating System Packages

Oracle recommends Oracle Linux with the Oracle AI Database Preinstallation RPM, which configures the operating system and installs required dependencies. Interactive installation requires an X Window System package such as libX, while compiler packages such as gcc and gcc-c++ are not required. These requirements do not apply to Engineered Systems, which provide integrated operating system software; the appropriate system image must be verified.

Read More: General Guidelines for Operating System Packages

Supported Oracle Linux 10 Distributions for x86-64

Oracle Linux 10 requires OpenSSH and is supported with UEK 8 kernel 6.12.0-104.43.4.2.el10uek.x86_64 or later, or the Red Hat Compatible Kernel 6.12.0-55.40.1.0.1.el10_0.x86_64 or later, beginning with Oracle AI Database 26ai Release Update 23.26.1. The oracle-ai-database-preinstall-26ai RPM is recommended because it installs the required database, Grid Infrastructure, X Window, security, system, and development packages and configures the system.

Read More: Supported Oracle Linux 10 Distributions for x86-64

Supported Oracle Linux 9 Distributions for x86-64

Oracle Linux 9 requires OpenSSH and supports Oracle Linux 9.2 with UEK 7 kernel 5.15.0-201.135.6.el9uek.x86_64 or later, the Red Hat Compatible Kernel 5.14.0-284.30.1.el9_2.x86_64 or later, and, from Release Update 23.26.1, Oracle Linux 9.6 with UEK 8 kernel 6.12.0-1.23.3.2.el9uek.x86_64 or later. The preinstallation RPM installs the required packages and dependencies; libnsl2 and libnsl2-devel are optional for Oracle Database Client installations.

Read More: Supported Oracle Linux 9 Distributions for x86-64

Supported Oracle Linux 8 Distributions for x86-64

Oracle Linux 8 requires OpenSSH and supports version 8.6 with UEK 6 kernel 5.4.17-2136.312.3.4.el8uek.x86_64 or later, or the Red Hat Compatible Kernel 4.18.0-372.26.1.0.1.el8_6.x86_64 or later; Oracle recommends UEK 7, with version 8.8 and kernel 5.15.0-202.135.2.el8uek.x86_64 or later supported from Release Update 23.5. The preinstallation RPM handles required packages, while ipmiutil, libnsl2, libnsl2-devel, net-tools, and nfs-utils are optional according to deployment needs.

Read More: Supported Oracle Linux 8 Distributions for x86-64

Supported Red Hat Enterprise Linux 10 Distributions for x86-64

Red Hat Enterprise Linux 10 requires OpenSSH and, beginning with Oracle AI Database 26ai Release Update 23.26.1, kernel 6.12.0-55.40.1.0.1.el10_0.x86_64 or later. Required packages include core utilities, binutils, glibc development components, KornShell, asynchronous I/O, GCC runtime libraries, InfiniBand and virtualization libraries, X Window libraries, cryptographic compatibility support, build tools, security utilities, monitoring tools, and related dependencies.

Read More: Supported Red Hat Enterprise Linux 10 Distributions for x86-64

Supported Red Hat Enterprise Linux 9 Distributions for x86-64

Red Hat Enterprise Linux 9 requires OpenSSH and version 9.2 with kernel 5.14.0-284.30.1.el9_2.x86_64 or later. Required packages cover system utilities, binutils, OpenSSL compatibility, ELF and graphics libraries, glibc development files, KornShell, asynchronous I/O, compiler and InfiniBand libraries, X Window components, cryptographic compatibility, virtualization, security, build, monitoring, and compression support. ipmiutil, libnsl2, libnsl2-devel, net-tools, and nfs-utils are optional for specific deployments.

Read More: Supported Red Hat Enterprise Linux 9 Distributions for x86-64

Supported Red Hat Enterprise Linux 8 Distributions for x86-64

Red Hat Enterprise Linux 8 requires OpenSSH and version 8.6 with kernel 4.18.0-372.26.1.0.1.el8_6.x86_64 or later. Required packages include system utilities, binutils, OpenSSL compatibility, ELF and graphics libraries, glibc and KornShell components, asynchronous I/O, compiler, InfiniBand, RDMA, X Window, security, build, monitoring, and compression packages. ipmiutil, libnsl2, libnsl2-devel, net-tools, and nfs-utils are optional according to the platform and product configuration.

Read More: Supported Red Hat Enterprise Linux 8 Distributions for x86-64

Supported SUSE Linux Enterprise Server 15 Distributions for x86-64

SUSE Linux Enterprise Server 15 requires OpenSSH and SP5 with kernel 5.14.21-150500.53-default or later. The required package set includes bc, glibc and GCC libraries, asynchronous I/O, X Window and graphics components, capability and ELF libraries, networking and compression libraries, KornShell, build tools, policy utilities, monitoring tools, and X11 libraries. ipmiutil and net-tools are optional for Intelligent Platform Management Interface and Oracle RAC or Clusterware deployments.

Read More: Supported SUSE Linux Enterprise Server 15 Distributions for x86-64

Supported Ubuntu Distributions for x86-64

Ubuntu requires OpenSSH and supports Ubuntu 24.04 LTS with kernel 6.8.0-1026.27 amd64 or later and Ubuntu 22.04.1 LTS with kernel 5.15.0-1016 or later. Required packages include bc, binutils, asynchronous I/O, libc, capability and compiler libraries, packet capture and standard C++ libraries, X Window components, make, sysstat, unzip, and X11 utilities. Oracle Database Client installations on Ubuntu support only 64-bit clients.

Read More: Supported Ubuntu Distributions for x86-64

Supported Debian Distributions for x86-64

Debian requires OpenSSH and a minimum Debian GNU/Linux 11 Bullseye kernel version of 5.10.120-1 or later. Required packages include binutils, bc, asynchronous I/O, libc, capability and compiler libraries, packet capture and standard C++ libraries, X Window components, make, sysstat, unzip, and X11 utilities. Oracle Database Client installations on Debian support only 64-bit clients.

Read More: Supported Debian Distributions for x86-64

Installing Operating System Packages

Install the latest operating system packages from the vendor’s enabled repository using the platform-appropriate package manager: DNF or YUM on Oracle Linux and Red Hat Enterprise Linux, and YaST on SUSE Linux Enterprise Server. For example, install the bc package with dnf install bc or yum install bc on Oracle Linux or Red Hat Enterprise Linux, and with yast --install bc on SUSE Linux Enterprise Server.
Read More: Installing Operating System Packages

Page 22 of 74

About Operating System Requirements for x86-64 Linux Platforms

You must meet the minimum requirements such as the operating system distribution, packages, and other software requirements for this release before you start an Oracle AI Database or Oracle Grid Infrastructure installation.

Depending on the products that you intend to install, verify that you have the required operating system kernel and packages installed.

The Linux distributions and packages listed in this section are supported for this release on x86-64. Requirements listed in this document are current as of the date listed on the title page.

The platform-specific hardware and software requirements included in this guide were current when this guide was published. However, because new platforms and operating system software versions may be certified after this guide is published, review the certification matrix on the My Oracle Support website for the most up-to-date list of certified hardware platforms and operating system versions:

https://support.oracle.com/

Oracle Universal Installer performs checks on your system to verify that it meets the listed operating system package requirements. To ensure that these checks complete successfully, verify the requirements before you start the installer.

Note:

Oracle does not support running different operating system versions on cluster members, unless an operating system is being upgraded. You cannot run different operating system version binaries on members of the same cluster, even if each operating system is supported.

Page 23 of 74

General Guidelines for Operating System Packages

Review these guidelines before you proceed with installing operating system packages.

  • Oracle recommends that you install Oracle Linux and use Oracle AI Database Preinstallation RPM to configure your operating systems for Oracle AI Database and Oracle Grid Infrastructure installations.
  • The Oracle AI Database interactive installation requires an X Window System (for example, libX ). The libX packages are not part of a default Linux installation. If you perform an installation on a system with a reduced set of packages, then you must ensure that libX or a similar X Window System package is installed.
  • Oracle AI Database does not require the compiler packages gcc and gcc-c++ on for Oracle AI Database or Oracle Grid Infrastructure installations.
  • These operating system requirements do not apply to Oracle Engineered Systems, such as Oracle Exadata Database Machine and Oracle Database Appliance. Oracle Engineered Systems include integrated system software that contain the required version of the operating system kernel and all software packages. Please verify that you have the minimum required Exadata image. Refer to My Oracle Support for more information.

Related Topics

Page 24 of 74

Supported Oracle Linux 10 Distributions for x86-64

Use this information to check supported Oracle Linux 10 distributions.

Table: x86-64 Oracle Linux 10 Minimum Operating System Requirements

ItemRequirements
SSH RequirementEnsure that OpenSSH is installed on your servers. OpenSSH is the required SSH software.
Oracle Linux 10

Starting with Oracle AI Database 26ai Release Update 23.26.1, the Linux x86-64 operating system is supported with the following minimum supported versions:

  • Oracle Linux 10 with the Unbreakable Enterprise Kernel 8: 6.12.0-104.43.4.2.el10uek.x86_64 or later
  • Oracle Linux 10 with the Red Hat Compatible Kernel: 6.12.0-55.40.1.0.1.el10_0.x86_64 or later

Note: Oracle recommends that you update Oracle Linux 10 to the latest available release level.

Packages for Oracle Linux 10

Install the latest released versions of the following packages:

Subscribe to the Oracle Linux 10 channel on the Unbreakable Linux Network, or configure a yum repository from the Oracle Linux yum server website, and then install the Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai. The Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai, automatically installs all required packages listed in the table below, their dependencies for Oracle Grid Infrastructure and Oracle AI Database installations, and also performs other system configuration. If you install the Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai, then you do not have to install these packages, as the Oracle AI Database Preinstallation RPM automatically installs them.

bc
binutils
elfutils-libelf
fontconfig
glibc
glibc-devel
ksh
libaio
libgcc
libibverbs
libstdc++
libvirt-libs
libxcb
libX11
libXau
libXi
libXrender
libXtst
libxcrypt-compat
make
policycoreutils
policycoreutils-python-utils
smartmontools
sysstat

Page 25 of 74

Supported Oracle Linux 9 Distributions for x86-64

Use this information to check supported Oracle Linux 9 distributions.

Table: x86-64 Oracle Linux 9 Minimum Operating System Requirements

ItemRequirements
SSH RequirementEnsure that OpenSSH is installed on your servers. OpenSSH is the required SSH software.
Oracle Linux 9

Minimum supported versions:

  • Oracle Linux 9.2 with the Unbreakable Enterprise Kernel 7: 5.15.0-201.135.6.el9uek.x86_64 or later
  • Oracle Linux 9.2 with the Red Hat Compatible Kernel: 5.14.0-284.30.1.el9_2.x86_64 or later

Starting with Oracle AI Database 26ai Release Update 23.26.1, the Linux x86-64 operating system is supported with the following minimum supported version:

Oracle Linux 9.6 with the Unbreakable Enterprise Kernel 8: 6.12.0-1.23.3.2.el9uek.x86_64 or later

Note: Oracle recommends that you update Oracle Linux to the latest available version and release level.

Packages for Oracle Linux 9

Install the latest released versions of the following packages:

Subscribe to the Oracle Linux 9 channel on the Unbreakable Linux Network, or configure a yum repository from the Oracle Linux yum server website, and then install the Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai. The Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai, automatically installs all required packages listed in the table below, their dependencies for Oracle Grid Infrastructure and Oracle AI Database installations, and also performs other system configuration. If you install the Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai, then you do not have to install these packages, as the Oracle AI Database Preinstallation RPM automatically installs them.


bc
binutils
compat-openssl11
elfutils-libelf
fontconfig
glibc
glibc-devel
glibc-headers
ksh
libaio
libgcc
libibverbs
libstdc++
libvirt-libs
libX11
libXau
libXi
libXrender
libXtst
libxcb
libxcrypt-compat
make
policycoreutils
policycoreutils-python-utils
smartmontools
sysstat

Optional Packages for Oracle Linux 9

Based on your requirement, install the latest released versions of the following packages:

libnsl (for Oracle Database Client only)
libnsl2 (for Oracle Database Client only)
libnsl2-devel (for Oracle Database Client only)

Page 26 of 74

Supported Oracle Linux 8 Distributions for x86-64

Use this information to check supported Oracle Linux 8 distributions.

Table: x86-64 Oracle Linux 8 Minimum Operating System Requirements

ItemRequirements
SSH RequirementEnsure that OpenSSH is installed on your servers. OpenSSH is the required SSH software.
Oracle Linux 8

Minimum supported versions:

  • Oracle Linux 8.6 with the Unbreakable Enterprise Kernel 6: 5.4.17-2136.312.3.4.el8uek.x86_64 or later
  • Oracle Linux 8.6 with the Red Hat Compatible Kernel: 4.18.0-372.26.1.0.1.el8_6.x86_64 or later

Note: Oracle strongly recommends that you use a minimum version of Oracle Linux 8.6 Unbreakable Enterprise Kernel 7.

Starting with Oracle AI Database 26ai Release Update 23.5, the following minimum version is supported:

  • Oracle Linux 8.8 with the Unbreakable Enterprise Kernel 7: 5.15.0-202.135.2.el8uek.x86_64 or later

Note: Oracle recommends that you update Oracle Linux to the latest available version and release level.

Packages for Oracle Linux 8

Install the latest released versions of the following packages:

Subscribe to the Oracle Linux 8 channel on the Unbreakable Linux Network, or configure a yum repository from the Oracle Linux yum server website, and then install the Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai. The Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai, automatically installs all required packages listed in the table below, their dependencies for Oracle Grid Infrastructure and Oracle AI Database installations, and also performs other system configuration. If you install the Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai, then you do not have to install these packages, as the Oracle AI Database Preinstallation RPM automatically installs them.


bc
binutils
compat-openssl10
elfutils-libelf
fontconfig
glibc
glibc-devel
ksh
libaio
libXrender
libX11
libXau
libXi
libXtst
libgcc
libstdc++
libxcb
libibverbs
libasan
liblsan
librdmacm
make
policycoreutils
policycoreutils-python-utils
smartmontools
sysstat
xz-devel

Optional Packages for Oracle Linux 8

Based on your requirement, install the latest released versions of the following packages:


ipmiutil (for Intelligent Platform Management Interface)
libnsl2 (for Oracle Database Client only)
libnsl2-devel (for Oracle Database Client only)
net-tools (for Oracle RAC and Oracle Clusterware)
nfs-utils (for Oracle ACFS)

Page 27 of 74

Supported Red Hat Enterprise Linux 10 Distributions for x86-64

Use this information to check supported Red Hat Enterprise Linux 10 distributions.

Table: x86-64 Red Hat Enterprise Linux 10 Minimum Operating System Requirements

ItemRequirements
SSH RequirementEnsure that OpenSSH is installed on your servers. OpenSSH is the required SSH software.
Red Hat Enterprise Linux 10

Starting with Oracle AI Database 26ai Release Update 23.26.1, the Red Hat Enterprise Linux x86-64 operating system is supported with the following minimum supported version:

Red Hat Enterprise Linux 10: 6.12.0-55.40.1.0.1.el10_0.x86_64 or later

Packages for Red Hat Enterprise Linux 10

Install the latest released versions of the following packages:

bc
binutils
elfutils-libelf
fontconfig
glibc
glibc-devel
ksh
libaio
libgcc
libibverbs
libstdc++
libvirt-libs
libxcb
libX11
libXau
libXi
libXrender
libXtst
libxcrypt-compat
make
policycoreutils
policycoreutils-python-utils
smartmontools
sysstat

Page 28 of 74

Supported Red Hat Enterprise Linux 9 Distributions for x86-64

Use this information to check supported Red Hat Enterprise Linux 9 distributions.

Table: x86-64 Red Hat Enterprise Linux 9 Minimum Operating System Requirements

ItemRequirements
SSH RequirementEnsure that OpenSSH is installed on your servers. OpenSSH is the required SSH software.
Red Hat Enterprise Linux 9

Minimum supported version:

Red Hat Enterprise Linux 9.2: 5.14.0-284.30.1.el9_2.x86_64 or later

Packages for Red Hat Enterprise Linux 9

Install the latest released versions of the following packages:


bc
binutils
compat-openssl11
elfutils-libelf
fontconfig
glibc
glibc-devel
glibc-headers
ksh
libaio
libasan
libX11
libXau
libXi
libXrender
libXtst
libxcrypt-compat
libgcc
libibverbs
librdmacm
libstdc++
libxcb
libvirt-libs
make
policycoreutils
policycoreutils-python-utils
smartmontools
sysstat
xz-devel

Optional Packages for Red Hat Enterprise Linux 9

Based on your requirement, install the latest released versions of the following packages:


ipmiutil (for Intelligent Platform Management Interface)
libnsl2 (for Oracle Database Client only)
libnsl2-devel (for Oracle Database Client only)
net-tools (for Oracle RAC and Oracle Clusterware)
nfs-utils (for Oracle ACFS)

Page 29 of 74

Supported Red Hat Enterprise Linux 8 Distributions for x86-64

Use this information to check supported Red Hat Enterprise Linux 8 distributions.

Table: x86-64 Red Hat Enterprise Linux 8 Minimum Operating System Requirements

ItemRequirements
SSH RequirementEnsure that OpenSSH is installed on your servers. OpenSSH is the required SSH software.
Red Hat Enterprise Linux 8

Minimum supported version:

Red Hat Enterprise Linux 8.6: 4.18.0-372.26.1.0.1.el8_6.x86_64 or later

Packages for Red Hat Enterprise Linux 8

Install the latest released versions of the following packages:


bc
binutils
compat-openssl10
elfutils-libelf
fontconfig
glibc
glibc-devel
ksh
libaio
libXrender
libX11
libXau
libXi
libXtst
libgcc
libstdc++
libxcb
libibverbs
libasan
liblsan
librdmacm
make
policycoreutils
policycoreutils-python-utils
smartmontools
sysstat
xz-devel

Optional Packages for Red Hat Enterprise Linux 8

Based on your requirement, install the latest released versions of the following packages:

ipmiutil (for Intelligent Platform Management Interface)
libnsl2 (for Oracle Database Client only)
libnsl2-devel (for Oracle Database Client only)
net-tools (for Oracle RAC and Oracle Clusterware)
nfs-utils (for Oracle ACFS)

Page 30 of 74

Supported SUSE Linux Enterprise Server 15 Distributions for x86-64

Use this information to check supported SUSE Linux Enterprise Server 15 distributions.

Table: x86-64 SUSE Linux Enterprise Server 15 Minimum Operating System Requirements

ItemRequirements
SSH RequirementEnsure that OpenSSH is installed on your servers. OpenSSH is the required SSH software.
SUSE Linux Enterprise Server

Minimum supported version:

SUSE Linux Enterprise Server 15 SP5 (x86_64): 5.14.21-150500.53-default or later

Packages for SUSE Linux Enterprise Server 15

Install the latest released versions of the following packages:

bc
glibc
insserv-compat
libaio-devel
libaio1
libX11-6
libXau6
libXext-devel
libXext6
libXi-devel
libXi6
libXrender-devel
libXrender1
libXtst6
libcap-ng-utils
libcap-ng0
libcap-progs
libcap1
libcap2
libelf1
libgcc_s1
libjpeg8
libpcap1
libpcre1
libstdc++6
libgfortran4
mksh
make
pixz
policycoreutils
policycoreutils-python-utils
smartmontools
sysstat
xorg-x11-libs

Optional Packages for SUSE Linux Enterprise Server 15

Based on your requirement, install the latest released versions of the following packages:

ipmiutil (for Intelligent Platform Management Interface)
net-tools (for Oracle RAC and Oracle Clusterware)

Page 31 of 74

Supported Ubuntu Distributions for x86-64

Use this information to check supported Ubuntu distributions.

Table: Ubuntu Minimum Operating System Requirements

ItemRequirements
SSH RequirementEnsure that OpenSSH is installed on your servers. OpenSSH is the required SSH software.
Ubuntu

Minimum supported versions:

  • Ubuntu 24.04 LTS (Noble Numbat) 6.8.0-1026.27 amd64 or later
  • Ubuntu 22.04.1 LTS 5.15.0-1016 or later

Note: Oracle Database Client supports only 64-bit client installations on Ubuntu.

Packages for Ubuntu 24.04

Install the latest released versions of the following packages:

bc
binutils
libaio1t64
libc6
libcap2
libgcc-s1
libpcap0.8t64
libstdc++6
libxi6
libxrender-dev
make
sysstat
unzip
x11-utils

Packages for Ubuntu 22.04

Install the latest released versions of the following packages:

bc
binutils
libaio1
libc6
libcap2
libgcc-s1
libpcap0.8
libstdc++6
libxi6
libxrender-dev
libxtst6
make
sysstat
unzip
x11-utils

Page 32 of 74

Supported Debian Distributions for x86-64

Use this information to check supported Debian GNU/Linux 10 distributions.

Table: x86-64 Debian GNU/Linux 10 Minimum Operating System Requirements

ItemRequirements
SSH RequirementEnsure that OpenSSH is installed on your servers. OpenSSH is the required SSH software.
Debian GNU/Linux

Minimum supported version:

  • Debian GNU/Linux 11 (bullseye) 5.10.120-1 or later

Note: Oracle Database Client supports only 64-bit client installations on Debian.

Packages for Debian GNU/Linux 10

Install the latest released versions of the following packages:

binutils
bc
libaio1
libc6
libcap2
libgcc-s1
libpcap0.8
libstdc++6
libxi6
libxrender-dev
libxtst6
make
sysstat
unzip
x11-utils

Page 33 of 74

Installing Operating System Packages

Learn how to install the latest version of your Oracle Linux and SUSE Linux Enterprise Server operating system packages listed earlier.

You must install the latest version of your operating system packages from the respective operating system vendor repository by using a package manager like DNF, YUM or YaST depending on your operating system.

Ensure that the appropriate channel or repository is enabled to include these packages.

For example:

On Oracle Linux or Red Hat Enterprise Linux, to install the latest bc package, run one of the following commands:

  • # dnf install bc

    (or)

  • # yum install bc

On SUSE Linux Enterprise Server, to install the latest bc package using YaST, run the following command:

$ yast --install bc

Page 34 of 74

Operating System Requirements for Linux for Arm (aarch64)

About Operating System Requirements for Linux for Arm (aarch64)

Before installing Oracle AI Database or Oracle Grid Infrastructure on Linux for Arm (aarch64), verify that the supported operating system distribution, kernel, packages, and other software requirements are met. Requirements may change as new platforms and versions are certified, so consult the current certification information. Oracle Universal Installer checks package prerequisites, and all cluster members must use the same operating system version unless performing an upgrade.

Read More: About Operating System Requirements for Linux for Arm (aarch64)/26ai/About%20Operating%20System%20Requirements%20for%20Linux%20for%20Arm%20(aarch64)>)

Supported Oracle Linux 8 Distributions on Linux for Arm (aarch64)

For Oracle AI Database 26ai Release Update 23.5 and later, the minimum supported Oracle Linux 8 version on Linux for Arm (aarch64) is Oracle Linux 8.6 with Unbreakable Enterprise Kernel 7, kernel 5.15.0-205.149.5.1.el8uek.aarch64; Oracle recommends using the latest available release. The oracle-ai-database-preinstall-26ai package can be installed from the appropriate Oracle Linux channel or repository to automatically install required dependencies and configure the system for Oracle Grid Infrastructure and Oracle AI Database.
Read More: Supported Oracle Linux 8 Distributions on Linux for Arm (aarch64)/26ai/Supported%20Oracle%20Linux%208%20Distributions%20on%20Linux%20for%20Arm%20(aarch64)>)

Page 35 of 74

About Operating System Requirements for Linux for Arm (aarch64)

You must meet the minimum requirements such as the operating system distribution, packages, and other software requirements for this release before you start an Oracle AI Database or Oracle Grid Infrastructure installation.

Depending on the products that you intend to install, verify that you have the required operating system kernel and packages installed.

The Linux distribution and packages listed in this section are supported for this release on Linux for Arm (aarch64). Requirements listed in this document are current as of the date listed on the title page.

The platform-specific hardware and software requirements included in this guide were current when this guide was published. However, because new platforms and operating system software versions may be certified after this guide is published, review the certification matrix on the My Oracle Support website for the most up-to-date list of certified hardware platforms and operating system versions:

https://support.oracle.com/

Oracle Universal Installer performs checks on your system to verify that it meets the listed operating system package requirements. To ensure that these checks complete successfully, verify the requirements before you start the installer.

Note:

Oracle does not support running different operating system versions on cluster members, unless an operating system is being upgraded. You cannot run different operating system version binaries on members of the same cluster, even if each operating system is supported.

Page 36 of 74

Supported Oracle Linux 8 Distributions on Linux for Arm (aarch64)

Use this information to check supported Oracle Linux 8 distributions.

Table: Linux for Arm (aarch64) Oracle Linux 8 Minimum Operating System Requirements

ItemRequirements
Oracle Linux 8

Starting with Oracle AI Database 26ai Release Update 23.5, the Linux for Arm (aarch64) operating system is supported with the following minimum supported version:

Oracle Linux 8.6 with Unbreakable Enterprise Kernel 7: 5.15.0-205.149.5.1.el8uek.aarch64

Note: Oracle recommends that you update Oracle Linux 8 to the latest available release level.

Packages for Oracle Linux 8

Install the latest released versions of the following packages:

Subscribe to the Oracle Linux 8 channel on the Unbreakable Linux Network, or configure a yum repository from the Oracle Linux yum server website, and then install the Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai. The Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai, automatically installs all required packages listed in the table below, their dependencies for Oracle Grid Infrastructure and Oracle AI Database installations, and also performs other system configuration. If you install the Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai, then you do not have to install these packages, as the Oracle AI Database Preinstallation RPM automatically installs them.

bc
binutils
elfutils-libelf
gcc
gcc-c++
glibc
glibc-devel
ksh
libaio
libaio-devel
libgcc
libgfortran
libibverbs
libnsl
libnsl2
libstdc++
libstdc++-devel
libxcb
libX11
libXau
libXi
libXrender
libXtst
make
policycoreutils
policycoreutils-python-utils
smartmontools
sysstat

Page 37 of 74

Configuring Users, Groups and Environments for Oracle Database Client

Before installation, create operating system groups and users, and configure user environments.

Required Operating System Groups and Users

Oracle installations require an installation owner, a shared Oracle Inventory group—typically oinstall—and one or more operating-system groups for database or Grid Infrastructure privileges. Administrators should verify whether /etc/oraInst.loc identifies an existing central inventory, ensure its group and write permissions remain valid, and reuse that inventory for all installations without placing it under the Oracle base directory. If no inventory exists, create the inventory group manually. Installation owners such as oracle and grid must use the inventory group as their primary group; the database owner also requires appropriate secondary groups including OSDBA and any configured OSOPER, backup, Data Guard, RAC, or key-management groups. Verify existing accounts and group memberships with /etc/group and id, and ensure the grid user belongs to racdba for Oracle Restart installations.

Read More: Required Operating System Groups and Users

Creating an Oracle Software Owner User

Before installation, create an Oracle software owner account if one does not already exist, preferably using a separate owner for each Oracle software product. For example, create oracle with a specified user ID, oinstall as the primary group, and dba as a secondary group using useradd; record the user ID for preinstallation checks. Oracle Grid Infrastructure installations require user and group IDs to be consistent across all candidate cluster nodes.

Read More: Creating an Oracle Software Owner User

Configuring Software Owner User Environments

Configure each oracle or grid installation owner before running the installer by setting umask 022, appropriate file-descriptor and process limits, and a valid DISPLAY value for graphical installations. Update the correct shell startup file, remove Oracle-specific variables such as ORACLE_SID, ORACLE_HOME, ORACLE_BASE, ORA_NLS10, TNS_ADMIN, and especially ORA_CRS_HOME unless explicitly directed by Oracle Support, and remove Oracle home paths from PATH. Reload and verify the environment, ensuring the umask is 022, and configure TMP and TMPDIR on a local filesystem with at least 1 GB of space when /tmp is insufficient; shared temporary filesystems are not permitted for Oracle RAC installations.
Read More: Configuring Software Owner User Environments

Page 38 of 74

Required Operating System Groups and Users

Oracle software installations require an installation owner, an Oracle Inventory group, which is the primary group of all Oracle installation owners, and at least one group designated as a system privileges group.

Review group and user options with your system administrator. If you have system administration privileges, then review the topics in this section and configure operating system groups and users as needed.

Determining If an Oracle Inventory and Oracle Inventory Group Exist

Determine if you have an existing Oracle central inventory, and ensure that you use the same Oracle Inventory for all Oracle software installations. Also, ensure that all Oracle software users you intend to use for installation have permissions to write to this directory.

When you install Oracle software on the system for the first time, OUI creates the oraInst.loc file. This file identifies the name of the Oracle Inventory group (by default, oinstall), and the path of the Oracle central inventory directory. If you have an existing Oracle central inventory, then ensure that you use the same Oracle Inventory for all Oracle software installations, and ensure that all Oracle software users you intend to use for installation have permissions to write to this directory.

An oraInst.loc file contains lines in the following format, where central_inventory_location is the path to an existing Oracle central inventory, and group is the name of the operating system group whose members have permissions to write to the central inventory:

inventory_loc=central_inventory_location
inst_group=group

Use the more command to determine if you have an Oracle central inventory on your system. For example:

# more /etc/oraInst.loc

inventory_loc=/u01/app/oraInventory
inst_group=oinstall

Use the command grep groupname /etc/group to confirm that the group specified as the Oracle Inventory group still exists on the system. For example:

$ grep oinstall /etc/group
oinstall:x:54321:grid,oracle

Note:

Do not put the oraInventory directory under the Oracle base directory for a new installation, because that can result in user permission errors for other installations.

Creating the Oracle Inventory Group If an Oracle Inventory Does Not Exist

Create an Oracle Inventory group manually as part of a planned installation, particularly where more than one Oracle software product is installed on servers.

By default, if an oraInventory group does not exist, then the installer uses the primary group of the installation owner for the Oracle software being installed as the oraInventory group. Ensure that this group is available as a primary group for all planned Oracle software installation owners.

If the oraInst.loc file does not exist, then create the Oracle Inventory group by entering a command similar to the following:

# /usr/sbin/groupadd -g 54321 oinstall

About Oracle Installation Owner Accounts

Select or create an Oracle installation owner for your installation, depending on the group and user management plan you want to use for your installations.

You must create a software owner for your installation in the following circumstances:

  • If an Oracle software owner user does not exist; for example, if this is the first installation of Oracle software on the system.
  • If an Oracle software owner user exists, but you want to use a different operating system user, with different group membership, to separate Oracle Grid Infrastructure administrative privileges from Oracle AI Database administrative privileges.

In Oracle documentation, a user created to own only Oracle Grid Infrastructure software installations is called the Grid user (grid). This user owns both the Oracle Clusterware and Oracle Automatic Storage Management binaries. A user created to own either all Oracle installations, or one or more Oracle AI Database installations, is called the Oracle user (oracle). You can have only one Oracle Grid Infrastructure installation owner, but you can have different Oracle users to own different installations.

Oracle software owners must have the Oracle Inventory group as their primary group, so that each Oracle software installation owner can write to the central inventory (oraInventory), and so that OCR and Oracle Clusterware resource permissions are set correctly. The database software owner must also have the OSDBA group and (if you create them) the OSOPER, OSBACKUPDBA, OSDGDBA, OSRACDBA, and OSKMDBA groups as secondary groups.

Identifying an Oracle Software Owner User Account

You must create at least one software owner user account the first time you install Oracle software on the system. Either use an existing Oracle software user account, or create an Oracle software owner user account for your installation.

To use an existing user account, obtain the name of an existing Oracle installation owner from your system administrator. Confirm that the existing owner is a member of the Oracle Inventory group.

For example, if you know that the name of the Oracle Inventory group is oinstall, then an Oracle software owner should be listed as a member of oinstall:

$ grep "oinstall" /etc/group
oinstall:x:54321:grid,oracle

You can then use the ID command to verify that the Oracle installation owners you intend to use have the Oracle Inventory group as their primary group. For example:

$ id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),
54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54327(asmdba),54330(racdba)
$ id grid
uid=54331(grid) gid=54321(oinstall) groups=54321(oinstall),54327(asmdba),54329(asmadmin),54330(racdba)

Note:

For Oracle Restart installations, to successfully install Oracle AI Database, ensure that the grid user is a member of the racdba group.

After you create operating system groups, create or modify Oracle user accounts in accordance with your operating system authentication planning.

Page 39 of 74

Creating an Oracle Software Owner User

Before starting installation, create Oracle software owner user accounts, and configure their environments.

Oracle software owner user accounts require resource settings and other environment configuration. To protect against accidents, Oracle recommends that you create one software installation owner account for each Oracle software program you install.

If the Oracle software owner user (oracle ) does not exist, or if you require a new Oracle software owner user, then create it as described in this section.

The following example shows how to create the user oracle with the user ID 54321; with the primary group oinstall; and with secondary group dba.

# /usr/sbin/useradd -u 54321 -g oinstall -G dba oracle

You must note the user ID number for installation users, because you need it during preinstallation.

For Oracle Grid Infrastructure Installations, user IDs and group IDs must be identical on all candidate nodes.

Page 40 of 74

Configuring Software Owner User Environments

Understand the software owner user environments to configure before installing Oracle software.

You run the installer software with the installation owner user account (oracle or grid). However, before you start the installer, you must configure the environment of the installation owner user account. If needed, you must also create other required Oracle software owners.

Environment Requirements for Oracle Software Owners

Review these requirements for Oracle software owner environments.

You must make the following changes to configure Oracle software owner environments:

  • Set the installation software owner user ( grid, oracle ) default file mode creation mask (umask) to 022 in the shell startup file. Setting the mask to 022 ensures that the user performing the software installation creates files with 644 permissions.
  • Set ulimit settings for file descriptors and processes for the installation software owner ( grid, oracle ).
  • Set the DISPLAY environment variable in preparation for running an Oracle Universal Installer (OUI) installation.

Caution:

If you have existing Oracle installations that you installed with the user ID that is your Oracle Grid Infrastructure software owner, then unset all Oracle environment variable settings for that user.

Procedure for Configuring Oracle Software Owner Environments

Configure each Oracle installation owner user account environment:

  1. Start an X terminal session (xterm) on the server where you are running the installation.
  2. Enter the following command to ensure that X Window applications can display on this system, where hostname is the fully qualified name of the local host from which you are accessing the server:

    $ xhost + hostname
  3. If you are not logged in as the software owner user, then switch to the software owner user you are configuring. For example, with the user grid:

    $ su - grid

    On systems where you cannot run su commands, use sudo instead:

    $ sudo -u grid -s
  4. To determine the default shell for the user, enter the following command:

    $ echo $SHELL
  5. Open the user's shell startup file in any text editor:

    • Bash shell (bash):

      $ vi .bash_profile
    • Bourne shell (sh) or Korn shell (ksh):

      $ vi .profile
    • C shell (csh or tcsh):

      % vi .login
  6. Enter or edit the following line, specifying a value of 022 for the default file mode creation mask:

    umask 022
  7. If the ORACLE_SID, ORACLE_HOME, or ORACLE_BASE environment variables are set in the file, then remove these lines from the file.
  8. Save the file, and exit from the text editor.
  9. To run the shell startup script, enter one of the following commands:

    • Bash shell:

      $ . ./.bash_profile
    • Bourne, Bash, or Korn shell:

      $ . ./.profile
    • C shell:

      % source ./.login
  10. Use the following command to check the PATH environment variable:
    $ echo $PATH

    Remove any Oracle environment variables.

  11. Unset any Oracle environment variables.

    If you have an existing Oracle software installation, and you are using the same user to install this installation, then unset the $ORACLE_HOME, $ORA_NLS10, and $TNS_ADMIN environment variables.

    If you have set $ORA_CRS_HOME as an environment variable, then unset it before starting an installation or upgrade. Do not use $ORA_CRS_HOME as a user environment variable, except as directed by Oracle Support.

  12. If you are not installing the software on the local system, then enter a command similar to the following to direct X applications to display on the local system:
    • Bourne, Bash, or Korn shell:

      $ export DISPLAY=local_host:0.0
    • C shell:

      % setenv DISPLAY local_host:0.0

    In this example, local_host is the host name or IP address of the system (your workstation, or another client) on which you want to display the installer.

  13. If the /tmp directory has less than 1 GB of free space, then identify a file system with at least 1 GB of free space and set the TMP and TMPDIR environment variables to specify a temporary directory on this file system:

    Note:

    You cannot use a shared file system as the location of the temporary file directory (typically /tmp) for Oracle RAC installations. If you place /tmp on a shared file system, then the installation fails.

    1. Use the df -h command to identify a suitable file system with sufficient free space.
    2. If necessary, enter commands similar to the following to create a temporary directory on the file system that you identified, and set the appropriate permissions on the directory:

      $ sudo -s
      # mkdir /mount_point/tmp
      # chmod 775 /mount_point/tmp
      # exit
    3. Enter commands similar to the following to set the TMP and TMPDIR environment variables:

      Bourne, Bash, or Korn shell:

      $ TMP=/mount_point/tmp
      $ TMPDIR=/mount_point/tmp
      $ export TMP TMPDIR

      C shell:

      % setenv TMP /mount_point/tmp
      % setenv TMPDIR /mount_point/tmp
  14. To verify that the environment has been set correctly, enter the following commands:
    $ umask
    $ env | more

    Verify that the umask command displays a value of 22, 022, or 0022 and that the environment variables you set in this section have the correct values.

Unsetting Oracle Installation Owner Environment Variables

Unset Oracle installation owner environment variables before you start the installation.

The environment variables you have set for the Oracle installation owner account you use to run the installation can cause issues if they are set to values that conflict with the values needed for installation.

If you have set ORA_CRS_HOME as an environment variable, following instructions from Oracle Support, then unset it before starting an installation or upgrade. You should never use ORA_CRS_HOME as an environment variable except under explicit direction from Oracle Support.

If you have had an existing installation on your system, and you are using the same user account to install this installation, then unset the following environment variables: ORA_CRS_HOME, ORACLE_HOME, ORA_NLS10, TNS_ADMIN, and any other environment variable set for the Oracle installation user that is connected with Oracle software homes.

Also, ensure that the $ORACLE_HOME/bin path is removed from your PATH environment variable.

Page 41 of 74

Installing Oracle Database Client

About Image-Based Oracle Database Client Installation

Starting with Oracle Database 19c, Oracle Database Client can be installed by creating an Oracle home, extracting client_home.zip into it, and running the Setup Wizard. Oracle recommends Oracle Optimal Flexible Architecture-compliant, nonsymbolic paths. Image-based installation supports 64-bit Administrator configurations; 32-bit clients are desupported in Oracle AI Database 26ai, although older clients may continue to be used subject to interoperability and support policies.

Read More: About Image-Based Oracle Database Client Installation

Downloading Oracle Software

Oracle AI Database software can be downloaded from the Oracle website or Oracle Software Delivery Cloud. Before downloading, identify required files and disk space, create suitable product directories, verify downloaded file sizes and checksums, and extract the archives. Website downloads provide client installation and gold image archives, while Software Delivery Cloud requires signing in, selecting the product, platform, accepting the license agreement, downloading the files, and validating their digests.

Read More: Downloading Oracle Software

About Character Set Selection During Installation

The database character set should be selected carefully before database creation because changing it later can require extensive data conversion. Oracle AI Database uses the character set for character data, identifiers, and stored source code; AL32UTF8 is the default and is generally recommended because it supports broad language and technology compatibility. Using AL32UTF8 for the container database permits pluggable databases with supported character sets, whereas another character set generally restricts PDBs to that same character set. Legacy character sets can be introduced through temporary databases and PDB unplug/plug operations.

Read More: About Character Set Selection During Installation

Running the Installer in a Different Language

The database installer language is determined by the operating system locale. Supported languages include Brazilian Portuguese, French, German, Italian, Japanese, Korean, Simplified Chinese, Spanish, and Traditional Chinese. Change the session locale before starting the installer; unsupported locales cause the installer to run in English.

Read More: Running the Installer in a Different Language

Installing the Oracle Database Client Software

Oracle Database Client installations can use the graphical Setup Wizard or silent mode, with image and traditional archive formats available. For Oracle Database Client 26ai, only Instant Client installation is currently available, and the Setup Wizard no longer separately offers an Instant Client option. To install, log in as the Oracle software owner, run runInstaller from the Oracle home directory, select the installation type, provide configuration details, and execute required root scripts manually or through an approved privilege-delegation method. Image installation requires extracting client_home.zip into a new nonsymbolic Oracle home before launching the wizard, which starts an Administrator-type installation.

Read More: Installing the Oracle Database Client Software

Installing Oracle Connection Manager Using an Image File

Beginning with Oracle Database Client 26ai Release Update 23.7, Oracle Connection Manager can be installed from client_cman_home.zip. As the Oracle software owner, create an Oracle home with an Oracle Optimal Flexible Architecture-compliant, nonsymbolic path, extract the image there, and run runInstaller from that home. The Setup Wizard performs a Connection Manager installation and prompts for configuration details such as Oracle base and inventory; required configuration scripts must be run as root. Existing Connection Manager services can be migrated by installing the latest image in a new home, stopping the old service with cmctl, moving cman.ora, and restarting the service from the new home.

Read More: Installing Oracle Connection Manager Using an Image File

Using Oracle Net Configuration Assistant

After installing Oracle Database Client, run Oracle Net Configuration Assistant in standalone mode with netca from $ORACLE_HOME/bin. It configures listeners, naming methods, net service names, and directory server usage. Have the database host information available and follow the prompts, using the built-in Help when necessary.

Read More: Using Oracle Net Configuration Assistant

Relinking Oracle Database Client Binaries After Installation

Oracle Database Client binaries can be relinked with relink as_installed, typically after operating system patches or upgrades. Before relinking, shut down all executables in the Oracle home and applications using its shared libraries. As the client owner, set ORACLE_HOME, change to $ORACLE_HOME/bin, and run ./relink as_installed; generated logs are stored under $ORACLE_HOME/install.
Read More: Relinking Oracle Database Client Binaries After Installation

Page 42 of 74

About Image-Based Oracle Database Client Installation

Starting with Oracle Database 19c, installation and configuration of Oracle Database Client software is simplified with image-based installation.

To install Oracle Database Client, create the new Oracle home, extract the image file into the newly-created Oracle home, and run the setup wizard to register the Oracle AI Database product.

You must extract the image software (client_home.zip) into the directory where you want your Oracle Database Client home to be located, and then run the Setup Wizard to start the Oracle Database Client installation and configuration. Oracle recommends that the Oracle home directory path you create is in compliance with the Oracle Optimal Flexible Architecture recommendations.

As with Oracle AI Database and Oracle Grid Infrastructure image file installations, Oracle Database Client image installations simplify Oracle Database Client installations and ensure best practice deployments. Oracle Database Client installation binaries continue to be available in the traditional format as non-image zip files.

Using image-based installation, you can install Oracle Database Client 64-bit configurations of the Administrator installation type.

The 32-bit clients for Oracle databases are desupported in Oracle AI Database 26ai.

Oracle has discontinued developing 32-bit Oracle Database clients. Oracle recommends that you use 64-bit Oracle AI Database clients. If you are using 32-bit applications, then you can continue to use older 32-bit Oracle Database clients, subject to "Client / Server Interoperability Support Matrix for Different Oracle Versions (Doc ID 207303.1)," and the release support lifecycle (My Oracle Support 742060.1).

Page 43 of 74

Downloading Oracle Software

Select the method you want to use to download the software.

You can download Oracle AI Database software from the Oracle website or the Oracle Software Delivery Cloud portal and extract them to the Oracle home. Ensure that you review and understand the terms of the license.

Downloading the Installation Archive Files from the Oracle AI Database Website

Download the installation archive files from the Oracle AI Database downloads page.

  1. Use any browser to access the Oracle AI Database software downloads page:

  2. Go to the download page for the product to install.
  3. On the download page, identify the required disk space by adding the file sizes for each required file.

    The file sizes are listed next to the file names.

  4. Select a file system with enough free space to store and expand the archive files.

    In most cases, the available disk space must be at least twice the size of all of the archive files.

  5. On the file system, create a parent directory for each product (for example, OraDB26ai) to hold the installation directories.
  6. Download all of the installation archive files to the directory you created for the product.

    Note:

    For Oracle Database Client installations, there are two installation archive files available for download. The first file is the client installation binary and the second file is a client gold image file. Download the appropriate zip file based on the type of installation you want to perform.

  7. Verify that the files you downloaded are the same size as the corresponding files on the Oracle website. Also verify the checksums are the same as noted on the Oracle website using a command similar to the following, where filename is the name of the file you downloaded:

    cksum filename.zip
  8. Extract the files in each directory that you just created.

Downloading the Software from Oracle Software Delivery Cloud Portal

You can download the software from Oracle Software Delivery Cloud.

  1. Use a browser to access the Oracle Software Delivery Cloud portal:

    https://edelivery.oracle.com/

  2. Click Sign In and enter your Oracle account username and password.
  3. Type Oracle AI Database in the search bar and click Search. Click to select the Oracle AI Database version that you want to download.
  4. Click Continue to continue to the Checkout page.
  5. In the Checkout page, deselect any products that you do not want to download, select the operating system platform on which you want to install the software from the Platform/Languages column, and click Continue.
  6. Review the license agreement.
  7. Select the I reviewed and accept the Oracle License Agreement checkbox and click Continue.
  8. Click Download to start downloading the software.
  9. After you download the files, click View Digest to verify that the checksum matches the value listed on the download page.

Page 44 of 74

About Character Set Selection During Installation

Before you create the database, decide the character set that you want to use.

After a database is created, changing its character set is usually very expensive in terms of time and resources. Such operations may require converting all character data by exporting the whole database and importing it back. Therefore, it is important that you carefully select the database character set at installation time.

Oracle AI Database uses character sets for the following:

  • Data stored in SQL character data types ( CHAR, VARCHAR2, CLOB, and LONG ).
  • Identifiers such as table names, column names, and PL/SQL variables.
  • Stored SQL and PL/SQL source code, including text literals embedded in this code.

The default database character set of a database created from the General Purpose/Transaction Processing or the Data Warehousing template is Unicode AL32UTF8.

Unicode is the universal character set that supports most of the currently spoken languages of the world. It also supports many historical scripts (alphabets). Unicode is the native encoding of many technologies, including Java, XML, XHTML, ECMAScript, and LDAP. Unicode is ideally suited for databases supporting the Internet and the global economy.

Because AL32UTF8 is a multibyte character set, it requires slightly more CPU time for text processing compared to single-byte character sets. Also, storage space requirements are higher for text in most languages compared to corresponding legacy character sets. However, the universality and flexibility of Unicode that enables addition of data in new languages to applications running in an AL32UTF8 database generally outweighs these additional costs.

The database character set of an Oracle AI Database, that is, of its CDB$ROOT container, determines which pluggable databases (PDBs) can be plugged into it. If you use Unicode AL32UTF8 as your database character set, then you can plug in a PDB in any database character set supported by Oracle AI Database (with the exception of EBCDIC-based character sets). If you use any character set other than AL32UTF8 when creating the container database, you will be able to plug in PDBs in the same character set only. Therefore, you should generally use the default option for the database character set when installing a new database.

If you need to deploy PDBs in a given legacy character set to fulfill a specific compatibility, storage, or performance requirement, create a temporary container database in this legacy character set with one empty PDB. This PDB will have the same legacy database character set. Then, unplug this PDB and plug it into the target AL32UTF8 container database. Drop the temporary container database. You can use such a plugged-in PDB as a template to clone further PDBs in the same legacy character set as needed. You can use the same method to add further legacy character set template PDBs to the same AL32UTF8 container database, as required.

See also

Oracle AI Database Globalization Support Guide for more information about choosing a database character set for an Oracle AI Database.

Page 45 of 74

Running the Installer in a Different Language

Describes how to run the installer in other languages.

Your operating system locale determines the language in which the database installer runs. You can run the installer in one of these languages:

  • Brazilian Portuguese (pt_BR)
  • French (fr)
  • German (de)
  • Italian (it)
  • Japanese (ja)
  • Korean (ko)
  • Simplified Chinese (zh_CN)
  • Spanish (es)
  • Traditional Chinese (zh_TW)

To run the database installer in a supported language, change the locale in which your operating system session is running before you start the installer.

If the selected language is not one of the supported languages, then the installer runs in English.

Page 46 of 74

Installing the Oracle Database Client Software

This section explains how to run the Setup Wizard to perform most database client installations.

Note:

For this Oracle Database Client 26ai release, only the Instant Client installation is available, and the full client installation is not yet available.

The Oracle Database Client software is also available as an image file for download and installation. Oracle Database client installation binaries continue to be available in the traditional format as non-image zip files.

Starting with Oracle Database Client 26ai, the Setup Wizard no longer provides the option to install Oracle Instant Client.

You can download Oracle AI Database software from the Oracle website or the Oracle Software Delivery Cloud portal. In most cases, you use the graphical user interface (GUI) provided by the installer to install the software. However, you can also run silent mode installations without using the GUI.

Note:

You cannot use the installer from an earlier Oracle release to install components from this release.

Running Setup Wizard to Install Oracle Database Client

Use the runInstaller command to start the Oracle Database Client installation.

Have all the information you need to provide regarding users, groups, and storage paths before you start the installation.

During installation, you are asked to run configuration scripts as the root user. You can either run these scripts manually as root when prompted, or you can provide configuration information and passwords using a root privilege delegation option such as sudo.

  1. Log in as the Oracle installation owner user account (oracle).
  2. From the directory where you downloaded the installation binaries, run the runInstaller command to start the Oracle Setup Wizard.

    For example:

    $ cd /home/oracle_sw/
    $ ./runInstaller

    Note:

    • Run the runInstaller command from the Oracle home directory only. Do not use the runInstaller command that resides at $ORACLE_HOME/oui/bin/, or any other location, to install Oracle AI Database, Oracle Database Client, or Oracle Grid Infrastructure.
    • The Oracle home or Oracle base cannot be symlinks, nor can any of their parent directories, all the way up to the root directory.
  3. Select your installation type.

    Installation screens vary depending on the installation option you select. Respond to the configuration prompts as needed.

    Note:

    At any time during installation, if you have a question about what you are being asked to do, click Help.

Installing Oracle Database Client Using an Image File

Extract the Oracle Database Client image files and use the runInstaller command to start the Oracle Database Client installation.

Starting with 19c, the Oracle Database Client software is also available as an image file for download and installation.

Have all the information you need to provide regarding storage paths before you start the installation. Oracle recommends that you have your My Oracle Support credentials available during installation. During installation, you are asked to run configuration scripts as the root user. You must run these scripts manually as root when prompted.

  1. Log in as the Oracle installation owner user account (oracle).
  2. Download the Oracle Database Client installation image file (client_home.zip) to a directory of your choice. For example, you can download the image file to the /tmp directory.
  3. Create the Oracle home directory and extract the image file that you downloaded into this Oracle home directory. For example:

    $ mkdir -p /u01/app/oracle/product/23.0.0/client_1
    $ chgrp oinstall /u01/app/oracle/product/23.0.0/client_1
    $ cd /u01/app/oracle/product/23.0.0/client_1
    $ unzip -q /tmp/client_home.zip

    Note:

    • Oracle recommends that the Oracle home directory path you create complies with the Oracle Optimal Flexible Architecture recommendations. Also, unzip the installation image file only in the Oracle home directory that you created.
    • The Oracle home or Oracle base cannot be symlinks, nor can any of their parent directories, all the way up to the root directory.
  4. From the Oracle home directory, run the runInstaller command to start the Oracle Database Client Setup Wizard.

    $ cd /u01/app/oracle/product/23.0.0/client_1
    $ ./runInstaller

    Note:

    Run the runInstaller command from the Oracle home directory only. Do not use the runInstaller command that resides at $ORACLE_HOME/oui/bin/, or any other location, to install Oracle AI Database, Oracle Database Client, or Oracle Grid Infrastructure.

  5. The Setup Wizard starts an Administrator-type installation of Oracle Database Client.

    Installation screens vary depending on the installation option you select. Respond to the configuration prompts as needed.

    Note:

    At any time during installation, if you have a question about what you are being asked to do, click Help.

Page 47 of 74

Installing Oracle Connection Manager Using an Image File

Starting with Oracle Database Client 26ai Release Update 23.7, Oracle Connection Manager is available as an image file for installation and configuration.

You must extract the image software (client_cman_home.zip) into the directory where you want your Oracle Database Client home to be located, and then run the Setup Wizard to start the Oracle Connection Manager installation and configuration.

Have all the information you need to provide regarding storage paths before you start the installation. During installation, you are asked to run configuration scripts as the root user. You must run these scripts manually as root when prompted.

  1. Log in as the Oracle installation owner user account (oracle).
  2. Download the Oracle Database Client installation image files (client_cman_home.zip) to a directory of your choice. For example, you can download the image files to the /tmp directory.
  3. Create the Oracle home directory and extract the image files that you have downloaded in to this Oracle home directory. For example:

    mkdir -p /u01/app/oracle/product/23.0.0/client_1
    chgrp oinstall /u01/app/oracle/product/23.0.0/client_1
    cd /u01/app/oracle/product/23.0.0/client_1
    unzip -q /tmp/client_cman_home.zip

    Note:

    • Oracle recommends that the Oracle home directory path you create is in compliance with the Oracle Optimal Flexible Architecture recommendations. Also, unzip the installation image files only in this Oracle home directory that you created.
    • Oracle home or Oracle base cannot be symlinks, nor can any of their parent directories, all the way to up to the root directory.
  4. From the Oracle home directory, run the runInstaller command to start the Oracle Database Client Setup Wizard.

    $ cd /u01/app/oracle/product/23.0.0/client_1
    $ ./runInstaller

    Note:

    Run the runInstaller command from the Oracle home directory only. Do not use the runInstaller command that resides at $ORACLE_HOME/oui/bin/, or any other location, to install Oracle AI Database, Oracle Database Client, or Oracle Grid Infrastructure.

  5. The setup wizard starts the Oracle Connection Manager type installation of Oracle Database Client.

    Respond to the configuration prompts as needed to provide information such as the Oracle base and Oracle inventory.

    Note:

    At any time during installation, if you have a question about what you are being asked to do, click Help.

Moving an Existing Oracle Connection Manager to the Latest Version

Learn how to move an existing Oracle Connection Manager (CMAN) 26ai version to the latest Oracle Connection Manager version.

  1. Install the latest version of Oracle Connection Manager 26ai using an image file in the new Oracle home. See Installing Oracle Connection Manager Using an Image File.
  2. Stop the existing cman service using the Oracle Connection Manager Control utility (cmctl). For example, for the 23.5 Oracle home, at the command line, enter cmctl with no arguments to obtain the CMCTL prompt, and then run the ADMINISTER and SHUTDOWN commands.

    ./cmctl
    CMCTL> ADMINISTER [cman_instance]
    CMCTL> SHUTDOWN
  3. Move the existing configuration file (cman.ora) to the new Oracle home.
  4. Start the cman services from the new Oracle home using the Oracle Connection Manager Control utility (cmctl). For example, from the 26.x Oracle home, at the command line, enter cmctl with no arguments to obtain the CMCTL prompt, and then run the ADMINISTER and STARTUP commands.

    ./cmctl
    CMCTL> ADMINISTER [cman_instance]
    CMCTL> STARTUP

Page 48 of 74

Using Oracle Net Configuration Assistant

Run Oracle Net Configuration Assistant in standalone mode after the Oracle Database Client installation is complete to configure the listener, naming methods, net service names, and directory server usage.

Oracle recommends that you have information ready about the host name of the computer where the Oracle AI Database is installed.

To start Oracle Net Configuration Assistant in standalone mode:

  1. Run netca from the $ORACLE_HOME/bin directory.
  2. Respond to the configuration prompts and screens as needed. The screens vary depending on the options you select. At any time during the configuration, if you have a question about what you are being asked to do, click Help.

Related Topics

Page 49 of 74

Relinking Oracle Database Client Binaries After Installation

After an Oracle Database Client installation, if required, you can modify the binaries using the relink as_installed option.

For example, you might want to relink the Oracle Database Client binaries every time you apply an operating system patch or after an operating system upgrade.

Caution:

Before relinking executables, you must shut down all executables that run in the Oracle home directory that you are relinking. In addition, shut down applications linked with Oracle shared libraries.

  1. Login as the Oracle Database Client owner user (oracle).
  2. Set the ORACLE_HOME environment variable

    $ ORACLE_HOME=/u01/app/oracle/product/23.0.0/client_1
  3. Go to the $ORACLE_HOME/bin directory:

    $ cd $ORACLE_HOME/bin
  4. Run the relink script with the as_installed option to relink the binaries.
    $ ./relink as_installed

    The relinking is complete and the log files are generated under the $ORACLE_HOME/install directory.

Page 50 of 74

Installing Oracle Instant Client

About Oracle Instant Client

Oracle Instant Client provides the libraries and client-side components required for applications and tools to connect to local or remote Oracle AI Database systems without installing a full Oracle home. It supports Linux x86-64 and Arm platforms, OCI, OCCI, ODBC, JDBC OCI, and language APIs, and is distributed as ZIP files or RPMs. Packages include Basic, Basic Light, SDK, SQL*Plus, Tools, ODBC, Precompilers, and JDBC-OCI supplements; utilities include genezi and adrci. It supports FIPS 140-2, standard client-server version interoperability, and simplified, space-efficient deployment, while the JDBC-OCI driver is deprecated in Oracle AI Database 26ai.

Read More: About Oracle Instant Client

Operating System Requirements for x86-64 Linux Platforms

Oracle Instant Client on Linux x86-64 requires supported kernels and current dependency packages for Oracle Linux 10, Oracle Linux 9, and Red Hat Enterprise Linux 10. Minimum supported versions include Oracle Linux 10 kernels 6.12.0-104.43.4.2.el10uek or 6.12.0-55.40.1.0.1.el10_0 with the Red Hat Compatible Kernel, Oracle Linux 9.6 with UEK 8 kernel 6.12.0-1.23.3.2.el9uek, and RHEL 10 kernel 6.12.0-55.40.1.0.1.el10_0. Required packages include core system libraries, development tools, networking, X11, security, and monitoring components; the oracle-ai-database-preinstall-26ai RPM can install them and perform system configuration.

Read More: Operating System Requirements for x86-64 Linux Platforms

Operating System Requirements for Linux for Arm (aarch64)

Oracle Instant Client on Linux Arm requires supported Oracle Linux distributions, kernels, and dependency packages. Oracle Linux 9 requires version 9.4 or later with UEK 7 kernel 5.15.0-307.178.5.el9uek, while Oracle Linux 8 requires version 8.6 or later with UEK 7 kernel 5.15.0-205.149.5.1.el8uek. Required packages include compilers, glibc, asynchronous I/O, networking, security, X11, and system utilities; the oracle-ai-database-preinstall-26ai RPM can install the dependencies and perform related system configuration. Oracle recommends using the latest available release levels.

Read More: Operating System Requirements for Linux for Arm (aarch64)>)

Verifying Oracle Instant Client Code Signing

Oracle Instant Client ZIP and RPM packages can be signature-verified before deployment. Use Java jarsigner with the verify option, optionally including verbose certificate details, to validate ZIP files. For RPMs, inspect package signatures and key fingerprints with rpm -qip, confirm package signatures with rpm --checksig --verbose, and ensure the expected GPG key is installed or imported when required. Successful verification reports valid signature and digest statuses, while NOKEY indicates that the signing key is not installed even though the signature can still be identified.

Read More: Verifying Oracle Instant Client Code Signing

Installing Oracle Instant Client Packages

Oracle Instant Client can be installed from ZIP files or RPM packages on Linux x86-64 and Arm platforms, with Basic or Basic Light required for every installation. ZIP installation involves extracting packages into one directory, installing libaio, configuring the dynamic linker or LD_LIBRARY_PATH, placing Oracle Net files in network/admin or an alternative TNS_ADMIN directory, and updating PATH for tools. RPM installation supports repository-based or manually downloaded packages through dnf; only one RPM version is normally installed at a time, earlier versions should be removed first, and versionlock can help prevent unintended upgrades. The full-client Setup Wizard no longer installs Instant Client beginning with Oracle Database 26ai.

Read More: Installing Oracle Instant Client Packages

Installing Oracle Instant Client Basic Light

Oracle Instant Client Basic Light is a smaller alternative to Basic that contains English client error messages, a limited set of common character sets, and monolingual collations. It supports specified single-byte, multibyte, and Unicode character sets but rejects unsupported client or database character sets and multilingual or Unicode NLS_SORT collations such as suffix _M and prefix UCA values. NLS_LANG language and territory settings remain broadly supported, although client-generated errors are always in English. Install it using the standard ZIP or RPM procedures with basiclite packages; other packages such as SQL*Plus require the Basic package.

Read More: Installing Oracle Instant Client Basic Light

Instant Client Libraries for OCI

The Basic and Basic Light packages provide the shared libraries required for OCI applications, including client code, OCI data, security, legacy algorithm, HSM or smartcard, and FIPS provider libraries. Basic uses libociei.so for OCI data, while Basic Light uses libociicus.so. All required libraries must remain in the same directory, and only one Oracle client library directory should be active in the operating system search path. Applications must not simultaneously expose an Oracle home library directory and an Instant Client directory; optional Oracle configuration files belong in network/admin or a directory specified by TNS_ADMIN. Instant Client supports client-side OCI operations but not server-side external procedures.

Read More: Instant Client Libraries for OCI

Environment Variables for Oracle Instant Client

Key environment variables control library loading, globalization, configuration-file discovery, time zone data, session time zones, and OCI error behavior. LD_LIBRARY_PATH can expose ZIP-installed libraries when ldconfig is not used, but should generally not be set for RPM installations; NLS_LANG controls client language, territory, and character set; TNS_ADMIN identifies nondefault Oracle Net configuration files; ORA_TZFILE selects an external time zone file; ORA_SDTZ sets the default session time zone; and ORA_SUPPRESS_ERROR_URL disables OCI error help URLs. ORACLE_HOME must not be set for Instant Client installations.

Read More: Environment Variables for Oracle Instant Client

Setting the Time Zone Environment Variable

ORA_TZFILE allows Oracle Instant Client to use a selected time zone file instead of the larger embedded default. Set it to a file name located in the Instant Client or oracore/zoneinfo directory, or to an absolute path elsewhere, and use genezi -v to inspect client time zone information. The client and database should use matching time zone file versions to avoid errors such as ORA-1805 when processing timestamp-with-time-zone data; the database version can be queried from V$TIMEZONE_FILE.

Read More: Setting the Time Zone Environment Variable

About the Oracle Instant Client SDK

The Oracle Instant Client SDK supplies development resources for OCI and OCCI applications on supported Oracle Linux x86-64 and Arm platforms, distributed as devel RPMs or SDK ZIP files. It includes C and C++ headers, build makefiles, demonstration programs, and the Object Type Translator and related classes. On Linux, demo.mk supports building examples, provided the Instant Client directory is available through the runtime library search path and LD_LIBRARY_PATH is configured as needed during linking.

Read More: About the Oracle Instant Client SDK

Patching Oracle Instant Client Shared Libraries

To patch Instant Client, apply the patch to a full Oracle Database Client Administrator installation with OPatch, regenerate the OCI data libraries and required ZIP or RPM packages, and deploy the generated artifacts to the target Instant Client directory. The regenerated files contain only components, language resources, character sets, and time zone data present in the source Oracle home. The libclntsh.so library retains patch information viewable with genezi -v. Regeneration requires suitable compiler, linker, and rpm-build tools, uses make targets for all or individual packages, and is unavailable on Microsoft Windows.

Read More: Patching Oracle Instant Client Shared Libraries

Page 51 of 74

About Oracle Instant Client

Learn how Oracle Instant Client enables applications to connect to a local or remote Oracle AI Database for development and production deployment.

You can install Oracle Instant Client by downloading either the zip files or RPMs from the Oracle Instant Client download page on the Oracle website.

Oracle Instant Client is available on Linux x86-64 and Linux for Arm (aarch64) platforms.

The Oracle Instant Client libraries provide the necessary network connectivity, as well as Oracle Database client-side files to create and run Oracle Call Interface (OCI), Oracle C++ Call Interface (OCCI), ODBC, and JDBC OCI applications to make full use of Oracle AI Database.

Oracle Instant Client is commonly used by the Oracle APIs of popular languages and environments including Python, Node.js, Go, Ruby, and PHP. Tools included in Oracle Instant Client, such as SQL_Plus, SQL_Loader, and Oracle Data Pump provide quick and convenient data access. Oracle Instant Client simplifies the deployment of applications by eliminating the need for an Oracle home on the client machines.

The Oracle JDBC Oracle Call Interface (OCI) Type 2 client driver (also known as a "thick" driver) is deprecated in Oracle AI Database 26ai.

Most Java applications that use Open Database Connectivity (ODBC) with Oracle JDBC drivers use the Thin driver. To enable Oracle to allocate resources to better address customer requirements, Oracle is deprecating the JDBC-OCI driver.

Oracle's standard client-server network interoperability allows connections between different versions of Oracle Instant Client and Oracle AI Database. For certified configurations, refer to My Oracle Support note 207303.1. Tools such as Data Pump may have other restrictions.

Oracle Instant Client supports the Federal Information Processing Standard (FIPS) for 140-2. For more information about configuring FIPS on Oracle Instant Client, see Oracle AI Database Security Guide.

Licensing information for Oracle Instant Client can be found in the downloaded packages or can be accessed from the license agreement window that appears before downloading these packages, where applicable.

Benefits of Oracle Instant Client

  • Easy installation by extracting and installing zip files or RPM packages.
  • Storage space requirement of applications running in Instant Client-mode is significantly reduced compared to the same application running in a full client-side installation.
  • No loss of functionality or performance for applications deployed using Oracle Instant Client.
  • Easy for independent software vendors to package applications.

Oracle Instant Client Packages

Various Oracle Instant Client packages are available that help you run applications.

Table: Oracle Instant Client Packages

Package NameDescription
BasicAll files required to run Oracle Call Interface (OCI), OCCI, and JDBC-OCI applications for Oracle AI Database
Basic LightSmaller version of the Basic package, with only English error messages and Unicode, ASCII, and Western European character set support.
SDKAdditional header files and an example makefile for developing OCI and OCCI applications.
SQL*PlusAdditional package providing the SQL*Plus command-line tool for executing SQL and PL/SQL statements and scripts.
ToolsAdditional tools including Data Pump, SQL*Loader and Workload Replay Client.
ODBCAdditional libraries providing ODBC.
PrecompilersAdditional tools and libraries providing the Pro_C and Pro_COBOL precompilers.
JDBC-OCI SupplementAdditional libraries to support Internationalization.

Oracle Instant Client Utilities

Oracle Instant Client and Oracle Instant Client Basic Light contain the following utilities:

  • genezi: You can retrieve information about your Oracle Instant Client installation using the genezi utility. This utility displays information such as the time zone files that are part of the Oracle Instant Client data shared library. The timezone information shows either the embedded timezone files, or those specified by the ORA_TZFILE environment variable, if it is set.

    Run the genezi -v command to determine the client library information.

  • adrci: Automatic Diagnostic Repository Command Interpreter ( adrci ) is a command-line tool that you can use to manage Oracle AI Database diagnostic data. adrci enables you to investigate problems, view health check reports, and package first-failure diagnostic data, all within a command-line environment.
  • uidrvci: Do not use the uidrvci file as it is used to access diagnostic data.

Page 52 of 74

Operating System Requirements for x86-64 Linux Platforms

The Linux distributions and packages listed in this section are supported for this release on x86-64.

Identify the requirements for your Linux distribution, and ensure that you have a supported kernel and required packages installed before starting installation.

The platform-specific hardware and software requirements included in this guide were current when this guide was published. However, because new platforms and operating system software versions may be certified after this guide is published, review the certification matrix on the My Oracle Support website for the most up-to-date list of certified hardware platforms and operating system versions:

https://support.oracle.com/

Supported Oracle Linux 10 Distributions on Linux for x86-64

Use this information to check supported Oracle Linux 10 distributions for Oracle Instant Client on x86-64.

Table: x86-64 Oracle Linux 10 Minimum Operating System Requirements for Oracle Instant Client

ItemRequirements
Oracle Linux 10

Starting with Oracle AI Database 26ai Release Update 23.26, the Linux x86-64 operating system is supported on Oracle Instant Client with the following minimum supported versions:

  • Oracle Linux 10: 6.12.0-104.43.4.2.el10uek.x86_64 or later
  • Oracle Linux 10 with the Red Hat Compatible Kernel: 6.12.0-55.40.1.0.1.el10_0.x86_64 or later

Note: Oracle recommends that you update Oracle Linux 10 to the latest available release level.

Packages for Oracle Linux 10

Install the latest released versions of the following packages:

Subscribe to the Oracle Linux 10 channel on the Unbreakable Linux Network, or configure a yum repository from the Oracle Linux yum server website, and then install the Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai. The Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai, automatically installs all required packages listed in the table below, their dependencies for Oracle Grid Infrastructure and Oracle AI Database installations, and also performs other system configuration. If you install the Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai, then you do not have to install these packages, as the Oracle AI Database Preinstallation RPM automatically installs them.

bc
binutils
compat-openssl11
elfutils-libelf
fontconfig
glibc
glibc-devel
ksh
libaio
libgcc
libibverbs
libstdc++
libvirt-libs
libxcb
libX11
libXau
libXi
libXrender
libXtst
libxcrypt-compat
make
policycoreutils
policycoreutils-python-utils
smartmontools
sysstat

Supported Oracle Linux 9 Distributions on Linux for x86-64

Use this information to check supported Oracle Linux 9 distributions for Oracle Instant Client on x86-64.

Table: x86-64 Oracle Linux 9 Minimum Operating System Requirements for Oracle Instant Client

ItemRequirements
Oracle Linux 9

Starting with Oracle AI Database 26ai Release Update 23.26.1, the Linux x86-64 operating system is supported on Oracle Instant Client with the following minimum supported version:

Oracle Linux 9.6 with the Unbreakable Enterprise Kernel 8: 6.12.0-1.23.3.2.el9uek.x86_64 or later

Note: Oracle recommends that you update Oracle Linux to the latest available version and release level.

Packages for Oracle Linux 9

Install the latest released versions of the following packages:

Subscribe to the Oracle Linux 9 channel on the Unbreakable Linux Network, or configure a yum repository from the Oracle Linux yum server website, and then install the Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai. The Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai, automatically installs all required packages listed in the table below, their dependencies for Oracle Grid Infrastructure and Oracle AI Database installations, and also performs other system configuration. If you install the Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai, then you do not have to install these packages, as the Oracle AI Database Preinstallation RPM automatically installs them.


bc
binutils
compat-openssl11
elfutils-libelf
fontconfig
glibc
glibc-devel
glibc-headers
ksh
libaio
libgcc
libibverbs
libnsl
libnsl2
libnsl2-devel
libstdc++
libvirt-libs
libX11
libXau
libXi
libXrender
libXtst
libxcb
libxcrypt-compat
make
policycoreutils
policycoreutils-python-utils
smartmontools
sysstat

Supported Red Hat Enterprise Linux 10 Distributions on Linux for x86-64

Use this information to check supported Red Hat Enterprise Linux 10 distributions for Oracle Instant Client on x86-64.

Table: x86-64 Red Hat Enterprise Linux 10 Minimum Operating System Requirements for Oracle Instant Client

ItemRequirements
Red Hat Enterprise Linux 10

Starting with Oracle AI Database 26ai Release Update 23.26, the Red Hat Enterprise Linux x86-64 operating system is supported on Oracle Instant Client with the following minimum supported version:

Red Hat Enterprise Linux 10: 6.12.0-55.40.1.0.1.el10_0.x86_64 or later

Packages for Red Hat Enterprise Linux 10

Install the latest released versions of the following packages:

bc
binutils
compat-openssl11
elfutils-libelf
fontconfig
glibc
glibc-devel
ksh
libaio
libgcc
libibverbs
libstdc++
libvirt-libs
libxcb
libX11
libXau
libXi
libXrender
libXtst
libxcrypt-compat
make
policycoreutils
policycoreutils-python-utils
smartmontools
sysstat

Page 53 of 74

Operating System Requirements for Linux for Arm (aarch64)

The Linux distribution and packages listed in this section are supported for this release on Linux for Arm (aarch64).

Identify the requirements for your Linux distribution, and ensure that you have a supported kernel and required packages installed before starting installation.

The platform-specific hardware and software requirements included in this guide were current when this guide was published. However, because new platforms and operating system software versions may be certified after this guide is published, review the certification matrix on the My Oracle Support website for the most up-to-date list of certified hardware platforms and operating system versions:

https://support.oracle.com/

Supported Oracle Linux 9 Distributions on Linux for Arm (aarch64)

Use this information to check supported Oracle Linux 9 distributions for Oracle Instant Client on Linux for Arm (aarch64).

Table: Linux for Arm (aarch64) Oracle Linux 9 Minimum Operating System Requirements for Oracle Instant Client

ItemRequirements
Oracle Linux 9

Starting with Oracle AI Database 26ai Release Update 23.9, the Linux for Arm (aarch64) operating system is supported on Oracle Instant Client with the following minimum supported version:

Oracle Linux 9.4 with Unbreakable Enterprise Kernel 7: 5.15.0-307.178.5.el9uek.aarch64

Note: Oracle recommends that you update Oracle Linux 9 to the latest available release level.

Packages for Oracle Linux 9

Install the latest released versions of the following packages:

Subscribe to the Oracle Linux 9 channel on the Unbreakable Linux Network, or configure a yum repository from the Oracle Linux yum server website, and then install the Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai. The Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai, automatically installs all required packages listed in the table below, their dependencies for Oracle Grid Infrastructure and Oracle AI Database installations, and also performs other system configuration. If you install the Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai, then you do not have to install these packages, as the Oracle AI Database Preinstallation RPM automatically installs them.

bc
binutils
elfutils-libelf
elfutils-libelf-devel
gcc
gcc-c++
glibc
glibc-devel
ksh
libaio
libaio-devel
libgfortran
libibverbs
libnsl
libnsl2
libxcb
libX11
libXau
libXi
libXrender
libXtst
make
policycoreutils
policycoreutils-python-utils
smartmontools
sysstat

Supported Oracle Linux 8 Distributions on Linux for Arm (aarch64)

Use this information to check supported Oracle Linux 8 distributions for Oracle Instant Client on Linux for Arm (aarch64).

Table: Linux for Arm (aarch64) Oracle Linux 8 Minimum Operating System Requirements for Oracle Instant Client

ItemRequirements
Oracle Linux 8

Starting with Oracle AI Database 26ai Release Update 23.7, the Linux for Arm (aarch64) operating system is supported on Oracle Instant Client with the following minimum supported version:

Oracle Linux 8.6 with Unbreakable Enterprise Kernel 7: 5.15.0-205.149.5.1.el8uek.aarch64

Note: Oracle recommends that you update Oracle Linux 8 to the latest available release level.

Packages for Oracle Linux 8

Install the latest released versions of the following packages:

Subscribe to the Oracle Linux 8 channel on the Unbreakable Linux Network, or configure a yum repository from the Oracle Linux yum server website, and then install the Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai. The Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai, automatically installs all required packages listed in the table below, their dependencies for Oracle Grid Infrastructure and Oracle AI Database installations, and also performs other system configuration. If you install the Oracle AI Database Preinstallation RPM, oracle-ai-database-preinstall-26ai, then you do not have to install these packages, as the Oracle AI Database Preinstallation RPM automatically installs them.

bc
binutils
elfutils-libelf
gcc
gcc-c++
glibc
glibc-devel
ksh
libaio
libaio-devel
libgcc
libgfortran
libibverbs
libnsl
libnsl2
libstdc++
libstdc++-devel
libxcb
libX11
libXau
libXi
libXrender
libXtst
make
policycoreutils
policycoreutils-python-utils
smartmontools
sysstat

Page 54 of 74

Verifying Oracle Instant Client Code Signing

Starting with Oracle Database Client 19c, you can verify the code sign for Oracle Instant Client zips and RPMs to ensure the integrity of the packages before you deploy them in your environments.

Verifying Signed Oracle Instant Client Zip Files

Use the Java utility jarsigner to verify the integrity of your Oracle Instant Client zip files.

To verify the integrity of the Oracle Instant Client installation zip files before you extract the installation files:

  1. Go to the directory where you have downloaded the zip file.
  2. Run the jarsigner command with the -verify option to quickly check your installation zip file:

    jarsigner -verify instant_client_zip_file

    For example, to check the Oracle Instant Client Basic package zip file for Linux x86-64:

    jarsigner -verify instantclient-basic-linux.x64-23.26.0.0.0.zip
    jar verified.
  3. If you want detailed certificate information, then use the -verify option along with the -verbose:summary and -certs options. For example:

    jarsigner -verify -verbose:summary -certs instantclient-basic-linux.x64-23.26.0.0.0.zip

For more jarsigner options, type jarsigner -h or review the jarsigner reference documentation.

Verifying Signed Oracle Instant Client RPM Packages

Use the rpm command to perform operations such as listing and verifying the signature fingerprint for Oracle Instant Client RPM packages for Oracle Linux.

Ensure that the RPM signature fingerprint matches the expected key fingerprint and also verify the RPM package has a signature. Before you start this process, perform the following tasks:

  1. List the installed keys on your system:

    rpm -qa gpg-pubkey

    The output of this command is similar to the following:

    gpg-pubkey-ad986da3-5cabf60d
    gpg-pubkey-16c083cd-49af3996
  2. Import the GPG keys (optional):

    rpm --import GPG-KEY

    Note:

    Depending on your verification purpose you can install any GPG keys in the RPM database on your system to verify the signed packages.

Scenario 1: To verify an RPM package that has a signature with the key not installed on the system by default
  1. Run the rpm -qip command to check the Oracle Instant Client Basic RPM package fingerprint. For example, for Oracle Linux 8 on Linux x86-64:

    rpm -qip oracle-instantclient-basic-23.26.0.0.0-1.el8.x86_64.rpm | grep Signature

    The output of this command is similar to the following:

    warning: oracle-instantclient-basic-23.26.0.0.0-1.el8.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 8d8b756f: NOKEY
    Signature: RSA/SHA256, Mon 09 Jan 2023 07:38:06 PM GMT, Key ID bc4d06a08d8b756f
  2. Run the rpm --checksig --verbose command to verify the package and print headers statuses and fingerprint details for the Oracle Instant Client Basic RPM package. For example, for Oracle Linux 8 on Linux x86-64:
    rpm --checksig --verbose oracle-instantclient-basic-23.26.0.0.0-1.el8.x86_64.rpm

    The output of this command is similar to the following:

    oracle-instantclient-basic-23.26.0.0.0-1.el8.x86_64.rpm: 
    Header V3 RSA/SHA256 Signature, key ID 8d8b756f: NOKEY

    This output verifies the Oracle Instant Client Basic RPM package signature by printing the key ID and returning NOKEY verification status as the GPG key with this ID is not present in the RPM key management system.

Scenario 2: To verify RPM package with both signature and key installed
  1. Run the rpm -qip command to check the Oracle Instant Client Basic RPM package fingerprint. For example, for Oracle Linux 8 on Linux x86-64:

    rpm -qip oracle-instantclient-basic-23.26.0.0.0-1.el8.x86_64.rpm | grep Signature

    The output of this command is similar to the following:

    Signature: RSA/SHA256, Fri 06 Jan 2023 11:11:04 PM GMT, Key ID 82562ea9ad986da3
  2. Run the rpm --checksig --verbose command to verify the package and print headers statuses and fingerprint details for Oracle Instant Client Basic RPM package. For example, for Oracle Linux 8 on Linux x86-64:
    rpm --checksig --verbose oracle-instantclient-basic-23.26.0.0.0-1.el8.x86_64.rpm

    The output of this command is similar to the following:

    oracle-instantclient-basic-23.26.0.0.0-1.el8.x86_64.rpm: 
    Header V3 RSA/SHA256 Signature, key ID ad986da3: OK
        Header SHA256 digest: OK
        Header SHA1 digest: OK
        Payload SHA256 digest: OK
        V3 RSA/SHA256 Signature, key ID ad986da3: OK
        MD5 digest: OK

    This output verifies the Oracle Instant Client Basic RPM package signature with the key and displays the fingerprint.

Related Topics

Page 55 of 74

Installing Oracle Instant Client Packages

Learn the different methods to install Oracle Instant Client on Linux x86-64 and Linux for Arm (aarch64) platforms.

Note:

Starting with Oracle Database Client 26ai, the Setup Wizard in the full client installation no longer provides the option to install Oracle Instant Client.

Installing Oracle Instant Client Using Zip Files

Learn how to download and use zip files to install Oracle Instant Client on Linux x86-64 and Linux for Arm (aarch64) platforms.

  1. Go to the Oracle Instant Client Downloads page:

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

  2. Download the desired Oracle Instant Client zip files. Select the correct platform, architecture, and packages of your choice. For example, if your application is 64-bit, then ensure that you select 64-bit Instant Client and download the Basic Package zip file.

    All installations require a Basic or Basic Light package. All other packages are optional.

  3. Unzip each zip file into a single directory such as /opt/oracle/instantclient_23_26 that is accessible to your application.

    For example, for Linux x86-64:

    $ cd /opt/oracle      
    $ unzip instantclient-basic-linux.x64-23.26.0.0.0.zip

    For example, for Linux for Arm (aarch64):

    $ cd /opt/oracle      
    $ unzip instantclient-basic-linux.arm64-23.26.0.0.0.zip

    All the packages unzip into /opt/oracle/instantclient_23_26.

    Note:

    • To prevent a second package unzip operation from failing because of an existing duplicate metadata file, you may need to use the -o option with the unzip command to overwrite files automatically without prompting.
    • The operating system may restrict runtime access to libraries unless they are located in a standard directory hierarchy such as /opt or /usr/local.
  4. Install the operating system libaio package. This is available as libaio1 on some Linux distributions. For example, on Oracle Linux 8, run:

    $ sudo dnf install libaio
  5. If Oracle Instant Client is the only Oracle software installed on your system, then update the runtime link path, for example:
    $ sudo sh -c "echo /opt/oracle/instantclient_23_26 > \
          /etc/ld.so.conf.d/oracle-instantclient.conf"
      $ sudo ldconfig

    Alternatively, set the LD_LIBRARY_PATH environment variable prior to running applications. For example:

    $ export LD_LIBRARY_PATH=/opt/oracle/instantclient_23_26:$LD_LIBRARY_PATH

    Optionally, add the variable to configuration files such as ~/.bash_profile and to application configuration files such as /etc/sysconfig/httpd.

  6. If you intend to colocate optional Oracle configuration files such as tnsnames.ora, sqlnet.ora, ldap.ora, or oraaccess.xml with Oracle Instant Client, then move these files to the network/admin subdirectory.

    This is the default Oracle configuration directory for applications linked with this Oracle Instant Client.

    Alternatively, you can move the Oracle configuration files to another, accessible directory. Then set the environment variable TNS_ADMIN to that directory name.

  7. To use binaries such as sqlplus from the SQL*Plus package, unzip the package to the same directory as the Basic package and then update your PATH environment variable. For example:

    $ export PATH=/opt/oracle/instantclient_23_26:$PATH
  8. Start your application.

Installing Oracle Instant Client Using RPMs

Learn how to install Oracle Instant Client on Linux x86-64 and Linux for Arm (aarch64) platforms by downloading the RPMs using the dnf install command.

Note:

Starting with 19c, by default, you can install only one version of the Oracle Instant Client RPM packages at a time. If you need multiple versions, use the Oracle Instant Client zip files.

Removing Earlier Oracle Instant Client Installations

Remove any earlier installations of Oracle Instant Client using either dnf or yum before you start a fresh installation.

  1. List the currently installed Oracle Instant Client packages. For example:

    For Oracle Linux 8 and later:

    $ sudo dnf list installed | grep instantclient

    The output will be like:

    oracle-instantclient19.5-basic.x86_64 19.5.0.0.0-1 @/oracle-instantclient19.5-basic-19.5.0.0.0-1.x86_64
  2. Remove the Oracle Instant Client packages. For example:

    For Oracle Linux 8 and later on Linux x86-64:

    $ sudo dnf remove oracle-instantclient19.5-basic.x86_64
  3. Remove the legacy Oracle Instant Client yum repository setup package. For example:

    For Oracle Linux 8:

    $ sudo dnf remove oracle-release-el8

    For Oracle Linux 9:

    $ sudo dnf remove oracle-release-el9
  4. A reboot is not required.
Installing Oracle Instant Client From the yum Server

If you are using Oracle Linux and have configured your Oracle Linux yum server, then you can install Oracle Instant Client using the dnf install command.

  1. Install the Oracle Linux release package to configure repository definitions for Oracle Instant Client:

    For Oracle Linux 8:

    $ sudo dnf install oracle-instantclient-release-26ai-el8

    For Oracle Linux 9:

    $ sudo dnf install oracle-instantclient-release-26ai-el9
  2. Go to the Oracle Instant Client repositories to view the available Oracle Instant Client packages:

    For Oracle Linux 8 on Linux x86-64:

    https://yum.oracle.com/repo/OracleLinux/OL8/oracle/instantclient23/x86_64/index.html

    For Oracle Linux 9 on Linux x86-64:

    https://yum.oracle.com/repo/OracleLinux/OL9/oracle/instantclient23/x86_64/index.html

    For Oracle Linux 10 on Linux x86-64:

    https://yum.oracle.com/repo/OracleLinux/OL10/oracle/instantclient23/x86_64/index.html

    For Oracle Linux 8 on Linux for Arm (aarch64):

    https://yum.oracle.com/repo/OracleLinux/OL8/oracle/instantclient23/aarch64/index.html

    For Oracle Linux 9 on Linux for Arm (aarch64):

    https://yum.oracle.com/repo/OracleLinux/OL9/oracle/instantclient23/aarch64/index.html

    All installations require a Basic or Basic Light package. All other packages are optional.

  3. Install Oracle Instant Client packages using dnf.

    For Oracle Linux 8 and later:

    $ sudo dnf install oracle-instantclient-basic
  4. To install other Oracle Instant Client packages like SQL*Plus, run:

    For Oracle Linux 8 and later:

    $ sudo dnf install oracle-instantclient-sqlplus
Using versionlock to Avoid Upgrades

To ensure that you do not inadvertently upgrade Oracle Instant Client when a new major release is published, use dnf versionlock after you have installed Oracle Instant Client 26ai.

$ sudo dnf install yum-plugin-versionlock

For Oracle Linux 8:

$ sudo dnf versionlock oracle-instantclient-release-26ai-el8

For Oracle Linux 9:

$ sudo dnf versionlock oracle-instantclient-release-26ai-el9

Note:

Configuring dnf versionlock still allows automatic Oracle Instant Client release updates.

Manually Downloading and Installing Oracle Instant Client RPM Packages

An alternative method for installing Oracle Instant Client is to manually download and install the Oracle Instant Client packages.

  1. Go to the Oracle Instant Client Downloads page:

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

  2. Download the desired Oracle Instant Client RPM packages. Select the correct platform, architecture, and packages of your choice. For example, if your application is 64-bit, then ensure that you select 64-bit Instant Client and download the Basic Package RPM file.

    All installations require a Basic or Basic Light package. All other packages are optional.

  3. Install the packages using dnf. For example:

    For Oracle Linux 8 on Linux x86-64:

    $ sudo dnf install oracle-instantclient-basic-23.26.0.0.0-1.el8.x86_64.rpm

    For Oracle Linux 9 on Linux x86-64:

    $ sudo dnf install oracle-instantclient-basic-23.26.0.0.0-1.el9.x86_64.rpm

    For Oracle Linux 10 on Linux x86-64:

    $ sudo dnf install oracle-instantclient-basic-23.26.0.0.0-1.el10.x86_64.rpm

    For Oracle Linux 8 on Linux for Arm (aarch64):

    $ sudo dnf install oracle-instantclient-basic-23.26.0.0.0-1.el8.aarch64.rpm

    For Oracle Linux 9 on Linux for Arm (aarch64):

    $ sudo dnf install oracle-instantclient-basic-23.26.0.0.0-1.el9.aarch64.rpm

Additionally, you may have to perform the following tasks before you start your application:

  • If you intend to colocate optional Oracle configuration files such as tnsnames.ora, sqlnet.ora, ldap.ora, or oraaccess.xml with Oracle Instant Client, then move these files to the /usr/lib/oracle/23/client64/lib/network/admin subdirectory.

    This is the default Oracle configuration directory for applications linked with this Oracle Instant Client.

    Alternatively, you can move the Oracle configuration files to another, accessible directory. Then set the environment variable TNS_ADMIN to that directory name.

  • To use binaries from the tools package, use yum or dnf to install the package and then update your PATH environment variable. For example:

    $ export PATH=/usr/lib/oracle/23/client64/bin:$PATH

Page 56 of 74

Installing Oracle Instant Client Basic Light

Learn how to install Oracle Instant Client Basic Light on Linux x86-64 and Linux for Arm (aarch64) platforms.

About Oracle Instant Client Basic Light

The size of the Instant Client Basic Light library is smaller than Oracle Instant Client. This is because Instant Client Basic Light contains only English language error message files, only 37 most common character set definitions out of around 250, and only monolingual collations.

The Instant Client Basic Light version is geared toward applications that do not use legacy, rare character sets. There is no restriction on the language and the territory fields of the NLS_LANG setting, hence, Instant Client Basic Light operates with any language and territory settings supported by Oracle AI Database. However, the value of the NLS_SORT setting cannot be a multilingual or Unicode collation, that is, a collation with the suffix _M or prefix UCA in its name. Collations BIG5, GBK, and HKSCS are not supported either.

Only English error messages are provided with Instant Client Basic Light, hence, error messages generated by the client, such as Net connection errors, are always reported in English, even if you set NLS_LANG to a language other than AMERICAN. Error messages generated by the database server, such as SQL statement syntax errors, are generated in the selected language.

Globalization Settings for Oracle Instant Client Basic Light

Oracle Instant Client Basic Light supports the following client character sets.

Single-byte
  • US7ASCII
  • WE8DEC
  • WE8ISO8859P1
  • EE8ISO8859P2
  • NEE8ISO8859P4
  • CL8ISO8859P5
  • AR8ISO8859P6
  • EL8ISO8859P7
  • IW8ISO8859P8
  • WE8ISO8859P9
  • NE8ISO8859P10
  • TH8TISASCII
  • VN8MSWIN1258
  • WE8ISO8859P15
  • BLT8ISO8859P13
  • EE8MSWIN1250
  • CL8MSWIN1251
  • EL8MSWIN1253
  • IW8MSWIN1255
  • TR8MSWIN1254
  • WE8MSWIN1252
  • BLT8MSWIN1257
  • AR8MSWIN1256
Multibyte
  • JA16EUC
  • JA16SJIS
  • JA16EUCTILDE
  • JA16SJISTILDE
  • KO16MSWIN949
  • ZHS16GBK
  • ZHT32EUC
  • ZHT16MSWIN950
  • ZHT16HKSCS
Unicode
  • UTF8
  • AL32UTF8
  • AL16UTF16 (only as NCHAR character set)

The preceding character sets, except AL16UTF16, can be specified in the NLS_LANG setting and can be the character set of a database to which the Instant Client Basic Light connects. The following character sets can also be the character set of a database to which the Instant Client Basic Light connects:

  • WE8EBCDIC37C
  • WE8EBCDIC1047

Oracle Instant Client Basic Light returns an error if any other character set is used as the client or database character set. Oracle Instant Client Basic Light can also operate with the OCI Environment handles created in the OCI_UTF16 mode.

Installing Oracle Instant Client Basic Light Packages

Learn how to install Oracle Instant Client Basic Light by downloading zip files or RPM files, or by using the package repository.

Installing Oracle Instant Client Basic Light Using Zip Files

To download and use zip files to install Oracle Instant Client Basic Light, follow the instructions in Installing Oracle Instant Client Using Zip Files. However, unzip the basiclite zip file instead of the basic zip file.

Installing Oracle Instant Client Basic Light Using RPMs

To remove earlier installations and install Oracle Instant Client Basic Light using RPMs, follow the instructions in Installing Oracle Instant Client Using RPMs. However, use the basiclite packages instead of basic.

Note:

To install other packages like SQL*Plus, install the Oracle Instant Client Basic package.

Page 57 of 74

Instant Client Libraries for OCI

Learn about the Oracle Database client-side files used by Oracle Call Interface (OCI) applications.

Table: Instant Client Basic Package Shared Libraries for OCI

File NameDescription

libclntsh.so.23.1

libclntshcore.so.23.1

Client code libraries
libociei.soOCI Instant Client Data Shared Library
libnnz.soSecurity library
legacy.soSecurity Provider library for legacy algorithms support
pkcs11.soSecurity Provider library for HSM and Smartcard support
fips.soSecurity Provider library for FIPS certified algorithms support

Table: Instant Client Basic Light Package Shared Libraries for OCI

File NameDescription

libclntsh.so.23.1

libclntshcore.so.23.1

Client code libraries
libociicus.soOCI Instant Client Data Shared Library
libnnz.soSecurity Library
legacy.soSecurity Provider library for legacy algorithms support
pkcs11.soSecurity Provider library for HSM and Smartcard support
fips.soSecurity Provider library for FIPS certified algorithms support

Guidelines for Basic and Basic Light Packages

  • The libraries must reside in the same directory in order to use Oracle Instant Client.
  • Other libraries and utilities are available when you install Oracle Instant Client, but are not needed for OCI runtime use. For example, you can delete files such as ojdbc8.jar .
  • In general, all OCI functionality is available to applications run using Oracle Instant Client, except that the Instant Client is for client-side operations only. Therefore, server-side external procedures cannot use Oracle Instant Client libraries.
  • OCI applications, by default, look for the OCI Data Shared Library, libociei.so in the runtime library search path, for example, in $LD_LIBRARY_PATH to determine if the application should operate in the Instant Client mode. If the OCI Data Shared Library is not found, then OCI tries to load the Oracle Instant Client Basic Light Data Shared Library libociicus.so .

Guidelines for Running OCI Applications

  • If you have multiple directories containing Oracle Client libraries, then only one such directory should be in the operating system library search path.
  • If Oracle Instant Client is the only Oracle software installed on your system, then update the runtime link path using ldconfig. For example:
    $ sudo sh -c "echo /opt/oracle/instantclient_23_26 > \
    	/etc/ld.so.conf.d/oracle-instantclient.conf"
    $ sudo ldconfig

    Alternatively, to run OCI applications using Oracle Instant Client, set the operating system library search path, for example LD_LIBRARY_PATH, to the directory with the Oracle Instant Client libraries.

  • If an Oracle Database installation or full Oracle Database Client installation exists on the same system, then you should not have $ORACLE_HOME/lib and the Oracle Instant Client directory on the operating system library search path simultaneously regardless of the order in which they appear in the operating system library search path. Either the $ORACLE_HOME/lib directory (for non-Instant Client operations) or Oracle Instant Client directory (for Oracle Instant Client operations) should be in the operating system library search path variable, but not both.
  • If you intend to colocate optional Oracle configuration files such as tnsnames.ora, sqlnet.ora, ldap.ora, or oraaccess.xml with Oracle Instant Client, then move these files to the network/admin subdirectory.

Page 58 of 74

Environment Variables for Oracle Instant Client

Learn about some common Oracle environment variables that can influence Oracle Instant Client installations.

Table: Common Environment Variables for Oracle Instant Client

Environment VariableDescriptionFor More Information
LD_LIBRARY_PATH

Used on Linux and some UNIX platforms. Set this to include the Oracle Instant Client libraries. For example, /opt/oracle/instantclient_23_26. Not needed if the libraries are located by an alternative method, such as from running ldconfig. On other platforms you will need to set the OS specific equivalent, such as LIBPATH or SHLIB_PATH.

Note: You should not set this environment variable if you have installed the Instant Client RPMs, or if the libraries are located by an alternative method, such as by running ldconfig.

Oracle AI Database Administrator's Reference for Linux and UNIX-Based Operating Systems
NLS_LANG

If necessary, set the NLS_LANG environment variable. The NLS_LANG environment variable sets the language and territory used by the client application and the database server. It also sets the client's character set, which is the character set for data entered or displayed by a client program.

If not set, a default value will be chosen by Oracle Instant Client.

Oracle AI Database Globalization Support Guide
TNS_ADMIN

The location of the optional Oracle Net configuration files and Oracle Instant Client configuration files, including tnsnames.ora, sqlnet.ora, and oraaccess.xml, if they are not in the default location.

If TNS_ADMIN is not set, then the instantclient_23_26/network/admin subdirectory should contain your Oracle Net Services configuration files.

Oracle AI Database Net Services Administrator's Guide
ORA_TZFILE

Oracle Instant Client can use the ORA_TZFILE environment variable to read the time zone file from the file system when this environment variable is set.

To learn more about setting ORA_TZFILE to the time zone file name, see Setting the Time Zone Environment Variable

Oracle AI Database Globalization Support Guide
ORA_SDTZSpecifies the default session time zone.Oracle AI Database Globalization Support Guide
ORA_SUPPRESS_ERROR_URLSetting this environment variable to TRUE disables the error help URL generation in applications that call the OCIErrorGet() function.Oracle Call Interface Developer's Guide

Note:

Do not set the ORACLE_HOME environment variable for Oracle Instant Client installations.

Page 59 of 74

Setting the Time Zone Environment Variable

You can set the ORA_TZFILE environment variable to read the time zone file from the file system.

If ORA_TZFILE is not set, then Oracle Instant Client uses the larger, default timezlrg_n.dat file from the shared libraries (n denotes the time zone data file version number). If you want Oracle Instant Client to use the smaller timezone_n.dat file, then set the ORA_TZFILE environment variable to the name of the file without any absolute or relative path names.

For example:

$ export ORA_TZFILE=timezone_n.dat

where n is the time zone data file version number.

Run the genezi -v command to determine the client library time zone information.

To use an external time zone file, create an oracore/zoneinfo subdirectory under the Oracle Instant Client directory, and move the time zone file into this oracore/zoneinfo subdirectory. Now, set ORA_TZFILE to the time zone file name, without any absolute or relative path names.

Alternatively, you can place the external time zone file in any directory, and then set the ORA_TZFILE environment variable to the absolute path of the large or small time zone file you wish to use.

For example:

$ export ORA_TZFILE=/opt/oracle/config/timezone_n.dat

Oracle recommends that you use the same time zone file version in Oracle Instant Client as used in Oracle AI Database. Not using the same version returns an error such as ORA-1805 when querying TIMESTAMP WITH TIMEZONE columns.

To find the database time zone version, run the following command in SQL*Plus:

SELECT VERSION FROM V$TIMEZONE_FILE

To find the Instant Client time zone version, run the following command:

genezi -v

You can get new time zone files by copying them from a database installation or by contacting Oracle Support.

Related Topics

Page 60 of 74

About the Oracle Instant Client SDK

Learn about the Software Development Kit (SDK) development tools for Oracle Instant Client.

The SDK is a set of development tools that you can use to create applications for Oracle Instant Client. The SDK is available for download as an RPM or a zip file for Oracle Linux x86-64 and Arm platforms. Here are some examples of these RPM and zip files:

For Linux x86-64 (Oracle Linux 8)

  • RPM: oracle-instantclient-devel-23.26.0.0.0-1.el8.x86_64.rpm
  • Zip file: instantclient-sdk-linux.x64-23.26.0.0.0.zip

For Linux x86-64 (Oracle Linux 9)

  • RPM: oracle-instantclient-devel-23.26.0.0.0-1.el9.x86_64.rpm
  • Zip file: instantclient-sdk-linux.x64-23.26.0.0.0.zip

For Linux x86-64 (Oracle Linux 10)

  • RPM: oracle-instantclient-devel-23.26.0.0.0-1.el10.x86_64.rpm
  • Zip file: instantclient-sdk-linux.x64-23.26.0.0.0.zip

For Linux for Arm (aarch64) (Oracle Linux 8)

  • RPM:

    oracle-instantclient-devel-23.26.0.0.0-1.el8.aarch64.rpm

  • Zip file:

    instantclient-sdk-linux.arm64-23.26.0.0.0.zip

For Linux for Arm (aarch64) (Oracle Linux 9)

  • RPM: oracle-instantclient-devel-23.26.0.0.0-1.el9.aarch64.rpm
  • Zip file: instantclient-sdk-linux.arm64-23.26.0.0.0.zip

The SDK contains the following:

  • Both C and C++ header files and a makefile for developing OCI and OCCI applications while in an Oracle Instant Client environment. Developed applications can be deployed in any client environment.
  • Both C and C++ demonstration programs.
  • The Object Type Translator (OTT) utility and its classes to generate application header files.
  • On Linux, the demo.mk makefile is included to build demos. For example, the instantclient_23_26 directory must be in the runtime library search path, and set LD_LIBRARY_PATH before linking the application.

Page 61 of 74

Patching Oracle Instant Client Shared Libraries

Learn how to patch Oracle Instant Client shared libraries with a complete Oracle Database Client installation.

You must rebuild your Oracle Instant Client packages and libraries as part of the patching process.

Patching Oracle Instant Client

Perform the following steps to patch Oracle Instant Client.

  1. Complete a full Oracle Database Client Administration installation based on Oracle home for patching.
  2. Apply the patch to your full Oracle Database Client Administration installation using the OPatch utility.
  3. Regenerate the data shared libraries, zip files, and RPM files.

    See the sections Regenerating Data Shared Libraries and Regenerating Zip Files and RPM Files for instructions.

  4. Copy the data shared libraries, zip files, and RPM files to the target system and unzip them to the Oracle Instant Client directory.

The OPatch utility stores the patching information of the ORACLE_HOME installation in libclntsh.so. You can retrieve this patching information using the genezi -v command.

If the Oracle Instant Client deployment system does not have the genezi utility, copy it from the $ORACLE_HOME/bin directory.

Related Topics

About Rebuilding Oracle Instant Client Packages and Libraries

Separate makefile targets are used to create the data shared libraries, zip files, and RPM files either individually or all together.

Regenerating the data shared libraries requires both a compiler and a linker, which may not be available on all installations.

The regenerated Oracle Instant Client binaries contain only the Oracle Instant Client files installed in the Oracle Client Administrator Home from which you regenerate the libraries and files. Hence, error messages, character set encodings, and time zone files that are available in the regeneration environment are the only ones that are packaged in the data shared libraries. Error messages, character set encodings, and time zone files depend on which national languages were selected for the installation of the Oracle Client Administrator Home.

Note:

Regeneration of data shared libraries, zip files, and RPM files is not available on Microsoft Windows.

Regenerating Data Shared Libraries

Learn how to regenerate the Oracle Instant Client data shared libraries libociei.so and libociicus.so.

You can regenerate the Oracle Call Interface (OCI) Oracle Instant Client data shared libraries libociei.so and libociicus.so using the following commands in an Administrator install of a full Oracle Database Client:

  1. Set ORACLE_HOME to the software install directory. For example:

    $ export ORACLE_HOME=/home/user/product/23.0.0/client_1/
  2. Set LD_LIBRARY_PATH to the library directory. For example:

    $ export LD_LIBRARY_PATH=$ORACLE_HOME/lib
  3. Create the following directory:

    $ mkdir -p $ORACLE_HOME/rdbms/install/instantclient/light
  4. Under Oracle home directory, go to the /rdbms/lib directory.

    $ cd $ORACLE_HOME/rdbms/lib
  5. To regenerate both libociei.so and libociicus.so:

    $ make -f ins_rdbms.mk igenliboci

Regenerating Zip Files and RPM Files

Learn how to regenerate the zip files and RPM files for the various Oracle Instant Client packages.

Before you regenerate the zip files and RPM files, install the rpm-build package.

For Oracle Linux 8 and later:

$ sudo dnf install rpm-build

Table: Commands to Regenerate the Zip Files and RPM Files

Package NameCommands
All Packages
$ cd $ORACLE_HOME/rdbms/lib$ make -f ins_rdbms.mk ic_all_zip
Basic
$ cd $ORACLE_HOME/rdbms/lib$ make -f ins_rdbms.mk ic_basic_zip
Basic Light
$ cd $ORACLE_HOME/rdbms/lib$ make -f ins_rdbms.mk ic_basiclite_zip
JDBC
$ cd $ORACLE_HOME/rdbms/lib$ make -f ins_rdbms.mk ic_jdbc_zip
ODBC
$ cd $ORACLE_HOME/rdbms/lib$ make -f ins_rdbms.mk ic_odbc_zip
SQL*Plus
$ cd $ORACLE_HOME/rdbms/lib$ make -f ins_rdbms.mk ic_sqlplus_zip
Tools
$ cd $ORACLE_HOME/rdbms/lib$ make -f ins_rdbms.mk ic_tools_zip
SDK
$ cd $ORACLE_HOME/rdbms/lib$ make -f ins_rdbms.mk ic_sdk_zip
Precompilers
$ cd $ORACLE_HOME/rdbms/lib$ make -f ins_rdbms.mk ic_precomp_zip

The new zip files and RPM files are generated under the $ORACLE_HOME/rdbms/install/instantclient directory.

Page 62 of 74

Oracle Database Client Postinstallation Tasks

Complete configuration tasks after you install Oracle Database Client.

You are required to complete some configuration tasks after Oracle Database Client is installed. In addition, Oracle recommends that you complete additional tasks immediately after installation. You must also complete product-specific configuration tasks before you use those products.

Note:

This article describes basic configuration only. Refer to product-specific administration and tuning guides for more detailed configuration and tuning information.

Downloading Release Update Patches

After installation, obtain and install Oracle Release Updates (RUs) and Monthly Recommended Patches (MRPs) through My Oracle Support. Search for patches by name, number, bug, product, release, platform, or language; download the selected patch, extract it, and review its README for application instructions. Oracle no longer issues patch sets, and for Oracle AI Database 26ai recommends out-of-place RU patching with Gold images; OPatch and OPatchAuto remain available for in-place patching, while the Free release does not support RU patching.

Read More: Downloading Release Update Patches

Setting Language and Locale Preferences for Client Connections

Configure database client locale and character-set settings to match application preferences and the I/O device encoding, because an incorrect character set can cause data loss. OCI clients use NLS_LANG and related NLS settings, supplied through environment variables or, on Windows, Registry settings, with environment variables taking precedence; Windows installers may set a default NLS_LANG, while Linux and UNIX installers generally do not. Oracle JDBC does not use NLS_LANG, instead deriving language and territory from the Java VM locale and using Unicode for client character data. In three-tier systems, application-server configuration may determine these settings.
Read More: Setting Language and Locale Preferences for Client Connections

Page 63 of 74

Downloading Release Update Patches

Download and install Release Updates (RU) and Monthly Recommended Patches (MRPs) patches for your Oracle software after you complete your installation.

Oracle provides quarterly updates in the form of Release Updates (RU) and Monthly Recommended Patches (MRPs). Oracle no longer releases patch sets. For more information, see My Oracle Support Note 2285040.1.

Check the My Oracle Support website for required updates for your installation.

  1. Log in to the My Oracle Support website:

    https://support.oracle.com

  2. In the My Oracle Support Support for Oracle Hardware, Software, and Managed Cloud services section, click Sign-in or create your Oracle account.

    Note:

    If you are not a My Oracle Support registered user, then register.

  3. From the search bar, select Patches and Product Certification Matrix. The Patch Search window is displayed.
  4. To search for patches, in the Patch Search window, search by Patch Name or Number or Bug Number if you have it. Otherwise, search using the Product, Release, Platform, and Language criteria.
  5. Click Apply. The patch search results are displayed in the main window.
  6. Click the patch number in the Patch Name column to open the Patch details in a new window.
  7. Click Download to download the patch. Next, uncompress the Oracle patch updates that you downloaded from My Oracle Support.
  8. Click ReadMe.

    The README page is displayed. It contains information about the patch that you just downloaded, and how to apply the patch to your installation.

Note:

The use of OPatch and OPatchAuto for out-of-place patching continues to be deprecated.

For patching in Oracle AI Database 26ai, Oracle recommends that you use out-of-place patching using Gold images to apply quarterly release updates (RUs). This deprecation does not affect in-place patching. If you want to perform in-place patching, then OPatch and OPatchAuto continue to be available for this purpose. The Oracle AI Database 26ai Free release is not supported for patching with RUs.

Related Topics

Page 64 of 74

Setting Language and Locale Preferences for Client Connections

Configure client applications connecting to an Oracle AI Database according to your locale preferences and your I/O device character set.

You must configure client applications connecting to an Oracle AI Database according to your locale preferences and your I/O device character set. If your applications do not have their own specific methods to configure locale preferences, then the method you use to configure an Oracle AI Database client connection depends on the access API you use to connect to the database. Check your application documentation before you configure locale preferences for your applications.

For applications that connect to Oracle AI Databases using Oracle Call Interface (OCI), use NLS_LANG and other client settings with names that start with NLS_ to set the locale conventions and client character set for Oracle AI Database sessions. It is important that you set the character set part of the NLS_LANG value properly. The Oracle character set whose name you set in NLS_LANG must correspond to the character encoding used by your I/O devices. For Linux, it is the character encoding of the terminal or terminal emulator, and usually corresponds to what the locale command reports. For Microsoft Windows, it is either the ANSI Code Page (for GUI applications), such as WE8MSWIN1252, or the OEM Code Page (for Console mode applications), such as US8PC437. By doing this, the OCI API is notified about the character set of data that it receives from the application. OCI can then convert this data correctly to and from the database character set.

You can specify NLS_LANG and the other NLS settings as environment variables. On Microsoft Windows, you can also specify them as Registry settings. Environment variable values take precedence over Registry values.

Oracle Universal Installer sets a default value for the NLS_LANG setting in Registry when it creates a new Oracle home on Microsoft Windows. The NLS_LANG value is based on the language of the Windows user interface, which is the language of Windows menu items and dialog box labels. The installer does not set NLS_LANG on Linux and other UNIX system-based operating systems.

Caution:

Failure to set the client character set correctly can cause data loss.

Java applications that connect to Oracle AI Databases by using Oracle JDBC do not use NLS_LANG. Instead, Oracle JDBC maps the default locale of the Java VM in which the application runs to the Oracle AI Database language and territory settings. Oracle JDBC then configures the connected database session using these settings. Because Java works internally in Unicode, the client character set is always set to Unicode. Unless an application explicitly changes it, the default locale of the Java VM is set based on the locale of the user operating system on which the Java VM runs. Check your Java VM documentation for information about configuring the Java VM default locale.

Note:

In 3-tier architecture deployments, application servers that are database clients can have settings in their configuration files that specify the NLS_LANG value or the Java VM locale. Check the documentation accompanying these servers.

See also

Oracle AI Database Globalization Support Guide for more information about configuring user locale preferences

Page 65 of 74

Removing Oracle AI Database Software

About Oracle Deinstallation Options

The deinstall utility, located in each Oracle home’s $ORACLE_HOME/deinstall directory, removes supported Oracle software and its configuration, including Oracle AI Database, Grid Infrastructure, RAC, and Database Client; individual products or components cannot be removed separately. It can generate or use response files, requires the same release as the software being removed, and may require complete configuration details when the installation is not running. Grid Infrastructure removal requires preparatory cleanup, including dismounting ACFS, disabling ADVM, and addressing GNS DNS entries, followed by root scripts such as rootcrs.sh or roothas.sh. When no other homes remain in the central inventory, it may delete Oracle base contents such as administrative, diagnostic, recovery, and database directories, including user data and files outside the Oracle base, so Oracle-managed locations should be reserved exclusively for Oracle software.

Read More: About Oracle Deinstallation Options

Oracle deinstall Command

The deinstall command stops Oracle software and removes software and configuration for a specified Oracle home. Its options support interactive or silent execution, configuration inspection without removal through -checkonly, response-file selection and parameter overrides, custom response, temporary, and log directories, and help output. In multinode environments, -local removes software only from the local node while deconfiguring remote nodes; Grid Infrastructure-specific options can deconfigure local or remote homes without deleting them.

Read More: Oracle deinstall Command

Deinstallation Examples for Oracle Database Client

Run deinstall from the Oracle home’s $ORACLE_HOME/deinstall directory to remove an Oracle Database Client without specifying the home path. Use -checkonly to generate a response file, which the tool stores in a temporary directory and reports in its output, then pass that file’s complete path with -paramfile to perform the deinstallation using the captured configuration.
Read More: Deinstallation Examples for Oracle Database Client

Page 66 of 74

About Oracle Deinstallation Options

Use the deinstall command that is included in Oracle homes to remove Oracle software. Oracle does not support the removal of individual products or components.

Caution:

If you have a single-instance database on a node in a cluster, and if you have multiple databases with the same global database name (GDN), then you cannot use the deinstall command to remove one database only.

You can stop and remove Oracle AI Database software and components in an Oracle AI Database home with the deinstall command.

You can remove the following software using deinstall :

  • Oracle AI Database
  • Oracle Grid Infrastructure, which includes Oracle Clusterware and Oracle Automatic Storage Management (Oracle ASM)
  • Oracle Real Application Clusters (Oracle RAC)
  • Oracle Database Client

The deinstall command is available in Oracle home directories after installation. It is located in the $ORACLE_HOME/deinstall directory.

deinstall creates a response file by using information in the Oracle home and using the information you provide. You can use a response file that you generated previously by running the deinstall command using the -checkonly option. You can also edit the response file template.

If you run deinstall to remove an Oracle Grid Infrastructure installation, then the deinstaller prompts you to run the deinstall command as the root user. For Oracle Grid Infrastructure for a cluster, the script is rootcrs.sh, and for Oracle Grid Infrastructure for a standalone server (Oracle Restart), the script is roothas.sh.

Note:

You must run the deinstall command from the same release to remove Oracle software. Do not run the deinstall command from a later release to remove Oracle software from an earlier release. For example, do not run the deinstall command from the 26ai Oracle home to remove Oracle software from an existing 19c Oracle home.

If the software in the Oracle home is not running (for example, after an unsuccessful installation), then deinstall cannot determine the configuration, and you must provide all the configuration details either interactively or in a response file.

In addition, before you run deinstall for Oracle Grid Infrastructure installations:

  • Dismount Oracle Advanced Cluster File System (Oracle ACFS) and disable Oracle Automatic Storage Management Dynamic Volume Manager (Oracle ADVM).
  • If Grid Naming Service (GNS) is in use, then notify your DNS administrator to delete the subdomain entry from the DNS.

Additional Files Deleted by deinstall

When you run deinstall, if the central inventory (oraInventory) contains no other registered homes besides the home that you are deconfiguring and removing, then deinstall removes the following files and directory contents in the Oracle base directory of the Oracle AI Database installation owner:

  • admin
  • cfgtoollogs
  • checkpoints
  • diag
  • oradata
  • fast_recovery_area

Oracle strongly recommends that you configure your installations using an Optimal Flexible Architecture (OFA) configuration, and that you reserve Oracle base and Oracle home paths for exclusive use of Oracle software. If you have any user data in these locations in the Oracle base that is owned by the user account that owns the Oracle software, then deinstall deletes this data.

Caution:

  • deinstall deletes Oracle AI Database configuration files, user data, and fast recovery area (FRA) files even if they are located outside of the Oracle base directory path.
  • Do not manually remove files and directories in these locations as deinstall and the installer manage these directories. Be careful before placing files in these locations.

Page 67 of 74

Oracle Deinstallation (Deinstall)

You can run the deinstall command from an Oracle home directory after installation.

Purpose

deinstall stops Oracle software, and removes Oracle software and configuration files on the operating system for a specific Oracle home.

Syntax

The deinstall command uses the following syntax:

(./deinstall [-silent] [-checkonly] [-paramfile complete path of input response file]
[-params name1=value name2=value . . .]
[-o complete path of directory for saving files]
[-tmpdir complete path of temporary directory to use]
[-logdir complete path of log directory to use] [-local] [-skipLocalHomeDeletion] [-skipRemoteHomeDeletion] [-help]

Parameters

ParameterDescription
-silent

Use this flag to run deinstall in noninteractive mode. This option requires one of the following:

  • A working system that it can access to determine the installation and configuration information. The -silent flag does not work with failed installations.
  • A response file that contains the configuration values for the Oracle home that is being deinstalled or deconfigured.

You can generate a response file to use or modify by running deinstall with the -checkonly flag. deinstall then discovers information from the Oracle home to deinstall and deconfigure. It generates the response file that you can then use with the -silent option.

You can also modify the template file deinstall.rsp.tmpl, located in the $ORACLE_HOME/deinstall/response directory.

-checkonlyUse this flag to check the status of the Oracle software home configuration. Running deinstall with the -checkonly flag does not remove the Oracle configuration. The -checkonly flag generates a response file that you can then use with the deinstall command and -silent option.
-paramfile complete path of input response file

Use this flag to run deinstall with a response file in a location other than the default. When you use this flag, provide the complete path where the response file is located.

The default location of the response file is $ORACLE_HOME/deinstall/response.

-params [ name1=value name2=value name3=value . . . ]Use this flag with a response file to override one or more values to change in a response file you have created.
-o complete path of directory for saving response files

Use this flag to provide a path other than the default location where the response file (deinstall.rsp.tmpl) is saved.

The default location of the response file is $ORACLE_HOME/deinstall/response .

-tmpdir complete path of temporary directory to useUse this flag to specify a non-default location where deinstall writes the temporary files for the deinstallation.
-logdir complete path of log directory to useUse this flag to specify a non-default location where deinstall writes the log files for the deinstallation.
-local

Use this flag on a multinode environment to deinstall Oracle software in a cluster.

When you run deinstall with this flag, it deconfigures and deinstalls the Oracle software on the local node (the node where deinstall is run). On remote nodes, it deconfigures Oracle software, but does not deinstall the Oracle software.

-skipLocalHomeDeletionUse this flag in Oracle Grid Infrastructure installations on a multinode environment to deconfigure a local Grid home without deleting the Grid home.
-skipRemoteHomeDeletionUse this flag in Oracle Grid Infrastructure installations on a multinode environment to deconfigure a remote Grid home without deleting the Grid home.
-helpUse this option to obtain additional information about the command option flags.

Page 68 of 74

Deinstallation Examples for Oracle Database Client

Use these examples to help you understand how to run the deinstall command.

You can run deinstall from the $ORACLE_HOME/deinstall directory. The deinstallation starts without prompting you for the Oracle home path.

$ ./deinstall

You can generate a deinstallation response file by running the deinstall command with the -checkonly flag.

./deinstall -silent --checkonly

The deinstall tool generates a response file in /tmp and displays the location. For example, /tmp/deinstall2024-08-01_01-40-28PM/response/deinstall_Ora26Client1.rsp

Use the optional flag -paramfile to run this response file:

$ cd /u01/app/oracle/product/23.0.0/client_1/deinstall
$ ./deinstall -paramfile /tmp/deinstall2024-08-01_01-40-28PM/response/deinstall_Ora26Client1.rsp

Page 69 of 74

Response Files

Reasons for Using Silent Mode or Response File Mode

Silent mode supports unattended, scheduled, repeatable, and non-GUI installations, displaying only progress in the initiating terminal. Response file mode supports similar installations across multiple systems while allowing default answers for some or all installer prompts.

Read More: Reasons for Using Silent Mode or Response File Mode

Using Response Files

Response files enable Oracle products to be installed and configured in silent or response file mode. After completing all prerequisites, prepare the response file, run the installer, execute required root scripts, and, for software-only installations, run Net Configuration Assistant and Oracle DBCA to configure the listener and database.

Read More: Using Response Files

Preparing Response Files

Oracle supplies product-specific response file templates in the Oracle home response directories, including templates for database installation, DBCA, NETCA, and Grid Infrastructure. Copy and edit the appropriate template, retain the .rsp suffix, follow its instructions precisely, and secure it with permission mode 600 because it may contain plain-text passwords. Response files can also be recorded from OUI’s interactive Summary page, but passwords are not saved; review and update recorded files before reuse on other systems.

Read More: Preparing Response Files

Running Oracle Universal Installer Using a Response File

Run runInstaller for Oracle AI Database or gridSetup.sh for Grid Infrastructure with the full path to the configured response file, optionally adding -silent; use -help to view available options. Complete prerequisites, log in as the software owner, set DISPLAY only for response file mode, and avoid relative response-file paths. During installation, run orainstRoot.sh as root when prompted for the first Oracle installation and run the Oracle home’s root.sh after installation completes.

Read More: Running Oracle Universal Installer Using a Response File

Running Configuration Assistants Using Response Files

Configuration assistants can run noninteractively using copied and edited response file templates. OUI uses supplied values for silent or partially automated installation, with silent mode suppressing screens and response file mode displaying unresolved prompts. DBCA uses dbca.rsp with -responseFile and requires DISPLAY, while NETCA uses netca.rsp with the -silent and -responsefile options; both require the correct Oracle home, complete and valid response files, and full file paths.
Read More: Running Configuration Assistants Using Response Files

Page 70 of 74

Reasons for Using Silent Mode or Response File Mode

Response files can assist you with installing an Oracle product multiple times on multiple computers.

When you start Oracle Universal Installer (OUI), you can use a response file to automate the installation and configuration of Oracle software, either fully or partially. OUI uses the values contained in the response file to provide answers to some or all installation prompts.

Typically, the installer runs in interactive mode, which means that it prompts you to provide information in graphical user interface (GUI) screens. When you use response files to provide this information, you run the installer from a command prompt using either of the following modes:

  • Silent mode

    If you include responses for all of the prompts in the response file and specify the -silent option when starting the installer, then it runs in silent mode. During a silent mode installation, the installer does not display any screens. Instead, it displays progress information in the terminal that you used to start it.

  • Response file mode

    If you include responses for some or all of the prompts in the response file and omit the -silent option, then the installer runs in response file mode. During a response file mode installation, the installer displays all the screens, screens for which you specify information in the response file, and also screens for which you did not specify the required information in the response file.

You define the settings for a silent or response file installation by entering values for the variables listed in the response file.

ModeUses
Silent

Use silent mode for the following installations:

  • Complete an unattended installation, which you schedule using operating system utilities such as at.
  • Complete several similar installations on multiple systems without user interaction.
  • Install the software on a system that does not have X Window System software installed on it.

The installer displays progress information on the terminal that you used to start it, but it does not display any of the installer screens.

Response fileUse response file mode to complete similar Oracle software installations on more than one system, providing default answers to some, but not all of the installer prompts.

Page 71 of 74

Using Response Files

Use response files to install and configure Oracle products using the installer in silent or response file mode.

Note:

You must complete all required preinstallation tasks on a system before running the installer in silent or response file mode.

  1. Prepare a response file.
  2. Run the installer in silent or response file mode.
  3. Run the root scripts as prompted by the installer.
  4. If you completed a software-only installation, then run Net Configuration Assistant and Oracle DBCA in silent or response file mode to create the database listener and Oracle AI Database respectively.

Page 72 of 74

Preparing Response Files

Review this information to prepare response files for use during silent mode or response file mode installations.

Editing a Response File Template

Oracle provides response file templates for each product and each configuration tool.

About Response File Templates

For Oracle AI Database, the response file templates are located in the $ORACLE_HOME/install/response directory. For Oracle Grid Infrastructure, the response file templates are located in the Grid_home/install/response directory. For Oracle Database Client, response files are located in the $ORACLE_HOME/response directory.

Note:

If you copied the software to a hard disk, then the response files are located in the $ORACLE_HOME/install/response directory.

All response file templates contain comment entries, sample formats, examples, and other useful instructions. Read the response file instructions to understand how to specify values for the response file variables, so that you can customize your installation.

The following table lists the response files provided with this software:

Table: Response Files for Oracle AI Database and Oracle Grid Infrastructure

Response FileDescription
db_install.rspSilent installation of Oracle AI Database.
dbca.rspSilent creation and configuration of Oracle AI Database using Oracle DBCA.
netca.rspSilent configuration of Oracle Net using Oracle NETCA.
gridsetup.rspSilent configuration of Oracle Grid Infrastructure installations.
client_install.rspSilent installation of Oracle Database Client

Caution:

When you modify a response file template and save a file for use, the response file may contain plain text passwords. Ownership of the response file should be given to the Oracle software installation owner only, and permissions on the response file should be changed to 600. Oracle strongly recommends that database administrators or other administrators delete or secure response files when they are not in use.

To copy and modify a response file:

  1. Copy the response file from the response file directory to a directory on your system:

    For example, for Oracle AI Database:

    $ cp $ORACLE_HOME/install/response/db_install.rsp local_directory
  2. Open the response file in a text editor:

    $ vi /local_directory/db_install.rsp
  3. Follow the instructions in the file to edit it.

    Note:

    The installer or configuration assistant fails if you do not correctly configure the response file. Also, ensure that your response file name has the .rsp suffix.

  4. Secure the response file by changing the permissions on the file to 600:

    $ chmod 600 /local_dir/db_install.rsp

    Ensure that only the Oracle software owner user can view or modify response files or consider deleting them after the installation succeeds.

    Note:

    A fully-specified response file for an Oracle AI Database installation contains the passwords for database administrative accounts and for a user who is a member of the OSDBA group (required for automated backups).

Recording Response Files

You can use OUI in interactive mode to record response files, which you can then edit and use to complete silent mode or response file mode installations.

Recording response files is useful for Advanced or software-only installations. You can save all the installation steps into a response file during installation by clicking Save Response File on the Summary page. You can use the generated response file for a silent installation later. When you record the response file, you can either complete the installation, or you can exit from the installer on the Summary page, before OUI starts to set up the software to the system.

If you use record mode during a response file mode installation, then the installer records the variable values that were specified in the original source response file into the new response file.

Note:

OUI does not save passwords while recording the response file.

  1. Complete preinstallation tasks as for a standard installation.

    When you run the installer to record a response file, it checks the system to verify that it meets the requirements to install the software. For this reason, Oracle recommends that you complete all of the required preinstallation tasks and record the response file while completing an installation.

  2. Ensure that the Oracle software owner user (typically oracle) has permissions to create or write to the Oracle home path that you specify when you run the installer.
  3. On each installation screen, specify the required information.
  4. When the installer displays the Summary screen, perform the following steps:

    1. Click Save Response File. In the window, specify a file name and location for the new response file. Click Save to write the responses you entered to the response file.
    2. Click Finish to continue with the installation. Click Cancel if you do not want to continue with the installation. The installation stops, but the recorded response file is retained.

      Note:

      Ensure that your response file name has the .rsp suffix.

  5. Before you use the saved response file on another system, edit the file and make any required changes. Use the instructions in the file as a guide when editing it.

Page 73 of 74

Running Oracle Universal Installer Using a Response File

After creating the response file, run Oracle Universal Installer at the command line, specifying the response file you created, to perform the installation.

Run Oracle Universal Installer at the command line, specifying the response file you created. The Oracle Universal Installer executables, runInstaller and gridSetup.sh, provide several options. For help information on the full set of these options, run the gridSetup.sh or runInstaller command with the -help option. For example:

  • For Oracle AI Database and Database Client:

    $ $ORACLE_HOME/runInstaller -help
  • For Oracle Grid Infrastructure:

    $ Grid_home/gridSetup.sh -help

The help information appears in a window after some time.

Perform the following steps to run the installer using a response file:

  1. Complete the preinstallation tasks for a normal installation.
  2. Log in as the software installation owner user.
  3. If you are completing a response file mode installation, then set the operating system DISPLAY environment variable for the user running the installation.

    Note:

    You do not have to set the DISPLAY environment variable if you are completing a silent mode installation.

  4. To start the installer in silent or response file mode, enter a command similar to the following:

    • For Oracle AI Database and Database Client:

      $ $ORACLE_HOME/runInstaller [-silent] -responseFile responsefilename
    • For Oracle Grid Infrastructure:

      $ Grid_home/gridSetup.sh [-silent] -responseFile responsefilename

    Note:

    Do not specify a relative path to the response file. If you specify a relative path, then the installer fails.

    In this example:

    • -silent runs the installer in silent mode.
    • responsefilename is the full path and file name of the installation response file that you configured.
  5. If this is the first time you are installing Oracle software on your system, then Oracle Universal Installer prompts you to run the orainstRoot.sh script. Log in as the root user and run the orainstRoot.sh script:

    $ su root
    password:
    # /u01/app/oraInventory/orainstRoot.sh

    Note:

    You do not have to manually create the oraInst.loc file. Running the orainstRoot.sh script is sufficient as it specifies the location of the Oracle Inventory directory.

  6. When the installation completes, log in as the root user and run the root.sh script. For example:

    $ su root
    password:
    # $ORACLE_HOME/root.sh

Page 74 of 74

Running Configuration Assistants Using Response Files

You can run configuration assistants in response file or silent mode to configure and start Oracle software after it is installed on the system. To run configuration assistants in response file or silent mode, you must copy and edit a response file template.

Note:

If you copied the software to a hard disk, then the response file template is located in the $ORACLE_HOME/install/response directory.

Modes for Oracle DBCA Noninteractive (Silent) Configuration

You run the Oracle DBCA installer from a command prompt using either silent mode or response file mode.

When you start Oracle Universal Installer (OUI), you can use a response file to automate the installation and configuration of Oracle software, either fully or partially. OUI uses the values contained in the response file to provide answers to some or all installation prompts.

Typically, the installer runs in interactive mode, which means that it prompts you to provide information in graphical user interface (GUI) screens. When you use response files to provide this information, you run the installer from a command prompt using either of the following modes:

  • Silent mode

    If you include responses for all of the prompts in the response file and specify the -silent option when starting the installer, then it runs in silent mode. During a silent mode installation, the installer does not display any screens. Instead, it displays progress information in the terminal that you used to start it.

  • Response file mode

    If you include responses for some or all of the prompts in the response file and omit the -silent option, then the installer runs in response file mode. During a response file mode installation, the installer displays all the screens, screens for which you specify information in the response file, and also screens for which you did not specify the required information in the response file.

You define the settings for a silent or response file installation by entering values for the variables listed in the response file. For example, to specify the Oracle home name, provide the Oracle home path for the ORACLE_HOME environment variable:

ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1

Running Oracle DBCA Using Response Files

You can run Oracle DBCA in response file mode to configure and start the database on the system.

To run Oracle DBCA in response file mode, you must copy and edit a response file template. Oracle provides a response file template named dbca.rsp in the ORACLE_HOME/assistants/dbca directory. To run Oracle DBCA in response file mode, you must use the -responseFile flag in combination with the -silent flag. You must also use a graphical display and set the DISPLAY environment variable.

To run Oracle DBCA in response file mode:

  1. Copy the dbca.rsp response file template from the response file directory to a directory on your system:

    $ cp $ORACLE_HOME/assistants/dbca/dbca.rsp /local_directory

    In this example, directory_path is the path of the directory where you have copied the installation binaries.

    As an alternative to editing the response file template, you can also create a database by specifying all required information as command line options when you run Oracle DBCA. For information about the list of options supported, enter the following command:

    $ $ORACLE_HOME/bin/dbca -help
  2. Open the response file in a text editor:

    $ vi /local_dir/dbca.rsp
  3. Follow the instructions in the file to edit the file.

    Note:

    Oracle DBCA fails if you do not correctly configure the response file.

  4. Log in as the Oracle software owner user, and set the ORACLE_HOME environment variable to specify the correct Oracle home directory.
  5. To run Oracle DBCA in response file mode, set the DISPLAY environment variable.
  6. Use the following command syntax to run Oracle DBCA in silent or response file mode using a response file:
    $ORACLE_HOME/bin/dbca [-silent] -createDatabase -responseFile /local_dir/dbca.rsp

    In this example:

    • -silent option indicates that Oracle DBCA runs in silent mode.
    • local_dir is the full path of the directory where you copied the dbca.rsp response file template.

    During configuration, Oracle DBCA displays a window that contains the status messages and a progress bar.

Running Net Configuration Assistant Using Response Files

You can run NETCA in silent mode to configure and start an Oracle Net Listener on the system, and configure naming methods and Oracle Net service names.

To run Oracle Net Configuration Assistant (NETCA) in silent mode, you must copy and edit a response file template. Oracle provides a response file template named netca.rsp in the $ORACLE_HOME/assistants/netca directory.

To run Net Configuration Assistant using a response file:

  1. Copy the netca.rsp response file template from the response file directory to a directory on your system:

    $ cp $ORACLE_HOME/assistants/netca/netca.rsp local_directory
  2. Open the response file in a text editor:

    $ vi /local_directory/netca.rsp
  3. Follow the instructions in the file to edit it.

    Note:

    Net Configuration Assistant fails if you do not correctly configure the response file.

  4. Log in as the Oracle software owner user, and set the ORACLE_HOME environment variable to specify the correct Oracle home directory.
  5. Enter a command similar to the following to run Net Configuration Assistant in silent mode:

    $ $ORACLE_HOME/bin/netca -silent -responsefile /local_directory/netca.rsp

    In this command:

    • The /silent option indicates to run Net Configuration Assistant in silent mode.
    • local_directory is the full path of the directory where you copied the netca.rsp response file template.