Setting Oracle AI Database Free Environment Variables

After you install and configure Oracle AI Database Free, set the environment before you use Oracle AI Database Free.

Use the oraenv and coraenv scripts to set your environment variables.

For example, to set your environment variables in Bourne, Bash, or Korn shell without being prompted by the script, log in as the Oracle user and run the following commands:

export ORACLE_SID=FREE
export ORACLE_HOME=/opt/oracle/product/26ai/dbhomeFree
export ORAENV_ASK=NO

. /opt/oracle/product/26ai/dbhomeFree/bin/oraenv

These commands display an output similar to the following:

The Oracle base has been set to /opt/oracle

For C shell:

setenv ORACLE_SID FREE
setenv ORACLE_HOME /opt/oracle/product/26ai/dbhomeFree
setenv ORACLEENV_ASK NO
source /opt/oracle/product/26ai/dbhomeFree/bin/coraenv