The Oracle Database Client software is available on installation media or you can download it from the Oracle Technology Network website. In most cases, you use the graphical user interface (GUI) provided by Oracle Universal Installer to install the software. However, you can also use Oracle Universal Installer to complete silent-mode installations, without using the GUI.
See Also:
Appendix A for information about silent-mode installationsReview the following guidelines before starting Oracle Universal Installer:
Oracle Universal Installer
Do not use Oracle Universal Installer from an earlier Oracle release to install components from this release.
Reinstalling Oracle Software
If you reinstall Oracle software into an Oracle home directory where Oracle Database is installed, you must also reinstall any components, such as Oracle Partitioning, that were installed before you begin the reinstallation.
The Oracle Database Client software is available on installation media or you can download it from the Oracle Technology Network website, or the Oracle Software Delivery Cloud portal. To install the software from the hard disk, you must either download it and unpack it, or copy it from the installation media.
You can access and install Oracle Database Client by using one of the following methods:
To install the software from a installation media or from an existing hard disk location, refer to "Installing the Oracle Database Client Software"
To copy the software to a hard disk, refer to "Copying the Software to the Hard Disk"
To download the software from Oracle Technology Network, refer to "Downloading Oracle Software"
You can download the trial version of the installation files from the Oracle Technology Network (OTN) or the Oracle Software Delivery Cloud portal and extract them on your hard disk. Make sure that you completely review and understand the terms of the license. Most downloads include the development license. This section contains the following topics:
To download the installation archive files from Oracle Technology Network:
Use any browser to access the software download page from Oracle Technology Network:
http://www.oracle.com/technetwork/indexes/downloads/index.html
Navigate to the download page for the product to install.
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.
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.
On the file system that you selected in step 4, create a parent directory for each product, for example OraDB12c
, to hold the installation directories.
Download all of the installation archive files to the directory that you created in step 5.
Verify that the files you downloaded are the same size as the corresponding files on Oracle Technology Network. Also verify the checksums are the same as noted on Oracle Technology Network using a command similar to the following:
cksum filename.zip
Extract the files in each directory that you just created.
After you have extracted the required installation files, see "Installing the Oracle Database Client Software".
You can download the software from Oracle Software Delivery Cloud as Media Packs. A Media Pack is an electronic version of the software that is also available to Oracle customers on CD-ROM or DVD. To download the Media Pack:
Use any browser to access the Oracle Software Delivery Cloud portal:
https://edelivery.oracle.com/
Complete the Export Validation process by entering information (name, company, e-mail address, and country) in the online form.
In the Media Pack Search page, specify the Product Pack and Platform to identify the Media Pack you want to download. If you do not know the name of the Product Pack, you can search for it using the License List.
Optionally, select the relevant product to download from the Results list.
In the search results page, click Readme to download and review the Readme file for download instructions and product information.
After you review the Readme, choose the appropriate Media Pack from the search results to download the individual zip files. Follow the Download Notes instructions in this page. Once you download and extract the contents of the required zip files, proceed with the installation of the software.
Note:
Print the page with the list of downloadable files. It contains a list of part numbers and their corresponding descriptions that you may have to reference during the installation process.After you download the files, click View Digest to verify that the MD5 or SHA-1 checksum matches with what is listed in the media download page.
See Also:
My Oracle Support note 549617.1 for information on how to verify the integrity of a software download at:
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=549617.1
Frequently Asked Questions section on the Oracle Software Delivery Cloud portal for more information about Media Packs
To extract the installation archive files, perform the following steps:
If necessary, change to the directory that contains the downloaded installation archive files.
Oracle Database software is available as two archive files. Ensure that you extract both the archive files to the same directory.
If the downloaded file has the zip
extension, use the following command to extract the content:
unzip file_name.zip
If the downloaded file has the cpio.gz
extension, use the following command:
$ gunzip filename.cpio.gz
This command creates files with names similar to the following:
filename.cpio
To extract the installation files, enter a command similar to the following:
$ cpio -idcmv < filename.cpio
Note:
Refer to the download page for information about the correct options to use with thecpio
command.
Some browsers uncompress files while downloading them, but leave the .gz
file extension.
For each file, this command creates a subdirectory named Disk
n
, where n
is the disk number identified in the file name.
When you have extracted all of the required installation files, refer to "Installing the Oracle Database Client Software".
Before installing Oracle Database Client, Oracle recommends that you copy the software to the hard disk to enable the installation process to run a bit faster. Before copying the installation media content to the hard disk, you must mount the disk. The following sections describe how to mount the disk and copy its content to the hard disk:
On most Linux systems, the disk mounts automatically when you insert it into the disc drive. If the disk does not mount automatically, then follow these steps to mount it:
If necessary, log in as the root
user and enter a command similar to one of the following to eject the currently mounted disk, then remove it from the drive:
Oracle Linux and Red Hat Enterprise Linux:
# sudo eject /mnt/dvd
SUSE Linux Enterprise Server:
# eject /media/dvd
In these examples, /mnt/dvd
and /media/dvd
are the mount point directories for the installation media.
Insert the appropriate installation media into the disk drive.
To verify if the disk is mounted automatically, enter one of the following commands depending on the platform:
Oracle Linux and Red Hat Enterprise Linux:
# ls /mnt/dvd
SUSE Linux Enterprise Server:
# ls /media/dvd
Before running the following command, ensure that the /mnt/dvd
directory exists on Red Hat Enterprise Linux. If not, create the /mnt/dvd
as required, to mount the installation media.
If this command fails to display the contents of the installation media, enter a command similar to the following to mount it, depending on the platform:
Oracle Linux and Red Hat Enterprise Linux:
# mount -t iso9660 /dev/dvd /mnt/dvd
SUSE Linux Enterprise Server:
# mount -t iso9660 /dev/dvd /media/dvd
In these examples, /mnt/dvd
and /media/dvd
are the mount point directories for the installation media.
If Oracle Universal Installer is displaying the Disk Location dialog box, enter the disk mount point directory path, for example:
/mnt/dvd
To continue, go to one of the following sections:
If you want to copy software to a hard disk, refer to "Copying the Oracle Database Client Software to a Hard Disk".
If you want to install the software from the installation media, refer to "Installing the Oracle Database Client Software".
If the system does not have a installation media, you can copy the software from the installation media to a file system on another system, then either mount that file system using NFS, or use FTP to copy the files to the system where you want to install the software.
To copy the contents of the installation media to a hard disk:
Create a directory on the hard disk to hold the Oracle software:
$ mkdir OraCl12c
Change directory to the directory you created in Step 1:
$ cd OraCl12c
Mount the disk, if it is not mounted.
Some platforms automatically mount the disk when you insert it into the drive. If the disk does not mount automatically, refer to "Mounting Disks" for information about mounting it.
Copy the contents of the mounted disk to the corresponding new subdirectory as follows:
$ cp -R /directory_path OraCl12c
In this example, /
directory_path
is the disk mount point directory, for example /mnt/dvd
on Red Hat Enterprise Linux systems, or the path of the client directory on the installation media. The mount point directory is /dvd
.
If necessary, mount the next disk and repeat Step 4.
Use Oracle Universal Installer to install the Oracle Database Client software. The following sections describes how to install the Oracle software:
See Also:
"Installation Considerations" for information you should consider before deciding how to install the clientFor any type of installation process, start Oracle Universal Installer (OUI) and install the software, as follows:
Log on as the Oracle software owner user (typically, oracle
) to the computer on which to install Oracle components.
If you are installing the software from installation media, mount the disk if it is not mounted.
If the disk does not mount automatically, refer to "Mounting Disks" for information about mounting it.
Some platforms automatically mount the disk when you insert the installation media into the drive.
To start Oracle Universal Installer, complete one of the following steps depending on the location of the installation files:
Note:
Start Oracle Universal Installer from the terminal session where you logged in as theoracle
user and set the user's environment.See Also:
"Configuring Oracle Software Owner Environment" for information about setting theoracle
user's environmentIf the installation files are on disk, enter a command similar to the following, where directory_path
is the path of the client
directory on the installation media:
$ /directory_path/runInstaller
If the installation files are on the hard disk, change directory to the client
directory and enter the following command:
$ ./runInstaller
If Oracle Universal Installer is not displayed, refer to the "X Window Display Errors" for information about troubleshooting.
If you have an existing Oracle Database Client 12c Release 1 (12.1.0.1) or later installed on your system, the Select Installation Mode screen is displayed. Select New Install to install Oracle Database Client software in a new location, or select Upgrade and follow the instructions in "Performing an In-place Oracle Database Client Upgrade" to upgrade an earlier release of Oracle Database Client.
In the Select Installation Type screen, select the type of installation: Instant Client, Administrator, Runtime, or Custom and click Next.
The Select Product Languages screen enables you to select the language in which you want to run the product.
Select the product language from the Available Languages list, transfer it to the Selected Languages list. Click Next.
This screen is not displayed if you select Instant Client as the type of installation in Step 5.
In the Specify Installation Location screen, enter the following details:
Oracle Base: This path appears by default. You can change the path based on your requirement. The Oracle Base section is not displayed if you select Instant Client as the type of installation in Step 5.
In the Software Location section, accept the default value or enter the Oracle home directory path in which you want to install Oracle components. The directory path should not contain spaces. Click Next.
See Also:
"Identifying Required Software Directories" for information about Oracle base directory and Oracle home directoryIn the Create Inventory screen, you are prompted by the installer to specify the directory path for central inventory the first time you install Oracle Database on your computer.
Select the oraInventory Group Name of the operating system group that should own the Oracle Inventory directory (the Oracle Inventory group). Click Next.
Note: By default, the Oracle Inventory directory is not installed under the Oracle Base directory. This is because all Oracle software installations share a common Oracle Inventory, so there is only one Oracle Inventory for all users, whereas there is a separate Oracle Base for each user.
If you selected Custom as the type of installation in Step 5, then the Available Product Components screen is displayed. Select the products to install and click Next.
Note:
Starting with Oracle Database 11g Release 2 (11.2), you can install Oracle Connection Manager, Oracle Net Listener, and Oracle Scheduler Agent using the Custom install option.In Step 9, if you select Oracle Scheduler Agent as one of the components to install, then the Oracle Database Scheduler Agent screen is displayed with the default host name and default port number. Enter the Scheduler Agent Hostname, and the Scheduler Agent Port Number. Click Next.
The Perform Prerequisite Checks screen verifies if your computer meets the minimum system requirements to install the desired product. Click Next.
Note: Oracle recommends that you use caution in checking the Ignore All option. If you check this option, then Oracle Universal Installer may not confirm if your system can install Oracle Database successfully.
Review the information displayed in the Summary screen, and click Install.
Note:
You can save all the installation steps into a response file by clicking Save Response File in the Summary screen. Later, this file can be used for a silent installation.The Install Product screen displays the progress of the client installation. Oracle Universal Installer prompts you to execute the root configuration script only if you selected Oracle Net Listener or Oracle Scheduler Agent using the Custom install option. If prompted, execute the root.sh
script as the root
user.
If this is the first time you are installing Oracle software on your system, Oracle Universal Installer prompts you to run the orainstRoot.sh
script. Execute this script as the root
user.
Click OK.
If you are performing a Custom installation, and selected Oracle Net Listener from the list of components to install in Step 9, then go to "Using Oracle Net Configuration Assistant" for instructions.
In the Finish screen, click Close to exit Oracle Universal Installer.
During a Custom Oracle Database Client installation, if you select Oracle Net Listener from the list of components to install in Step 9, then Oracle Universal Installer automatically starts Oracle Net Configuration Assistant as part of the Oracle Database Client installation. Perform the following to configure the listener and naming methods using Oracle Net Configuration Assistant:
In the Welcome screen, click Next.
Note:
You can also select Perform typical configuration for default network configuration.In the Listener Configuration, Listener Name screen, enter a Listener name or accept the default value. Click Next.
In the Listener Configuration, Select Protocols screen, select one or more protocols from the Available Protocols list, and move it to the Selected Protocols list. Click Next.
In the Listener Configuration, TCP/IP Protocol screen, select the standard port number, or enter a different port number. Click Next.
Select No if you do not want to configure an additional listener, and click Next.
The listener configuration is now complete, click Next to proceed.
Note:
If you have more than one listener, then you can select and start a listener from the list provided in the Listener Configuration, Select Listener screen.In the Naming Methods Configuration screen, select Yes to configure naming methods. Click Next.
In the Naming Methods Configuration, Select Naming Methods screen, select the naming method you want from the list of Available Naming Methods and move it to the Selected Naming Methods list. Click Next.
Typically, Local Naming is sufficient.
In the Net Service Name Configuration, Service Name screen, enter Service Name, and click Next.
In the Net Service Name Configuration, Select Protocols screen, select the protocol for the database you want to access, and click Next.
In the Net Service Name Configuration, TCP/IP Protocol screen, enter the Host name of the computer where the Oracle database is installed. Use the standard port number, or specify a different port number, and click Next.
In the Net Service Name Configuration, Test screen, click Yes, perform a test to test the database connection. Click Next.
In the Net Service Name Configuration, Connecting screen, click Next.
In most cases, the test fails only because the default user name and password Oracle Universal Installer supplies in the dialog box do not match the user name and password for the target database. Click Change Login, reenter the user name and password, and click OK.
In the Net Service Name Configuration, Net Service Name screen, enter the Net Service Name, and click Next.
Answer the remaining prompts to complete the configuration.
In the Finish screen, click Close to exit Oracle Universal Installer.
You can also run Oracle Net Configuration Assistant after the installation in standalone mode to configure the listener, naming methods, net service names, and directory server usage.
To start Oracle Net Configuration Assistant in standalone mode run netca
from the ORACLE_HOME/bin
directory.
See Also:
"Using Oracle Net Configuration Assistant to Configure Network Components" in Oracle Database Net Services Administrator's GuideYou can perform an in-place upgrade of Oracle Database Client 12c Release 1 (12.1) using the following instructions:
Note:
You can perform an in-place Oracle Database Client upgrade only if you have an existing Oracle Database Client 12c Release 1 (12.1.0.1) or later client home installed on your system.Perform Steps 1 through 3 listed in "Running Oracle Universal Installer".
The Select Installation Mode screen is displayed only if you have an existing Oracle Database Client 12c Release 1 (12.1.0.1) or later installed on your system. Select Upgrade to upgrade the existing Oracle Database Client software to the latest version.
In the Specify Installation Location screen, accept the default Software Location value. If multiple client installations exist on your system, then select the client Oracle home directory path from which you want to upgrade to the latest version. Click Next.
The Select Product Languages screen enables you to select the language in which you want to run the product.
Select the product language from the Available Languages list, transfer it to the Selected Languages list. Click Next.
The Perform Prerequisite Checks screen verifies if your computer meets the minimum system requirements to install the desired product. Click Next.
Review the information displayed in the Summary screen, and click Install.
The Install Product screen displays the progress of the client upgrade. Oracle Universal Installer prompts you to execute the root configuration script only if the existing Oracle Database Client home was installed with Oracle Scheduler Agent. If prompted, execute the root.sh
script as the root
user to complete the installation, and click OK.
Review the information in the Finish screen and click Close to exit Oracle Universal Installer.