Page 1 of 1

phidget22 install on Debian for JavaScript only

Posted: Thu Feb 01, 2018 9:33 am
by mariusz7
there is a procedure documented in https://www.phidgets.com/docs/OS_-_Linu ... _Downloads with final step:
apt-get install
  • libphidget22
    libphidget22-dev
    phidget22networkserver
    libphidget22java
    phidget22admin
and there is an example how to test it with C language.

Can somebody explain what is the purpose of each module:
  • libphidget22
    libphidget22-dev
    phidget22networkserver
    libphidget22java
    phidget22admin
What is the minimum install for JavaScript? No C, no C++, no Java, no Python.
do I really need libphidget22java? I will not use Java. Is there a dependency on this module to run JavaScript?
what else I do NOT need to run JavaScript:

Code: Select all

const jPhidget22 = require('phidget22');

Re: phidget22 install on Debian for JavaScript only

Posted: Thu Feb 01, 2018 11:00 am
by mparadis
libphidget22 - The core Phidget libraries. You'll need this no matter what you're using Phidgets for.
libphidget22-dev - This is the C development library, which you don't need to run JavaScript
phidget22networkserver - This is the Phidget Network Server, which JavaScript uses.
libphidget22java - The Java libraries, not necessary for JavaScript.
libphidget22extra - Some extra functions that some of our tools use. Required by the Network Server and thus by JavaScript also.
phidget22admin - An administrator tool to keep track of Phidgets connected to your system. Not needed for JavaScript.
phidget22wwwjs - Installs JavaScript libraries and HTML examples and makes them available from the web interface control panel. If you don't plan on using the web control panel, you can ignore this package and just download the JavaScript library file individually from the JavaScript language page.

Re: phidget22 install on Debian for JavaScript only

Posted: Thu Feb 01, 2018 11:04 am
by mariusz7
big thanks Mparadis!
May I suggest to include this explanation to documentation.