1
- # Installing node-oracledb Version 5.0
1
+ # Installing node-oracledb Version 5.1-dev
2
2
3
3
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.*
4
4
@@ -96,8 +96,8 @@ guaranteed to be available or usable in your environment.
96
96
- Install a C Compiler such as Xcode, GCC, Visual Studio
97
97
2017, or similar.
98
98
99
- - Run ` npm install oracle/node-oracledb.git#v5.0 .0 ` , or add
100
- ` oracle/node-oracledb.git#v5.0 .0 ` to your ` package.json `
99
+ - Run ` npm install oracle/node-oracledb.git#v5.1 .0 ` , or add
100
+ ` oracle/node-oracledb.git#v5.1 .0 ` to your ` package.json `
101
101
dependencies. Substitute your desired [ GitHub tag] [ 40 ] .
102
102
103
103
- Add Oracle 19, 18, 12, or 11.2 client libraries to your operating
@@ -1097,19 +1097,19 @@ export CC=gcc
1097
1097
```
1098
1098
1099
1099
Locate the [ GitHub tag] [ 40 ] of the desired node-oracledb version, for
1100
- example ` v5.0 .0 ` , and use the ` npm ` package manager (which is
1100
+ example ` v5.1 .0 ` , and use the ` npm ` package manager (which is
1101
1101
included in Node.js) to install it.
1102
1102
1103
1103
If you have the ` git ` utility, you can install with:
1104
1104
1105
1105
```
1106
- npm install oracle/node-oracledb.git#v5.0 .0
1106
+ npm install oracle/node-oracledb.git#v5.1 .0
1107
1107
```
1108
1108
1109
1109
Otherwise install using:
1110
1110
1111
1111
```
1112
- npm install https://github.com/oracle/node-oracledb/releases/download/v5.0 .0/oracledb-src-5.0 .0.tgz
1112
+ npm install https://github.com/oracle/node-oracledb/releases/download/v5.1 .0/oracledb-src-5.1 .0.tgz
1113
1113
```
1114
1114
1115
1115
#### 3.5.4 Install the free Oracle Instant Client 'Basic' ZIP file
@@ -1217,19 +1217,19 @@ export MAKE=gmake
1217
1217
```
1218
1218
1219
1219
Locate the [ GitHub tag] [ 40 ] of the desired node-oracledb version, for
1220
- example ` v5.0 .0 ` , and use the ` npm ` package manager (which is
1220
+ example ` v5.1 .0 ` , and use the ` npm ` package manager (which is
1221
1221
included in Node.js) to install it.
1222
1222
1223
1223
If you have the ` git ` utility, you can install with:
1224
1224
1225
1225
```
1226
- npm install oracle/node-oracledb.git#v5.0 .0
1226
+ npm install oracle/node-oracledb.git#v5.1 .0
1227
1227
```
1228
1228
1229
1229
Otherwise install using:
1230
1230
1231
1231
```
1232
- npm install https://github.com/oracle/node-oracledb/releases/download/v5.0 .0/oracledb-src-5.0 .0.tgz
1232
+ npm install https://github.com/oracle/node-oracledb/releases/download/v5.1 .0/oracledb-src-5.1 .0.tgz
1233
1233
```
1234
1234
1235
1235
If this fails due to an invalid ` cp -a ` option, you can download the
@@ -1363,18 +1363,18 @@ code utility is required for this method.
1363
1363
1364
1364
Build node-oracledb from source code by changing the package specifier so that
1365
1365
` npm ` downloads from GitHub. For example, to install the code from the GitHub
1366
- tag ` v5.0 .0 ` , use a ` package.json ` dependency like:
1366
+ tag ` v5.1 .0 ` , use a ` package.json ` dependency like:
1367
1367
1368
1368
```
1369
1369
"dependencies": {
1370
- "oracledb": "oracle/node-oracledb#v5.0 .0"
1370
+ "oracledb": "oracle/node-oracledb#v5.1 .0"
1371
1371
},
1372
1372
```
1373
1373
1374
1374
Alternatively, use the command:
1375
1375
1376
1376
```
1377
- npm install oracle/node-oracledb#v5.0 .0
1377
+ npm install oracle/node-oracledb#v5.1 .0
1378
1378
```
1379
1379
1380
1380
To install the current code on the master branch, use
@@ -1389,15 +1389,15 @@ compilation begins.
1389
1389
Users without the ` git ` utility can compile pre-bundled source code:
1390
1390
1391
1391
```
1392
- npm install https://github.com/oracle/node-oracledb/releases/download/v5.0 .0/oracledb-src-5.0 .0.tgz
1392
+ npm install https://github.com/oracle/node-oracledb/releases/download/v5.1 .0/oracledb-src-5.1 .0.tgz
1393
1393
```
1394
1394
1395
1395
Due to the slow download of source code from GitHub, it may take some time
1396
1396
before compilation begins. You may prefer to download
1397
- ` oracledb-src-5.0 .0.tgz ` and install with:
1397
+ ` oracledb-src-5.1 .0.tgz ` and install with:
1398
1398
1399
1399
```
1400
- npm install your_dir_path/oracledb-src-5.0 .0.tgz
1400
+ npm install your_dir_path/oracledb-src-5.1 .0.tgz
1401
1401
```
1402
1402
1403
1403
#### <a name =" nogithubaccess " ></a > 3.7.5 Installing from Oracle's repository
@@ -1424,10 +1424,10 @@ within your company, or it can be used directly from the file system to install
1424
1424
node-oracledb.
1425
1425
1426
1426
- Download
1427
- [ ` oracledb-src-5.0 .0.tgz ` ] ( https://github.com/oracle/node-oracledb/releases/download/v5.0 .0/oracledb-src-5.0 .0.tgz )
1427
+ [ ` oracledb-src-5.1 .0.tgz ` ] ( https://github.com/oracle/node-oracledb/releases/download/v5.1 .0/oracledb-src-5.1 .0.tgz )
1428
1428
from GitHub.
1429
1429
1430
- - Extract the file: ` tar -xzf oracledb-src-5.0 .0.tgz `
1430
+ - Extract the file: ` tar -xzf oracledb-src-5.1 .0.tgz `
1431
1431
1432
1432
- Change directory: ` cd package `
1433
1433
@@ -1442,7 +1442,7 @@ from GitHub.
1442
1442
architectures.
1443
1443
1444
1444
- Run: ` npm run buildpackage `
1445
- The package ` oracledb-5.0 .0.tgz ` is created.
1445
+ The package ` oracledb-5.1 .0.tgz ` is created.
1446
1446
1447
1447
This package can be shared or self-hosted, see [ Hosting your own node-oracledb
1448
1448
Packages] ( #selfhost ) .
@@ -1451,12 +1451,12 @@ Packages](#selfhost).
1451
1451
1452
1452
On a machine with access, download the node-oracledb package from [ npm] [ 4 ] , for
1453
1453
example from
1454
- [ ` https://registry.npmjs.com/oracledb/-/oracledb-5.0 .0.tgz ` ] ( https://registry.npmjs.com/oracledb/-/oracledb-5.0 .0.tgz )
1454
+ [ ` https://registry.npmjs.com/oracledb/-/oracledb-5.1 .0.tgz ` ] ( https://registry.npmjs.com/oracledb/-/oracledb-5.1 .0.tgz )
1455
1455
1456
1456
This can be transferred to the desired machine and installed, for example with:
1457
1457
1458
1458
```
1459
- npm install your_dir_path/oracledb-5.0 .0.tgz
1459
+ npm install your_dir_path/oracledb-5.1 .0.tgz
1460
1460
```
1461
1461
1462
1462
If you are using an architecture that does not have pre-supplied binaries then
@@ -1514,24 +1514,24 @@ If you see `MSVCR80.dll` then you need the VS 2005 Redistributable.
1514
1514
You can host node-oracledb packages locally.
1515
1515
1516
1516
Download the node-oracledb package from npm, for example from
1517
- [ ` https://registry.npmjs.com/oracledb/-/oracledb-5.0 .0.tgz ` ] ( https://registry.npmjs.com/oracledb/-/oracledb-5.0 .0.tgz )
1517
+ [ ` https://registry.npmjs.com/oracledb/-/oracledb-5.1 .0.tgz ` ] ( https://registry.npmjs.com/oracledb/-/oracledb-5.1 .0.tgz )
1518
1518
Alternatively, if you want to build your own binaries and node-oracledb package,
1519
1519
see [ Creating a node-oracledb package from source code] ( #compilepackage ) .
1520
1520
1521
1521
If you make the package accessible on your local web server, for
1522
- example at www.example.com/oracledb-5.0 .0.tgz , then your
1522
+ example at www.example.com/oracledb-5.1 .0.tgz , then your
1523
1523
install command would be:
1524
1524
1525
1525
```
1526
- npm install https://www.example.com/oracledb-5.0 .0.tgz
1526
+ npm install https://www.example.com/oracledb-5.1 .0.tgz
1527
1527
```
1528
1528
1529
1529
or your ` package.json ` would contain:
1530
1530
1531
1531
```
1532
1532
. . .
1533
1533
"dependencies": {
1534
- "oracledb": "https://www.example.com/oracledb-5.0 .0.tgz"
1534
+ "oracledb": "https://www.example.com/oracledb-5.1 .0.tgz"
1535
1535
},
1536
1536
. . .
1537
1537
```
0 commit comments