1
- # Installing node-oracledb Version 5.3-dev
1
+ # Installing node-oracledb Version 5.3
2
2
3
3
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.*
4
4
@@ -101,9 +101,9 @@ Alternatively, follow these instructions:
101
101
102
102
- If a pre-built binary is not available, you will need to build from source
103
103
code. Reivew the [ prerequisites] ( #github ) and add
104
- ` https://github.com/oracle/node-oracledb/releases/download/v5.3.0-dev /oracledb-src-5.3.0-dev .tgz `
104
+ ` https://github.com/oracle/node-oracledb/releases/download/v5.3.0/oracledb-src-5.3.0.tgz `
105
105
to your ` package.json ` dependencies or run `npm install
106
- https://github.com/oracle/node-oracledb/releases/download/v5.3.0-dev /oracledb-src-5.3.0-dev .tgz` .
106
+ https://github.com/oracle/node-oracledb/releases/download/v5.3.0/oracledb-src-5.3.0.tgz` .
107
107
108
108
- Add Oracle Client libraries version 21, 19, 18, 12, or 11.2 to your operating
109
109
system library search path such as ` PATH ` on Windows or ` LD_LIBRARY_PATH ` on
@@ -1121,19 +1121,19 @@ export CC=gcc
1121
1121
```
1122
1122
1123
1123
Locate the [ GitHub tag] [ 40 ] of the desired node-oracledb version, for
1124
- example ` v5.3.0-dev ` , and use the ` npm ` package manager (which is
1124
+ example ` v5.3.0 ` , and use the ` npm ` package manager (which is
1125
1125
included in Node.js) to install it.
1126
1126
1127
1127
If you have the ` git ` utility, you can install with:
1128
1128
1129
1129
```
1130
- npm install oracle/node-oracledb.git#v5.3.0-dev
1130
+ npm install oracle/node-oracledb.git#v5.3.0
1131
1131
```
1132
1132
1133
1133
Otherwise install using:
1134
1134
1135
1135
```
1136
- npm install https://github.com/oracle/node-oracledb/releases/download/v5.3.0-dev /oracledb-src-5.3.0-dev .tgz
1136
+ npm install https://github.com/oracle/node-oracledb/releases/download/v5.3.0/oracledb-src-5.3.0.tgz
1137
1137
```
1138
1138
1139
1139
#### 3.5.4 Install the free Oracle Instant Client 'Basic' ZIP file
@@ -1241,19 +1241,19 @@ export MAKE=gmake
1241
1241
```
1242
1242
1243
1243
Locate the [ GitHub tag] [ 40 ] of the desired node-oracledb version, for
1244
- example ` v5.3.0-dev ` , and use the ` npm ` package manager (which is
1244
+ example ` v5.3.0 ` , and use the ` npm ` package manager (which is
1245
1245
included in Node.js) to install it.
1246
1246
1247
1247
If you have the ` git ` utility, you can install with:
1248
1248
1249
1249
```
1250
- npm install oracle/node-oracledb.git#v5.3.0-dev
1250
+ npm install oracle/node-oracledb.git#v5.3.0
1251
1251
```
1252
1252
1253
1253
Otherwise install using:
1254
1254
1255
1255
```
1256
- npm install https://github.com/oracle/node-oracledb/releases/download/v5.3.0-dev /oracledb-src-5.3.0-dev .tgz
1256
+ npm install https://github.com/oracle/node-oracledb/releases/download/v5.3.0/oracledb-src-5.3.0.tgz
1257
1257
```
1258
1258
1259
1259
If this fails due to an invalid ` cp -a ` option, you can download the
@@ -1405,7 +1405,7 @@ npm install oracle/node-oracledb#main
1405
1405
```
1406
1406
1407
1407
To install from a tag, replace ` main ` with the tag name like:
1408
- ` oracle/node-oracledb#v5.3.0-dev ` .
1408
+ ` oracle/node-oracledb#v5.3.0 ` .
1409
1409
1410
1410
#### <a name =" sourcepackage " ></a > 3.7.3 Installing from a source package
1411
1411
@@ -1414,14 +1414,14 @@ dependency like:
1414
1414
1415
1415
```
1416
1416
"dependencies": {
1417
- "oracledb": "https://github.com/oracle/node-oracledb/releases/download/v5.3.0-dev /oracledb-src-5.3.0-dev .tgz"
1417
+ "oracledb": "https://github.com/oracle/node-oracledb/releases/download/v5.3.0/oracledb-src-5.3.0.tgz"
1418
1418
},
1419
1419
```
1420
1420
1421
1421
Or install with:
1422
1422
1423
1423
```
1424
- npm install https://github.com/oracle/node-oracledb/releases/download/v5.3.0-dev /oracledb-src-5.3.0-dev .tgz
1424
+ npm install https://github.com/oracle/node-oracledb/releases/download/v5.3.0/oracledb-src-5.3.0.tgz
1425
1425
```
1426
1426
1427
1427
#### <a name =" nogithubaccess " ></a > 3.7.4 Installing from Oracle's repository
@@ -1457,10 +1457,10 @@ within your company, or it can be used directly from the file system to install
1457
1457
node-oracledb.
1458
1458
1459
1459
- Download
1460
- [ ` oracledb-src-5.3.0-dev .tgz ` ] ( https://github.com/oracle/node-oracledb/releases/download/v5.3.0-dev /oracledb-src-5.3.0-dev .tgz )
1460
+ [ ` oracledb-src-5.3.0.tgz ` ] ( https://github.com/oracle/node-oracledb/releases/download/v5.3.0/oracledb-src-5.3.0.tgz )
1461
1461
from GitHub.
1462
1462
1463
- - Extract the file: ` tar -xzf oracledb-src-5.3.0-dev .tgz `
1463
+ - Extract the file: ` tar -xzf oracledb-src-5.3.0.tgz `
1464
1464
1465
1465
- Change directory: ` cd package `
1466
1466
@@ -1475,7 +1475,7 @@ from GitHub.
1475
1475
architectures.
1476
1476
1477
1477
- Run: ` npm run buildpackage `
1478
- The package ` oracledb-5.3.0-dev .tgz ` is created.
1478
+ The package ` oracledb-5.3.0.tgz ` is created.
1479
1479
1480
1480
This package can be shared or self-hosted, see [ Hosting your own node-oracledb
1481
1481
Packages] ( #selfhost ) .
@@ -1484,12 +1484,12 @@ Packages](#selfhost).
1484
1484
1485
1485
On a machine with access, download the node-oracledb package from [ npm] [ 4 ] , for
1486
1486
example from
1487
- [ ` https://registry.npmjs.com/oracledb/-/oracledb-5.3.0-dev .tgz ` ] ( https://registry.npmjs.com/oracledb/-/oracledb-5.3.0-dev .tgz )
1487
+ [ ` https://registry.npmjs.com/oracledb/-/oracledb-5.3.0.tgz ` ] ( https://registry.npmjs.com/oracledb/-/oracledb-5.3.0.tgz )
1488
1488
1489
1489
This can be transferred to the desired machine and installed, for example with:
1490
1490
1491
1491
```
1492
- npm install your_dir_path/oracledb-5.3.0-dev .tgz
1492
+ npm install your_dir_path/oracledb-5.3.0.tgz
1493
1493
```
1494
1494
1495
1495
If you are using an architecture that does not have pre-supplied binaries then
@@ -1547,25 +1547,25 @@ If you see `MSVCR80.dll` then you need the VS 2005 Redistributable.
1547
1547
You can host node-oracledb packages locally.
1548
1548
1549
1549
Download the node-oracledb package from npm, for example from
1550
- [ ` https://registry.npmjs.com/oracledb/-/oracledb-5.3.0-dev .tgz ` ] ( https://registry.npmjs.com/oracledb/-/oracledb-5.3.0-dev .tgz )
1550
+ [ ` https://registry.npmjs.com/oracledb/-/oracledb-5.3.0.tgz ` ] ( https://registry.npmjs.com/oracledb/-/oracledb-5.3.0.tgz )
1551
1551
Alternatively, if you want to build your own binaries and node-oracledb package,
1552
1552
see [ Creating a node-oracledb package from source code] ( #compilepackage ) .
1553
1553
1554
1554
If you make the package accessible on your local web server, for example at
1555
- www.example.com/oracledb-5.3.0-dev .tgz , then your ` package.json ` would contain:
1555
+ www.example.com/oracledb-5.3.0.tgz , then your ` package.json ` would contain:
1556
1556
1557
1557
```
1558
1558
. . .
1559
1559
"dependencies": {
1560
- "oracledb": "https://www.example.com/oracledb-5.3.0-dev .tgz"
1560
+ "oracledb": "https://www.example.com/oracledb-5.3.0.tgz"
1561
1561
},
1562
1562
. . .
1563
1563
```
1564
1564
1565
1565
Or you would install with:
1566
1566
1567
1567
```
1568
- npm install https://www.example.com/oracledb-5.3.0-dev .tgz
1568
+ npm install https://www.example.com/oracledb-5.3.0.tgz
1569
1569
```
1570
1570
1571
1571
### <a name =" docker " ></a > 3.10 Using node-oracledb in Docker
0 commit comments