Installing Notarized Oracle Instant Client Software DMG Files
Perform the following steps for installing or uninstalling Oracle Instant Client for Apple macOS (ARM64). All installations require a Basic or Basic Light package. All other packages are optional.
Download the desired Oracle Instant Client disk image (DMG) files for Apple macOS (ARM64) from the Oracle Instant Client Downloads page:
https://www.oracle.com/database/technologies/instant-client/downloads.html
Note: You can use the
staplerutility to check if the DMG files are notarized. For example:$ /usr/bin/xcrun stapler validate instantclient-basic-macos.arm64-23.26.3.0.0.dmgThe output is similar to the following:
Processing: instantclient-basic-macos.arm64-23.26.3.0.0.dmg The validate action worked!Mount all the desired DMG packages.
For example:
$ /usr/bin/hdiutil mount instantclient-basic-macos.arm64-23.26.3.0.0.dmgRun the following commands to copy the volume contents to the install location,
/Users/<user-name>/Downloads/instantclient_23_26.For example:
$ cd /Volumes/instantclient-basic-macos.arm64-23.26.3.0.0 $ sh ./install_ic.shNote:
Run
install_ic.shonly once, from anyinstantclient-*-macos.arm64-23.26.3.0.0directory.Eject the mounted Oracle Instant Client packages in Mac Finder.
Alternatively, use the
hdiutil unmountcommand in the terminal to eject the mounted Oracle Instant Client packages. For example:$ /usr/bin/hdiutil unmount /Volumes/instantclient-basic-macos.arm64-23.26.3.0.0If you install SQL*Plus or other tools, add the installation directory to your path.
For example:
$ export PATH=$PATH:/Users/<user-name>/Downloads/instantclient_23_26- If applications do not have access to your Downloads directory, you may move Instant Client.
Removing the Oracle Instant Client Software DMG Files
To remove the Oracle Instant Client software, delete the instant client directory. For example, /Users/<user-name>/Downloads/instantclient_23_26