Skip to content

Commit f95d91e

Browse files
committed
Add example of --python. Update version in examples. Update changed blog title
1 parent 2b3de31 commit f95d91e

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

INSTALL.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,11 @@ client-server network compatibility applies, which enables connection
4646
to databases with different versions from the Oracle client library
4747
version.
4848

49-
Python 2.7 is needed for node-gyp. Gcc is needed on Linux. On OS X,
50-
install Xcode.
49+
Gcc is needed on Linux. On OS X, install Xcode. Python 2.7 is needed
50+
for node-gyp. If another version of Python occurs first in your
51+
binary path then, when you install node-oracledb, use the `--python`
52+
option to indicate the correct version. For example `npm install
53+
--python=/whereever/python-2.7/bin/python oracledb`.
5154

5255
### Which Instructions to Follow
5356

@@ -85,13 +88,13 @@ extract the file, for example into `/opt`:
8588

8689
```
8790
cd /opt
88-
tar -zxf node-v0.12.4-linux-x64.tar.gz
91+
tar -zxf node-v0.12.7-linux-x64.tar.gz
8992
```
9093

9194
Set PATH to include Node.js:
9295

9396
```
94-
export PATH=/opt/node-v0.12.4-linux-x64/bin:$PATH
97+
export PATH=/opt/node-v0.12.7-linux-x64/bin:$PATH
9598
```
9699

97100
### 2.2 Install the free Oracle Instant Client RPMs
@@ -169,13 +172,13 @@ extract the file, for example into `/opt`:
169172

170173
```
171174
cd /opt
172-
tar -zxf node-v0.12.4-linux-x64.tar.gz
175+
tar -zxf node-v0.12.7-linux-x64.tar.gz
173176
```
174177

175178
Set PATH to include Node.js:
176179

177180
```
178-
export PATH=/opt/node-v0.12.4-linux-x64/bin:$PATH
181+
export PATH=/opt/node-v0.12.7-linux-x64/bin:$PATH
179182
```
180183

181184
### 3.2 Install the free Oracle Instant Client ZIPs
@@ -285,13 +288,13 @@ extract the file, for example into `/opt`:
285288

286289
```
287290
cd /opt
288-
tar -zxf node-v0.12.4-linux-x64.tar.gz
291+
tar -zxf node-v0.12.7-linux-x64.tar.gz
289292
```
290293

291294
Set your PATH variable to include Node.js:
292295

293296
```
294-
export PATH=/opt/node-v0.12.4-linux-x64/bin:$PATH
297+
export PATH=/opt/node-v0.12.7-linux-x64/bin:$PATH
295298
```
296299

297300
### 4.2 Install the driver
@@ -452,7 +455,7 @@ node select1.js
452455

453456
To run a database on OS X, one option is to use VirtualBox,
454457
see
455-
[The Easiest Way to Enable Oracle Database Application Development on Mac OS X](https://blogs.oracle.com/opal/entry/the_easiest_way_to_enable).
458+
[The Easiest Way to Install Oracle Database on Mac OS X](https://blogs.oracle.com/opal/entry/the_easiest_way_to_enable).
456459

457460
## <a name="instwin"></a> 6. Node-oracledb Installation on Windows
458461

@@ -474,7 +477,7 @@ use a 32-bit stack during build and run time.
474477

475478
### 6.2 Install Node.js
476479

477-
Install the 64-bit Node.js MSI (e.g. node-v0.12.4-x64.msi) from
480+
Install the 64-bit Node.js MSI (e.g. node-v0.12.7-x64.msi) from
478481
[nodejs.org](http://nodejs.org/download/). Make sure the option to
479482
add the Node and npm directories to the path is selected.
480483

0 commit comments

Comments
 (0)