Packaging Oracle Instant Client¶
If your organization requires you to download and install the Oracle Instant Client as a package—from a secure private repository, for example—you (or an Administrator) can use the following instructions to build the package.
Create a
build.sh
file that looks like the following
Create a
meta.yaml
file that looks like the following:
Download the appropriate instantclient zip file into the same directory as the
build.sh
andmeta.yaml
files.Edit
meta.yaml
with the absolute path to instantclient zip file.If necessary, update the version in
metadata.yaml
.In a terminal, run the following:
The package will be created in the directory where Anaconda is installed.
For example, /Users/username/anaconda3/conda-bld/osx-64/instantclient-19.3.0.0.0.tar.bz2
.
To install the package, run:
To verify that the installation was successful, run: