phidget22 install on Debian for JavaScript only

Supporting 2.6 and up
Post Reply
mariusz7
Phidgetly
Posts: 17
Joined: Sun Nov 11, 2012 10:51 am
Contact:

phidget22 install on Debian for JavaScript only

Post 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');
User avatar
mparadis
Site Admin
Posts: 660
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: phidget22 install on Debian for JavaScript only

Post 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.
mariusz7
Phidgetly
Posts: 17
Joined: Sun Nov 11, 2012 10:51 am
Contact:

Re: phidget22 install on Debian for JavaScript only

Post by mariusz7 »

big thanks Mparadis!
May I suggest to include this explanation to documentation.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest