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