@@ -751,9 +751,8 @@ available in :ref:`Thick mode <featuresummary>`, you need to install Oracle
751
751
Client libraries. Thick mode uses a binary add-on installed with node-oracledb
752
752
that loads these libraries. This binary is available for macOS Intel only.
753
753
754
- Download the **Basic ** 64-bit DMG from `Oracle Technology Network <https://www.
755
- oracle.com/database/technologies/instant-client/macos-intel-x86-downloads.
756
- html> `__.
754
+ You can get the libraries from either the Oracle Instant Client **Basic ** or
755
+ **Basic Light ** package. The steps below show installing **Basic **.
757
756
758
757
.. note ::
759
758
@@ -766,44 +765,89 @@ html>`__.
766
765
const oracledb = require (' oracledb' );
767
766
oracledb .initOracleClient ();
768
767
769
- Manual Installation
770
- +++++++++++++++++++
768
+ Instant Client Scripted Installation on macOS ARM64
769
+ +++++++++++++++++++++++++++++++++++++++++++++++++++
771
770
772
- 1. In Finder, double click on the DMG to mount it.
771
+ Instant Client installation can be scripted. Open a terminal window and run:
773
772
774
- 2. Open a terminal window and run the install script in the mounted
775
- package, for example::
773
+ .. code-block :: shell
776
774
777
- $ /Volumes/instantclient-basic-macos.x64-19.8.0.0.0dbru/install_ic.sh
775
+ cd $HOME /Downloads
776
+ curl -O https://download.oracle.com/otn_software/mac/instantclient/233023/instantclient-basic-macos.arm64-23.3.0.23.09.dmg
777
+ hdiutil mount instantclient-basic-macos.arm64-23.3.0.23.09.dmg
778
+ /Volumes/instantclient-basic-macos.arm64-23.3.0.23.09/install_ic.sh
779
+ hdiutil unmount /Volumes/instantclient-basic-macos.arm64-23.3.0.23.09
778
780
779
- This copies the contents to ``$HOME/Downloads/instantclient_19_8 ``.
780
- Applications may not have access to the ``Downloads `` directory, so you
781
- should move Instant Client somewhere convenient.
781
+ Note you should use the latest DMG available.
782
782
783
- 3. In Finder, eject the mounted Instant Client package.
783
+ If you have multiple Instant Client DMG packages mounted, you only need to run
784
+ ``install_ic.sh `` once. It will copy all mounted Instant Client DMG packages
785
+ at the same time.
784
786
785
- 4. Call :meth: `oracledb.initOracleClient() ` to enable Thick mode, see
787
+ The Instant Client directory will be like
788
+ ``$HOME/Downloads/instantclient_23_3 ``. Applications may not have access to
789
+ the ``Downloads `` directory, so you should move Instant Client somewhere
790
+ convenient.
791
+
792
+ Call :meth: `oracledb.initOracleClient() ` to enable Thick mode, see
793
+ :ref: `oracleclientloadingmacos `.
794
+
795
+ If you use the optional Oracle configuration files, see
796
+ :ref: `usingconfigfiles `.
797
+
798
+ Instant Client Manual Installation on macOS ARM64
799
+ +++++++++++++++++++++++++++++++++++++++++++++++++
800
+
801
+ 1. Download the latest Instant Client **Basic ** ARM64 package DMG from `Oracle
802
+ <https://www.oracle.com/database/technologies/instant-client/macos-arm64-
803
+ downloads.html> `__.
804
+
805
+ 2. Using Finder, double-click the DMG to mount it.
806
+
807
+ 3. Open a terminal window and run the install script in the mounted package,
808
+ for example if you downloaded version 23.3:
809
+
810
+ .. code-block :: shell
811
+
812
+ /Volumes/instantclient-basic-macos.arm64-23.3.0.23.09/install_ic.sh
813
+
814
+ The Instant Client directory will be like
815
+ ``$HOME/Downloads/instantclient_23_3 ``. Applications may not have access to
816
+ the ``Downloads `` directory, so you should move Instant Client somewhere
817
+ convenient.
818
+
819
+ 4. Using Finder, eject the mounted Instant Client package.
820
+
821
+ 5. Call :meth: `oracledb.initOracleClient() ` to enable Thick mode, see
786
822
:ref: `oracleclientloadingmacos `.
787
823
788
- 5 . If you use the optional Oracle configuration files, see
824
+ 6 . If you use the optional Oracle configuration files, see
789
825
:ref: `usingconfigfiles `.
790
826
791
- If you have multiple Instant Client DMG packages mounted, you only need
792
- to run ``install_ic.sh `` once. It will copy all mounted Instant Client
793
- DMG packages at the same time.
827
+ If you have multiple Instant Client DMG packages mounted, you only need to run
828
+ ``install_ic.sh `` once. It will copy all mounted Instant Client DMG packages
829
+ at the same time.
830
+
831
+ Instant Client Scripted Installation on macOS Intel x86-64
832
+ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
794
833
795
- Scripted Installation
796
- +++++++++++++++++++++
834
+ Instant Client installation can be scripted. Open a terminal window and run:
797
835
798
- Instant Client installation can alternatively be scripted, for example::
836
+ .. code-block :: shell
799
837
800
838
cd $HOME /Downloads
801
- curl -O https://download.oracle.com/otn_software/mac/instantclient/198000/instantclient-basic-macos.x64-19.8.0.0.0dbru.dmg
802
- hdiutil mount instantclient-basic-macos.x64-19.8.0.0.0dbru.dmg
803
- /Volumes/instantclient-basic-macos.x64-19.8.0.0.0dbru/install_ic.sh
804
- hdiutil unmount /Volumes/instantclient-basic-macos.x64-19.8.0.0.0dbru
839
+ curl -O https://download.oracle.com/otn_software/mac/instantclient/1916000/instantclient-basic-macos.x64-19.16.0.0.0dbru.dmg
840
+ hdiutil mount instantclient-basic-macos.x64-19.16.0.0.0dbru.dmg
841
+ /Volumes/instantclient-basic-macos.x64-19.16.0.0.0dbru/install_ic.sh
842
+ hdiutil unmount /Volumes/instantclient-basic-macos.x64-19.16.0.0.0dbru
843
+
844
+ Note you should use the latest DMG available.
805
845
806
- The Instant Client directory will be ``$HOME/Downloads/instantclient_19_8 ``.
846
+ If you have multiple Instant Client DMG packages mounted, you only need to run
847
+ ``install_ic.sh `` once. It will copy all mounted Instant Client DMG packages at
848
+ the same time.
849
+
850
+ The Instant Client directory will be ``$HOME/Downloads/instantclient_19_16 ``.
807
851
Applications may not have access to the ``Downloads `` directory, so you should
808
852
move Instant Client somewhere convenient.
809
853
@@ -813,6 +857,37 @@ Call :meth:`oracledb.initOracleClient()` to enable Thick mode, see
813
857
If you use the optional Oracle configuration files, see
814
858
:ref: `usingconfigfiles `.
815
859
860
+ Instant Client Manual Installation on macOS Intel x86-64
861
+ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
862
+
863
+ 1. Download the latest Instant Client **Basic ** Intel 64-bit package DMG from
864
+ `Oracle <https://www.oracle.com/database/technologies/instant-client/macos-
865
+ intel-x86-downloads.html> `__.
866
+
867
+ 2. Using Finder, double-click the DMG to mount it.
868
+
869
+ 3. Open a terminal window and run the install script in the mounted package, for example:
870
+
871
+ .. code-block :: shell
872
+
873
+ /Volumes/instantclient-basic-macos.x64-19.16.0.0.0dbru/install_ic.sh
874
+
875
+ The Instant Client directory will be ``$HOME/Downloads/instantclient_19_16 ``.
876
+ Applications may not have access to the ``Downloads `` directory, so you
877
+ should move Instant Client somewhere convenient.
878
+
879
+ 4. Using Finder, eject the mounted Instant Client package.
880
+
881
+ 5. Call :meth: `oracledb.initOracleClient() ` to enable Thick mode, see
882
+ :ref: `oracleclientloadingmacos `.
883
+
884
+ 6. If you use the optional Oracle configuration files, see
885
+ :ref: `usingconfigfiles `.
886
+
887
+ If you have multiple Instant Client DMG packages mounted, you only need to run
888
+ ``install_ic.sh `` once. It will copy all mounted Instant Client DMG packages at
889
+ the same time.
890
+
816
891
.. _windowsinstallation :
817
892
818
893
Installing Node.js and node-oracledb on Microsoft Windows
0 commit comments