Template:LinuxPackageInstall: Difference between revisions

From Phidgets Support
(Created page with " ====Install Script==== To run the install script and install phidget22, enter the following command in the terminal: {{LinuxInstallScript}} ====Manual Install==== To install our package repository manually, enter the following command in the terminal, replacing '''''distro''''' with your distro codename: {{LinuxGetKey}} We support Debian releases from 6 to current, and Ubuntu LTS releases from 14.04 to current. If you are using another flavour of Linux (such as Mint...")
 
No edit summary
Line 1: Line 1:
 
<tabber>
|-|Install Script=
====Install Script====
====Install Script====
To run the install script and install phidget22, enter the following command in the terminal:
To run the install script and install phidget22, enter the following command in the terminal:
Line 5: Line 6:
{{LinuxInstallScript}}
{{LinuxInstallScript}}


|-|Manual Install=
====Manual Install====
====Manual Install====
To install our package repository manually, enter the following command in the terminal, replacing '''''distro''''' with your distro codename:
To install our package repository manually, enter the following command in the terminal, replacing '''''distro''''' with your distro codename:
Line 17: Line 19:
Finally, install the Phidget package by entering the command below:
Finally, install the Phidget package by entering the command below:
{{LinuxAptInstall}}
{{LinuxAptInstall}}
</tabber>


====Additional Packages====
====Additional Packages====

Revision as of 18:14, 20 January 2025

Install Script

To run the install script and install phidget22, enter the following command in the terminal:

curl -fsSL https://www.phidgets.com/downloads/setup_linux | bash -
apt install -y libphidget22

curl -fsSL https://www.phidgets.com/downloads/setup_linux | sudo -E bash -
sudo apt install -y libphidget22

Manual Install

To install our package repository manually, enter the following command in the terminal, replacing distro with your distro codename:

We support Debian releases from 6 to current, and Ubuntu LTS releases from 14.04 to current. If you are using another flavour of Linux (such as Mint), which is based on Ubuntu or Debian, use the corresponding Ubuntu or Debian codename.

Update your package lists:

apt update

sudo apt update

Finally, install the Phidget package by entering the command below:

apt install libphidget22

sudo apt install libphidget22

Additional Packages

You may also want to apt install the following optional packages:

  • libphidget22-dev: The C development libraries for Phidget22
  • libphidget22extra: Extra runtime library required for the Network Server and Admin tools
  • phidget22networkserver: The Phidget Network Server, which enables use of Phidgets over your network
  • libphidget22java: The Java libraries for Phidget22
  • phidget22admin: An administrator utility for listing Phidgets and upgrading firmware
  • phidget22wwwjs: The JavaScript libraries for Phidget22. This package also installs the HTML examples which can be accessed through the web interface


The libraries are now installed on your machine. Next, set up the UDev rules below.