@@ -623,19 +623,23 @@ Node.js and node-oracledb Linux RPM packages are available on
623
623
[ Oracle Linux 6] [ 50 ] and [ Oracle Linux 7] [ 51 ] channels. This means
624
624
installation is simple, and can be automated.
625
625
626
- As an example, to install Node 10 on Oracle Linux 7, run these commands:
626
+ As an example, to install Node 12 on Oracle Linux 7, run these commands:
627
627
628
628
```
629
629
sudo yum install -y oracle-nodejs-release-el7 oracle-release-el7
630
- sudo yum install nodejs node-oracledb-node10
630
+ sudo yum-config-manager --disable ol7_developer_EPEL
631
+ sudo yum install nodejs node-oracledb-node12
631
632
```
632
633
634
+ On a vanilla Oracle Linux 7 installation the EPEL repository is not enabled so
635
+ you can omit the ` yum-config-manager ` command.
636
+
633
637
For Instant Client 19, the system library search path is automatically
634
638
configured during installation.
635
639
636
- For older versions, if there is no other Oracle software on the
637
- machine that will be impacted, then permanently add Instant Client to
638
- the run-time link path. For example, with sudo or as the root user:
640
+ For older Instant Client versions, if there is no other Oracle software on the
641
+ machine that will be impacted, then permanently add Instant Client to the
642
+ run-time link path. For example, with sudo or as the root user:
639
643
640
644
```
641
645
sudo sh -c "echo /usr/lib/oracle/18.3/client64/lib > /etc/ld.so.conf.d/oracle-instantclient.conf"
@@ -650,6 +654,8 @@ export NODE_PATH=$(npm root -g)
650
654
node myapp.js
651
655
```
652
656
657
+ You may prefer to install node-oracledb as a normal npm package dependency.
658
+
653
659
See [ Node.js for Oracle Linux] [ 46 ] for details.
654
660
655
661
### <a name =" instosx " ></a > 3.3 Node-oracledb Installation on Apple macOS
0 commit comments