1- # Installing node-oracledb Version 5.0-dev
1+ # Installing node-oracledb Version 5.0
22
33* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.*
44
@@ -99,8 +99,8 @@ guaranteed to be available or usable in your environment.
9999 - Install a C Compiler such as Xcode, GCC, Visual Studio
100100 2017, or similar.
101101
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 `
104104 dependencies. Substitute your desired [ GitHub tag] [ 40 ] .
105105
106106- Add Oracle 19, 18, 12, or 11.2 client libraries to your operating
@@ -1100,19 +1100,19 @@ export CC=gcc
11001100```
11011101
11021102Locate 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
11041104included in Node.js) to install it.
11051105
11061106If you have the ` git ` utility, you can install with:
11071107
11081108```
1109- npm install oracle/node-oracledb.git#v5.0.0-dev
1109+ npm install oracle/node-oracledb.git#v5.0.0
11101110```
11111111
11121112Otherwise install using:
11131113
11141114```
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
11161116```
11171117
11181118#### 3.5.4 Install the free Oracle Instant Client 'Basic' ZIP file
@@ -1220,19 +1220,19 @@ export MAKE=gmake
12201220```
12211221
12221222Locate 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
12241224included in Node.js) to install it.
12251225
12261226If you have the ` git ` utility, you can install with:
12271227
12281228```
1229- npm install oracle/node-oracledb.git#v5.0.0-dev
1229+ npm install oracle/node-oracledb.git#v5.0.0
12301230```
12311231
12321232Otherwise install using:
12331233
12341234```
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
12361236```
12371237
12381238#### 3.6.4 Install the free Oracle Instant Client 'Basic' ZIP file
@@ -1361,18 +1361,18 @@ code utility is required for this method.
13611361
13621362Build node-oracledb from source code by changing the package specifier so that
13631363` 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:
13651365
13661366```
13671367"dependencies": {
1368- "oracledb": "oracle/node-oracledb#v5.0.0-dev "
1368+ "oracledb": "oracle/node-oracledb#v5.0.0"
13691369},
13701370```
13711371
13721372Alternatively, use the command:
13731373
13741374```
1375- npm install oracle/node-oracledb#v5.0.0-dev
1375+ npm install oracle/node-oracledb#v5.0.0
13761376```
13771377
13781378To install the current code on the master branch, use
@@ -1387,15 +1387,15 @@ compilation begins.
13871387Users without the ` git ` utility can compile pre-bundled source code:
13881388
13891389```
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
13911391```
13921392
13931393Due to the slow download of source code from GitHub, it may take some time
13941394before 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:
13961396
13971397```
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
13991399```
14001400
14011401#### <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
14221422node-oracledb.
14231423
14241424- 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 )
14261426from GitHub.
14271427
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 `
14291429
14301430- Change directory: ` cd package `
14311431
@@ -1440,7 +1440,7 @@ from GitHub.
14401440 architectures.
14411441
14421442- 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.
14441444
14451445This package can be shared or self-hosted, see [ Hosting your own node-oracledb
14461446Packages] ( #selfhost ) .
@@ -1449,12 +1449,12 @@ Packages](#selfhost).
14491449
14501450On a machine with access, download the node-oracledb package from [ npm] [ 4 ] , for
14511451example 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 )
14531453
14541454This can be transferred to the desired machine and installed, for example with:
14551455
14561456```
1457- npm install your_dir_path/oracledb-5.0.0-dev .tgz
1457+ npm install your_dir_path/oracledb-5.0.0.tgz
14581458```
14591459
14601460If 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.
15121512You can host node-oracledb packages locally.
15131513
15141514Download 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 )
15161516Alternatively, if you want to build your own binaries and node-oracledb package,
15171517see [ Creating a node-oracledb package from source code] ( #compilepackage ) .
15181518
15191519If 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
15211521install command would be:
15221522
15231523```
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
15251525```
15261526
15271527or your ` package.json ` would contain:
15281528
15291529```
15301530. . .
15311531 "dependencies": {
1532- "oracledb": "https://www.example.com/oracledb-5.0.0-dev .tgz"
1532+ "oracledb": "https://www.example.com/oracledb-5.0.0.tgz"
15331533 },
15341534. . .
15351535```
0 commit comments