Changes
Page history
Update linux installation
authored
Jan 18, 2024
by
yannick legoc
Show whitespace changes
Inline
Side-by-side
linux-installation.md
View page @
edf2a20c
##
Node.js dependency
##
Installation
### Debian
...
...
@@ -9,6 +9,14 @@ To install Node.js, use the following commands to get version 20.x:
This will install
*npm*
which will be used to build and start the application.
Install the project:
```
$ npm install
```
### Install node-gyp
Get the
*node-gyp*
tool:
$ sudo npm install -g node-gyp
...
...
@@ -25,6 +33,28 @@ To rebuild the addons, launch:
$ ./node-gyp-electron.sh
## Standalone version
The standalone version is a packaged version where the dependencies are integrated into the addons.
Install vexplib as a static library:
```
$ cmake -DBUILD_SHARED_LIBS=OFF ..
$ make
$ sudo make install
```
Rebuild the addons with the good electron version:
```
$ node-gyp rebuild --target=v25.2.0 --dist-url=https://electronjs.org/headers --nomad=true --vexplib=true --vexp_libdir=/usr/local/lib/libvexplib.a
```
Package the project:
```
$ npm run package-linux
```
## Notes
If you need to set the proxy at the ILL:
...
...
...
...