1
- # Installing node-oracledb Version 5.2-dev
1
+ # Installing node-oracledb Version 5.2
2
2
3
3
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.*
4
4
@@ -110,8 +110,8 @@ Alternatively, follow these instructions:
110
110
- Install a C Compiler such as Xcode, GCC, Visual Studio
111
111
2017, or similar.
112
112
113
- - Run ` npm install oracle/node-oracledb.git#v5.2.0-dev ` , or add
114
- ` oracle/node-oracledb.git#v5.2.0-dev ` to your ` package.json `
113
+ - Run ` npm install oracle/node-oracledb.git#v5.2.0 ` , or add
114
+ ` oracle/node-oracledb.git#v5.2.0 ` to your ` package.json `
115
115
dependencies. Substitute your desired [ GitHub tag] [ 40 ] .
116
116
117
117
- Add Oracle Client libraries version 21, 19, 18, 12, or 11.2 to your operating
@@ -1139,19 +1139,19 @@ export CC=gcc
1139
1139
```
1140
1140
1141
1141
Locate the [ GitHub tag] [ 40 ] of the desired node-oracledb version, for
1142
- example ` v5.2.0-dev ` , and use the ` npm ` package manager (which is
1142
+ example ` v5.2.0 ` , and use the ` npm ` package manager (which is
1143
1143
included in Node.js) to install it.
1144
1144
1145
1145
If you have the ` git ` utility, you can install with:
1146
1146
1147
1147
```
1148
- npm install oracle/node-oracledb.git#v5.2.0-dev
1148
+ npm install oracle/node-oracledb.git#v5.2.0
1149
1149
```
1150
1150
1151
1151
Otherwise install using:
1152
1152
1153
1153
```
1154
- npm install https://github.com/oracle/node-oracledb/releases/download/v5.2.0-dev /oracledb-src-5.2.0-dev .tgz
1154
+ npm install https://github.com/oracle/node-oracledb/releases/download/v5.2.0/oracledb-src-5.2.0.tgz
1155
1155
```
1156
1156
1157
1157
#### 3.5.4 Install the free Oracle Instant Client 'Basic' ZIP file
@@ -1259,19 +1259,19 @@ export MAKE=gmake
1259
1259
```
1260
1260
1261
1261
Locate the [ GitHub tag] [ 40 ] of the desired node-oracledb version, for
1262
- example ` v5.2.0-dev ` , and use the ` npm ` package manager (which is
1262
+ example ` v5.2.0 ` , and use the ` npm ` package manager (which is
1263
1263
included in Node.js) to install it.
1264
1264
1265
1265
If you have the ` git ` utility, you can install with:
1266
1266
1267
1267
```
1268
- npm install oracle/node-oracledb.git#v5.2.0-dev
1268
+ npm install oracle/node-oracledb.git#v5.2.0
1269
1269
```
1270
1270
1271
1271
Otherwise install using:
1272
1272
1273
1273
```
1274
- npm install https://github.com/oracle/node-oracledb/releases/download/v5.2.0-dev /oracledb-src-5.2.0-dev .tgz
1274
+ npm install https://github.com/oracle/node-oracledb/releases/download/v5.2.0/oracledb-src-5.2.0.tgz
1275
1275
```
1276
1276
1277
1277
If this fails due to an invalid ` cp -a ` option, you can download the
@@ -1420,7 +1420,7 @@ npm install oracle/node-oracledb#main
1420
1420
```
1421
1421
1422
1422
To install from a tag, use the tag name like:
1423
- ` oracle/node-oracledb#v5.2.0-dev ` .
1423
+ ` oracle/node-oracledb#v5.2.0 ` .
1424
1424
1425
1425
These commands will download, compile and install node-oracledb. Due to the
1426
1426
slow download of source code from GitHub, it may take some time before
@@ -1431,15 +1431,15 @@ compilation begins.
1431
1431
Users without the ` git ` utility can compile pre-bundled source code:
1432
1432
1433
1433
```
1434
- npm install https://github.com/oracle/node-oracledb/releases/download/v5.2.0-dev /oracledb-src-5.2.0-dev .tgz
1434
+ npm install https://github.com/oracle/node-oracledb/releases/download/v5.2.0/oracledb-src-5.2.0.tgz
1435
1435
```
1436
1436
1437
1437
Due to the slow download of source code from GitHub, it may take some time
1438
1438
before compilation begins. You may prefer to download
1439
- ` oracledb-src-5.2.0-dev .tgz ` and install with:
1439
+ ` oracledb-src-5.2.0.tgz ` and install with:
1440
1440
1441
1441
```
1442
- npm install your_dir_path/oracledb-src-5.2.0-dev .tgz
1442
+ npm install your_dir_path/oracledb-src-5.2.0.tgz
1443
1443
```
1444
1444
1445
1445
#### <a name =" nogithubaccess " ></a > 3.7.5 Installing from Oracle's repository
@@ -1466,10 +1466,10 @@ within your company, or it can be used directly from the file system to install
1466
1466
node-oracledb.
1467
1467
1468
1468
- Download
1469
- [ ` oracledb-src-5.2.0-dev .tgz ` ] ( https://github.com/oracle/node-oracledb/releases/download/v5.2.0-dev /oracledb-src-5.2.0-dev .tgz )
1469
+ [ ` oracledb-src-5.2.0.tgz ` ] ( https://github.com/oracle/node-oracledb/releases/download/v5.2.0/oracledb-src-5.2.0.tgz )
1470
1470
from GitHub.
1471
1471
1472
- - Extract the file: ` tar -xzf oracledb-src-5.2.0-dev .tgz `
1472
+ - Extract the file: ` tar -xzf oracledb-src-5.2.0.tgz `
1473
1473
1474
1474
- Change directory: ` cd package `
1475
1475
@@ -1484,7 +1484,7 @@ from GitHub.
1484
1484
architectures.
1485
1485
1486
1486
- Run: ` npm run buildpackage `
1487
- The package ` oracledb-5.2.0-dev .tgz ` is created.
1487
+ The package ` oracledb-5.2.0.tgz ` is created.
1488
1488
1489
1489
This package can be shared or self-hosted, see [ Hosting your own node-oracledb
1490
1490
Packages] ( #selfhost ) .
@@ -1493,12 +1493,12 @@ Packages](#selfhost).
1493
1493
1494
1494
On a machine with access, download the node-oracledb package from [ npm] [ 4 ] , for
1495
1495
example from
1496
- [ ` https://registry.npmjs.com/oracledb/-/oracledb-5.2.0-dev .tgz ` ] ( https://registry.npmjs.com/oracledb/-/oracledb-5.2.0-dev .tgz )
1496
+ [ ` https://registry.npmjs.com/oracledb/-/oracledb-5.2.0.tgz ` ] ( https://registry.npmjs.com/oracledb/-/oracledb-5.2.0.tgz )
1497
1497
1498
1498
This can be transferred to the desired machine and installed, for example with:
1499
1499
1500
1500
```
1501
- npm install your_dir_path/oracledb-5.2.0-dev .tgz
1501
+ npm install your_dir_path/oracledb-5.2.0.tgz
1502
1502
```
1503
1503
1504
1504
If you are using an architecture that does not have pre-supplied binaries then
@@ -1556,24 +1556,24 @@ If you see `MSVCR80.dll` then you need the VS 2005 Redistributable.
1556
1556
You can host node-oracledb packages locally.
1557
1557
1558
1558
Download the node-oracledb package from npm, for example from
1559
- [ ` https://registry.npmjs.com/oracledb/-/oracledb-5.2.0-dev .tgz ` ] ( https://registry.npmjs.com/oracledb/-/oracledb-5.2.0-dev .tgz )
1559
+ [ ` https://registry.npmjs.com/oracledb/-/oracledb-5.2.0.tgz ` ] ( https://registry.npmjs.com/oracledb/-/oracledb-5.2.0.tgz )
1560
1560
Alternatively, if you want to build your own binaries and node-oracledb package,
1561
1561
see [ Creating a node-oracledb package from source code] ( #compilepackage ) .
1562
1562
1563
1563
If you make the package accessible on your local web server, for
1564
- example at www.example.com/oracledb-5.2.0-dev .tgz , then your
1564
+ example at www.example.com/oracledb-5.2.0.tgz , then your
1565
1565
install command would be:
1566
1566
1567
1567
```
1568
- npm install https://www.example.com/oracledb-5.2.0-dev .tgz
1568
+ npm install https://www.example.com/oracledb-5.2.0.tgz
1569
1569
```
1570
1570
1571
1571
or your ` package.json ` would contain:
1572
1572
1573
1573
```
1574
1574
. . .
1575
1575
"dependencies": {
1576
- "oracledb": "https://www.example.com/oracledb-5.2.0-dev .tgz"
1576
+ "oracledb": "https://www.example.com/oracledb-5.2.0.tgz"
1577
1577
},
1578
1578
. . .
1579
1579
```
0 commit comments