Install UPDD on Linux

This document describes how to install UPDD on Linux. UPDD 7 for Linux is built for x86_64 (64 bit) systems only; there is no ARM build. UPDD 6 was supplied in both 32 bit (i686) and 64 bit versions.

Our Linux driver uses libusb to handle USB devices, which is used under the terms of the GNU Lesser General Public Licence as described in Licence agreement and third-party notices.

These notes should be followed to install UPDD on Linux platforms. How to obtain the installation package is described in Downloading UPDD.

System requirements

These are the system requirements for the standard installation to work:

ComponentRequirement
ProcessorUPDD 7: x86_64 (64 bit) only.
UPDD 6: x86_64 and i686 (32 bit).
Desktop managerSupports modern Gnome and KDE based desktop managers.
System interfaceTouch data is posted via the uinput or X (Xtest) interfaces, see Linux touch delivery: uinput and X.
X interfacePermission to open an interface to X (if using the X interface).
Touch device(s)USB or serial as supported in the supplied driver package.
Kernel and GLIBC versionsUPDD 7 requires GLIBC 2.17 or later. These are discussed in Linux distributions.
libusbUPDD 7 uses the libusb-1.0 library installed on the system.
PerlThe installer is a Perl script, so Perl must be installed.
Access to TCP/IP port 4146The driver requires access to TCP/IP port 4146 for internal computer processing only; see What UPDD is.

Further system requirements and the distributions known to work are shown in Linux distributions.

Standard installation

UPDD for Linux is supplied as a compressed tar file (tgz) with an integral installer. Copy the file to the Linux system, then for a standard installation simply enter these two commands in a terminal, in the folder holding the file:

  1. tar -xzf <supplied file name>.tgz
  2. sudo ./install

The installer reports Success! when it completes.

The install script will attempt to install the driver and dependencies and should be all that is needed on a regular install for most reasonably current Linux distributions.

The installer sets up the driver to auto start as root, and the UPDD Daemon to start from within the desktop manager. In situations where the client programs are not auto started you will need to determine the best way to start the required application.

For systems where additional setup tasks are required the installer attempts to advise where possible.

We can also offer RPM and DEB installers but these need to be built on a case by case basis and there may be a small cost involved to supply these formats. They can be useful in cases where no user intervention is required as only one command is needed to install the software.

Note

In general all required components are installed by the driver or are part of the Linux distribution. However, in a few cases, it has been necessary to load the Qt5 X11 extras component to allow the UPDD Console to load. The name of this component can vary depending on the distribution so use the search command sudo dnf search qt5 | grep -i 'X11' and then load as appropriate, e.g. RHEL 8: dnf install qt5-qtx11extras.x86_64 -y -q; Ubuntu: apt-get install libqt5x11extras5

Qt platform plugin error

Qt's X11 platform plugin needs a set of xcb helper libraries (libxcb-xinerama, libxcb-icccm, libxcb-image, libxcb-keysyms, libxcb-render-util and libxcb-util) that some current distributions, for example SUSE Linux Enterprise 16, no longer install. UPDD 7 packages built from August 2026 include these libraries. With an older package on such a system the UPDD programs do not start and report Could not load the Qt platform plugin "xcb" ... even though it was found; install a current package.

After installation

Following a successful installation the touch screen should be reacting to touch and calibrated.

On most current distributions the UPDD Daemon icon is not shown in the notification area; see Notification area for the other ways to reach its functions. On Ubuntu and possibly other systems a reboot is needed before the UPDD Daemon icon is listed in the system tray, where it is shown at all.

You should also be able to run the UPDD command line interface and the test program as required, once the correct environment is set. Should the device be reacting to touch but not calibrated you should run the calibration, unless you have a multi-monitor configuration, in which case you should review Multi-monitor on Linux.

The remainder of this document describes installation errors and the exception cases which require a non standard installation procedure.

Installation errors

This section covers known or reported installation errors.

Cannot change ownership error

A cannot change ownership error is issued during the extraction of the archive file.

This error is explained here and suggests you use the --no-same-owner option on the extraction command.

Failed during database init

In some situations the installer may fail with the message Failed during database init check dbinit.log. This means that the first execution of the driver (which populates the settings database) failed. Known causes are:

  • running a 64 bit installer on a 32 bit system (UPDD 7 is 64 bit only), or with UPDD 6 a 32 bit installer on a 64 bit system;
  • a system whose GLIBC is older than the version the package needs (GLIBC 2.17 for UPDD 7): the driver cannot start at all;
  • a missing library on the system.

As the installer redirects the driver's output the reason can not be seen directly. It is written to dbinit.log in the installation folder (/opt/updd by default), as noted in the message.

Please review the output to identify the likely cause of the error, e.g.

In this particular case a Linux package was available to install the missing library.

Load the driver in a terminal window

Loading the driver from the command line will also reveal initialisation errors:

sudo /opt/updd/upddenv /opt/updd/updd -e

The messages you may see when running the driver this way are listed in Driver start-up.

Missing libgthread (UPDD 6)

With UPDD 6 the command above reported the error error while loading shared libraries: libgthread-2.0.so.0 cannot open shared object file: no such file or directory on one system. UPDD 6 ships the correct version as /opt/updd/usrlib/libgthread-2.0.so so all should be OK. If this does occur try setting a symbolic link as below:

Customising the install script

The installer script can be readily changed and repackaged.

The main installer package contains just 2 files:

FileContent
installThe installation Perl script.
updd_package.tarThe actual software package.

After making changes as required to customise the script simply execute the following command:

tar -czf your_new_package_name.tgz install updd_package.tar

The script detects whether systemd, upstart or System V init is in use and installs the matching driver start-up item, see Driver start-up.

UPDD Daemon start-up

The UPDD Daemon start-up method is set up in the install script, section install_user_startup_items. In cases where the daemon task does not start up review and modify this section as required to implement a known start-up method.

Installing to a non-standard location

By default UPDD Linux software is installed to /opt/updd. However, if required, it can be installed at an alternate location. To achieve this the following manual steps must be followed:

  1. After extracting the installer package, edit the $install_folder setting in the install script. Change the /opt/updd entry to the location of choice.
  2. After executing install, change all occurrences of /opt/updd to the new location in updd.sh, upddenv and updd_clients.sh in the new location, in /etc/xdg/autostart/updd_clients.desktop, and in the driver start-up item the installer added (/etc/systemd/system/updd.service, /etc/init/updd.conf, or /etc/init.d/updd and upddsysv.sh).


  3. A reboot is required after these changes for the software to work correctly.

Note

All UPDD Linux modules use the environment variable UPDDDIR, which must be set to the install folder location before running any UPDD module. The upddenv script sets it.

Installing on a read only file system

When referring to a read only file system, this specifically refers to the writability of /opt.

The only specific consideration for a read only file system installation is that the settings database must be on writeable storage, but not necessarily persistent. Typically this means that the file system must be temporarily set writeable and then updd.ini created to identify an alternate location for the settings database, as described in How UPDD settings work.

For review

  • Screenshots dropped: Decompress.PNG (a wget of a static v6download.touch-base.com URL; downloads are My Touch-base token links now) and LinuxInstall4.PNG (shows the UPDD 6 file name UPDD_linux_x64_06_00_137.tgz). A new screenshot of tar -xzf + sudo ./install with a current 7.1 file name would help.
  • The Qt5 X11 extras note is kept as written, but no 7.1 component links Qt5 X11 Extras (console/console.pro, daemon/daemon.pro, calibrate/calibrate.pro). It may only apply to UPDD 6 or to UPDD Test; confirm or drop.
  • The RPM/DEB offer (and its cost) is carried from the original; confirm it still stands.
  • Non-standard location: other places also hard-code /opt/updd in 7.1 (the diagnostics log folder, common/rundiagnostics.cpp:276; the systemd unit; updd_clients.sh is generated with /opt/updd/UPDD\ Daemon). The step list was extended from the install script; nobody has tested a relocated 7.1 install.
  • The V5 caution (uninstall V5 first) was dropped: V5 is out of scope.