Skip to content

Commit c5b19c8

Browse files
committed
Show disabling EPEL, as needed on Oracle Cloud compute
1 parent c3542a5 commit c5b19c8

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

INSTALL.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -623,19 +623,23 @@ Node.js and node-oracledb Linux RPM packages are available on
623623
[Oracle Linux 6][50] and [Oracle Linux 7][51] channels. This means
624624
installation is simple, and can be automated.
625625

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:
627627

628628
```
629629
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
631632
```
632633

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+
633637
For Instant Client 19, the system library search path is automatically
634638
configured during installation.
635639

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:
639643

640644
```
641645
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)
650654
node myapp.js
651655
```
652656

657+
You may prefer to install node-oracledb as a normal npm package dependency.
658+
653659
See [Node.js for Oracle Linux][46] for details.
654660

655661
### <a name="instosx"></a> 3.3 Node-oracledb Installation on Apple macOS

0 commit comments

Comments
 (0)