# Setup

## Oracle Instant Client Setup

To set up the instant client to run the 4.0 with Oracle database as metadata or applications. Please download the instant client by using the below url and respective db version (we recommended to use 19 or 21 version, in future depends on the oracle db versions need to download the latest versions).

**For Linux:**  <https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html>

**For Mac:** <https://www.oracle.com/database/technologies/instant-client/macos-intel-x86-downloads.html>

Please unzip the folder and make new directory with new name for Oracle Instant client home path,

`mkdir oracle_instant_client`\
`cd oracle_instant_client`

And make new directory as lib folder with in the oracle\_instant\_client home folder.,

&#x20;`mkdir lib`&#x20;

And move the instant client files into the lib folder, If the soft links are not copied or pointing right folder, please remove the soft links and create new soft links within this lib folder.

**Note:** After unzipping we are expecting all the files will be in the lib folder, so please move the files and remove previous soft links and create it again within the lib folder.

**Example to create soft links:**

`ln -s libocci.so.21.1 libocci.so.20.1`&#x20;

`ln -s libocci.so.21.1 libocci.so.19.1`

**For Linux:** Open the .bash\_profile and add the following export lines,

`export ORACLE_HOME="Instant client home path"`&#x20;

`export LD_LIBRARY_PATH="Instant client lib path"`

&#x20;                                                     OR

You can add the export *"LD\_LIBRARY\_PATH=Instant client lib path"* in the start.sh file which is located cloudio 4.o server folder.

**Example:**

`export ORACLE_HOME=$HOME/softwares/oracle_instant_client`&#x20;

`export LD_LIBRARY_PATH=$HOME/softwares/oracle_instant_client/lib`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://next-docs.cloudio.io/oracle-instant-client/setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
