Hi All!
If you want to install Oracle 23ai Free to a specific ORACLE_HOME rather than using /opt on Linux, you can do it by following the next instructions.
- First, extract the cpio archive from the RPM package. I used 7-Zip for Windows.)))
- Next, extract the cpio archive: cpio -idv < ./oracle-database-free-23ai-1.0-1.x86_64.cpio
- After unpacking the cpio archive, you will have
./etc,./opt, and./usr. - In the folder
./opt/oracle/product/23ai/dbhomeFree, we can find what we are looking for—the Oracle 23ai Free distribution. - Copy or move the
dbhomeFreefolder to the desiredORACLE_HOME.
Installation: I recommend choosing Software Only, and then deploying the database later using DBCA.
During installation, you can select any edition, but it won’t make any difference.
There will also be around 18 errors related to library linking- skip them. For example:
Error in invoking target 'install' of makefile '/orcle/app/dbhome23ai/srvm/lib/ins_srvm.mk'.
Error in invoking target 'utilities' of makefile '/orcle/app/dbhome23ai/rdbms/lib/ins_rdbms.mk'.
Error in invoking target 'iokdstry iokinit' of makefile '/orcle/app/dbhome23ai/network/lib/ins_nau.mk'.
Error in invoking target 'install' of makefile '/orcle/app/dbhome23ai/network/lib/ins_net_server.mk'.
Error in invoking target 'itrcroute' of makefile '/orcle/app/dbhome23ai/network/lib/ins_net_client.mk'.
Error in invoking target 'irman' of makefile '/orcle/app/dbhome23ai/rdbms/lib/ins_rdbms.mk'.
Error in invoking target 'ioracle' of makefile '/orcle/app/dbhome23ai/rdbms/lib/ins_rdbms.mk'.
There will also be a warning that datapatch did not run.
Despite all the errors, the database works.