How To Install tslib on Fedora 36

In this tutorial we learn how to install tslib in Fedora 36. tslib is Touchscreen Access Library

Introduction

In this tutorial we learn how to install tslib on Fedora 36.

What is tslib

The idea of tslib is to have a core library that provides standardised services, and a set of plugins to manage the conversion and filtering as needed. The plugins for a particular touchscreen are loaded automatically by the library under the control of a static configuration file, ts.conf. ts.conf gives the library basic configuration information. Each line specifies one module, and the parameters for that module. The modules are loaded in order, with the first one processing the touchscreen data first.

We can use yum or dnf to install tslib on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install tslib.

Install tslib on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install tslib using dnf by running the following command:

sudo dnf -y install tslib

Install tslib on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install tslib using yum by running the following command:

sudo yum -y install tslib

How To Uninstall tslib on Fedora 36

To uninstall only the tslib package we can use the following command:

sudo dnf remove tslib

title: “How To Install tslib on Fedora 36”

tslib Package Contents on Fedora 36

linkTitle: “tslib”

type: “docs”

description: "In this tutorial we learn how to install tslib in Fedora 36. tslib is Touchscreen Access Library"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/tslib-featured.png
---

## Introduction

In this tutorial we learn how to install `tslib` on Fedora 36.

### What is `tslib`

> The idea of tslib is to have a core library that provides standardised services, and a set of plugins to manage the conversion and filtering as needed.  The plugins for a particular touchscreen are loaded automatically by the library under the control of a static configuration file, ts.conf. ts.conf gives the library basic configuration information.  Each line specifies one module, and the parameters for that module.  The modules are loaded in order, with the first one processing the touchscreen data first.  

We can use `yum` or `dnf` to install `tslib` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install tslib.

## Install tslib on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install tslib using dnf by running the following command:

sudo dnf -y install tslib

Install tslib on Fedora 36 Using yum

/etc/ts.conf /usr/bin/ts_calibrate /usr/bin/ts_conf /usr/bin/ts_finddev /usr/bin/ts_print /usr/bin/ts_print_mt /usr/bin/ts_print_raw /usr/bin/ts_test_mt /usr/bin/ts_uinput /usr/bin/ts_verify /usr/lib/.build-id /usr/lib/.build-id/10 /usr/lib/.build-id/10/23af420bbef0c5e3e454cb97beb4fa51e62c9d /usr/lib/.build-id/16 /usr/lib/.build-id/16/9fb61880d662c70cd58261c8270d0e9c2eddb6 /usr/lib/.build-id/23 /usr/lib/.build-id/23/f168104a5e346e9efefde65209d1a98c1eb653 /usr/lib/.build-id/24 /usr/lib/.build-id/24/7cac792411c17cbf22907712d877d44f155b1d /usr/lib/.build-id/24/9eff530ce6bda6fcd49b96de5c5e7f440d6e4e /usr/lib/.build-id/27 /usr/lib/.build-id/27/3a521b79a194974aba4a45441a48d34cf545ba /usr/lib/.build-id/30 /usr/lib/.build-id/30/aa9744df0b959d0b1f3e53dd24d17910850c8e /usr/lib/.build-id/31 /usr/lib/.build-id/31/3f3db4c7db16fa41c6deb0e74d72fad07ff72b /usr/lib/.build-id/44 /usr/lib/.build-id/44/0ead24f73b78c9badf174087fdced17605ffa0 /usr/lib/.build-id/49 /usr/lib/.build-id/49/7b5337a123add8a0987ee384e54f3f1f646048 /usr/lib/.build-id/4e /usr/lib/.build-id/4e/b9c4a11d8806b7d55ddaafd53056db2681396d /usr/lib/.build-id/56 /usr/lib/.build-id/56/0d2323cf001c56e05014247df957b831d285d7 /usr/lib/.build-id/5f /usr/lib/.build-id/5f/d85e00f513cfbb468c3c2455d38bb85a652143 /usr/lib/.build-id/63 /usr/lib/.build-id/63/4f412af23eefa3bbae8bd7ec6b44a57ba980ab /usr/lib/.build-id/67 /usr/lib/.build-id/67/0538dfca285c5ce934667d979778727e766195 /usr/lib/.build-id/77 /usr/lib/.build-id/77/7e23833f07264e4d3dddeac86eeb6091bbed93 /usr/lib/.build-id/78 /usr/lib/.build-id/78/559819fb6ec07b92f1ed8c67419210e5588c60 /usr/lib/.build-id/90 /usr/lib/.build-id/90/177d94e482fdbee484dfdaa378fce530e1d745 /usr/lib/.build-id/90/bfdcef5e0d568dda77daa41bf6a301b41d7f3c /usr/lib/.build-id/b1 /usr/lib/.build-id/b1/e6c4d08d346c10792469e5959c13ee5d3d4861 /usr/lib/.build-id/f2 /usr/lib/.build-id/f2/be45c440e6ab7cf4af0937229b7df48c6c4e67 /usr/lib/.build-id/f9 /usr/lib/.build-id/f9/5136576054bf1999fb0643502b78f65c861f34 /usr/lib/.build-id/f9/e4731229b957ede35db16acc8fa09240b4a575 /usr/lib/.build-id/fd /usr/lib/.build-id/fd/8e18b982d5dbaf6904f223d1813ce6f4d3e9c0 /usr/lib64/libts.so.0 /usr/lib64/libts.so.0.10.4 /usr/lib64/ts /usr/lib64/ts/debounce.so /usr/lib64/ts/dejitter.so /usr/lib64/ts/evthres.so /usr/lib64/ts/iir.so /usr/lib64/ts/input.so /usr/lib64/ts/invert.so /usr/lib64/ts/linear.so /usr/lib64/ts/lowpass.so /usr/lib64/ts/median.so /usr/lib64/ts/pthres.so /usr/lib64/ts/skip.so /usr/lib64/ts/touchkit.so /usr/lib64/ts/variance.so /usr/lib64/ts/waveshare.so /usr/share/doc/tslib /usr/share/doc/tslib/AUTHORS /usr/share/doc/tslib/ChangeLog /usr/share/doc/tslib/README /usr/share/licenses/tslib /usr/share/licenses/tslib/COPYING /usr/share/man/man1/ts_calibrate.1.gz /usr/share/man/man1/ts_conf.1.gz /usr/share/man/man1/ts_finddev.1.gz /usr/share/man/man1/ts_harvest.1.gz /usr/share/man/man1/ts_print.1.gz /usr/share/man/man1/ts_print_mt.1.gz /usr/share/man/man1/ts_print_raw.1.gz /usr/share/man/man1/ts_test.1.gz /usr/share/man/man1/ts_test_mt.1.gz /usr/share/man/man1/ts_uinput.1.gz /usr/share/man/man1/ts_verify.1.gz /usr/share/man/man3/ts_close.3.gz /usr/share/man/man3/ts_close_restricted.3.gz /usr/share/man/man3/ts_conf_get.3.gz /usr/share/man/man3/ts_conf_set.3.gz /usr/share/man/man3/ts_config.3.gz /usr/share/man/man3/ts_error_fn.3.gz /usr/share/man/man3/ts_fd.3.gz /usr/share/man/man3/ts_get_eventpath.3.gz /usr/share/man/man3/ts_libversion.3.gz /usr/share/man/man3/ts_open.3.gz /usr/share/man/man3/ts_open_restricted.3.gz /usr/share/man/man3/ts_print_ascii_logo.3.gz /usr/share/man/man3/ts_read.3.gz /usr/share/man/man3/ts_read_mt.3.gz /usr/share/man/man3/ts_read_raw.3.gz /usr/share/man/man3/ts_read_raw_mt.3.gz /usr/share/man/man3/ts_setup.3.gz /usr/share/man/man3/tslib_version.3.gz /usr/share/man/man5/ts.conf.5.gz Update yum database with yum using the following command.

sudo yum makecache --refresh

## References

* [tslib website](https://github.com/kergoth/tslib)

## Summary

In this tutorial we learn how to install `tslib` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).


After updating yum database, We can install `tslib` using `yum` by running the following command:

```bash
sudo yum -y install tslib

How To Uninstall tslib on Fedora 36

To uninstall only the tslib package we can use the following command:

sudo dnf remove tslib

tslib Package Contents on Fedora 36

/etc/ts.conf
/usr/bin/ts_calibrate
/usr/bin/ts_conf
/usr/bin/ts_finddev
/usr/bin/ts_print
/usr/bin/ts_print_mt
/usr/bin/ts_print_raw
/usr/bin/ts_test_mt
/usr/bin/ts_uinput
/usr/bin/ts_verify
/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/00c3260007e10abe37b8aa0c7dc686bc96d523
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/055244af8c9d5fcdbdfec0f59855daa318771b
/usr/lib/.build-id/10
/usr/lib/.build-id/10/fa0a4bd5b12fa55b2615a0e5fab4b9cac2b2ea
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/9ed461bb162595cfc5b7c538b380cdb0557133
/usr/lib/.build-id/29
/usr/lib/.build-id/29/445a12ab7a8192ff66b46464242ee3e575f38f
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/24a7147632fb60744e5f4940e870b01b69ea7a
/usr/lib/.build-id/38
/usr/lib/.build-id/38/eda1d596ffd6ecaf579088257b27c2cc3e65d4
/usr/lib/.build-id/42
/usr/lib/.build-id/42/1e29333b58e9f92b565f6e2fe3fcf86024c516
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/040522bfc45f0feff86882cc3bdd7210cf5872
/usr/lib/.build-id/61
/usr/lib/.build-id/61/7ecc544f1a484b3a693cc2c9d47e9223848b7b
/usr/lib/.build-id/70
/usr/lib/.build-id/70/11efbffbd4c12221744f6704df17ae671c0b37
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/e2566d604834967024a4d8694fbe7d6a74dc49
/usr/lib/.build-id/85
/usr/lib/.build-id/85/fbec2ce58b22405586ebfbc53c8b0b276c0aa4
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/d7d707f6275580420b21142ea13fa67d5d4f6b
/usr/lib/.build-id/98
/usr/lib/.build-id/98/04ad8786f221313f9d3af2101653e277598937
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/04206ddec094a89c5b317953a56809df16a9a0
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/30c3185d6df0e1dac325e32de78f13d34d0198
/usr/lib/.build-id/b9/d39fa79aef124b87c2e62f1324457a51390b0d
/usr/lib/.build-id/b9/dcd430e8d860232970f84f4097f6576bef5b44
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/22a8e23784dec7ad40e35e9dae5ff15018d771
/usr/lib/.build-id/c3/e56b0edf242a954a31f56e83aff5de0fa85884
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/051900b0ef2abd18b34191b100226efad352b2
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/308317a3f6c5e013c3e05b132e9251c4357e0d
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/79bde0fcace9c90d982cf6851fba0298c2706c
/usr/lib/libts.so.0
/usr/lib/libts.so.0.10.4
/usr/lib/ts
/usr/lib/ts/debounce.so
/usr/lib/ts/dejitter.so
/usr/lib/ts/evthres.so
/usr/lib/ts/iir.so
/usr/lib/ts/input.so
/usr/lib/ts/invert.so
/usr/lib/ts/linear.so
/usr/lib/ts/lowpass.so
/usr/lib/ts/median.so
/usr/lib/ts/pthres.so
/usr/lib/ts/skip.so
/usr/lib/ts/touchkit.so
/usr/lib/ts/variance.so
/usr/lib/ts/waveshare.so
/usr/share/doc/tslib
/usr/share/doc/tslib/AUTHORS
/usr/share/doc/tslib/ChangeLog
/usr/share/doc/tslib/README
/usr/share/licenses/tslib
/usr/share/licenses/tslib/COPYING
/usr/share/man/man1/ts_calibrate.1.gz
/usr/share/man/man1/ts_conf.1.gz
/usr/share/man/man1/ts_finddev.1.gz
/usr/share/man/man1/ts_harvest.1.gz
/usr/share/man/man1/ts_print.1.gz
/usr/share/man/man1/ts_print_mt.1.gz
/usr/share/man/man1/ts_print_raw.1.gz
/usr/share/man/man1/ts_test.1.gz
/usr/share/man/man1/ts_test_mt.1.gz
/usr/share/man/man1/ts_uinput.1.gz
/usr/share/man/man1/ts_verify.1.gz
/usr/share/man/man3/ts_close.3.gz
/usr/share/man/man3/ts_close_restricted.3.gz
/usr/share/man/man3/ts_conf_get.3.gz
/usr/share/man/man3/ts_conf_set.3.gz
/usr/share/man/man3/ts_config.3.gz
/usr/share/man/man3/ts_error_fn.3.gz
/usr/share/man/man3/ts_fd.3.gz
/usr/share/man/man3/ts_get_eventpath.3.gz
/usr/share/man/man3/ts_libversion.3.gz
/usr/share/man/man3/ts_open.3.gz
/usr/share/man/man3/ts_open_restricted.3.gz
/usr/share/man/man3/ts_print_ascii_logo.3.gz
/usr/share/man/man3/ts_read.3.gz
/usr/share/man/man3/ts_read_mt.3.gz
/usr/share/man/man3/ts_read_raw.3.gz
/usr/share/man/man3/ts_read_raw_mt.3.gz
/usr/share/man/man3/ts_setup.3.gz
/usr/share/man/man3/tslib_version.3.gz
/usr/share/man/man5/ts.conf.5.gz

References

Summary

In this tutorial we learn how to install tslib on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).