How To Install tslib on Fedora 34
Introduction
In this tutorial we learn how to install tslib
on Fedora 34.
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. tslib 1.22 3.fc34 x86_64 141 k tslib-1.22-3.fc34.src.rpm fedora Touchscreen Access Library https LGPLv2 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install tslib.
Install tslib on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install tslib
using dnf
by running the following command:
sudo dnf -y install tslib
Install tslib on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the tslib
package we can use the following command:
sudo dnf remove tslib
tslib Package Contents on Fedora 34
/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/01
/usr/lib/.build-id/01/125dedba4e2a8b7a5380efa4052b4097c6ab06
/usr/lib/.build-id/14
/usr/lib/.build-id/14/04c9a5d705633f1f4df6d59802156fd60e2806
/usr/lib/.build-id/18
/usr/lib/.build-id/18/2394b7d33cd1b9b32fda92175fe63d7001890d
/usr/lib/.build-id/46
/usr/lib/.build-id/46/9c7e977f662113b57f22862c9d291a43e77b5b
/usr/lib/.build-id/47
/usr/lib/.build-id/47/de450725c2e10b81f9352fd8a6d38b282da2d1
/usr/lib/.build-id/48
/usr/lib/.build-id/48/e36cfce8f3dcc9e69a8f245ac860b6dc43f8d3
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/b9b732aa61e162f70cc88fdbecbb77d08b794f
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/61221bdf538b7d52a30695f2b8a36d6f15abb6
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/78037eb55a41eb0a19273e112a6227568865db
/usr/lib/.build-id/77
/usr/lib/.build-id/77/60dfe010d592414336cd41ddec076be760684c
/usr/lib/.build-id/79
/usr/lib/.build-id/79/c0a8a4fa4504614cfbc8fba87a8eeab6d719ef
/usr/lib/.build-id/92
/usr/lib/.build-id/92/41c84390e19e83ba64b5a3e47627bc34db15a5
/usr/lib/.build-id/96
/usr/lib/.build-id/96/616775e66d3c6947587dcb96aac17715ebaf1e
/usr/lib/.build-id/96/a883118fe0ed8ecf2a9003aad7b77f4144524c
/usr/lib/.build-id/96/e4179c1bada1601d0e8a6b54e001b0f4bc1824
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/9ce2089044034eb323e3d4bdc59d49e8b19da8
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/ca6cd1d3149449562fb66b307d9da2e91aa28c
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/01924a44788cc9b38722a89f3b2ddd04ef7a5b
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/e359a8794e8b75c51639c8cd2cbb31091709d8
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/024777c80deb17e8d9dcc05ad27ea440741318
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/98f1385dfd13ba88ca5fcac28d7ab5feb53bfa
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/736fd54302b49ddef648397c9df9ad5a004ba1
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/3be914d6d5b3940abd2418e426514072b00d81
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/7d7e15e4742f8bfe40c51bd89c06b2136d7585
/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
/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/48c9394e4497bd8b6d444dae36ef949bb1a12f
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/091d8ba396b0921a5b5d84a19aa882c036f9a3
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/f04ede123ed88c3784ea73344e949518a9f082
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/fd51d0c758354f886d8fbf626535c9a7c8fb8a
/usr/lib/.build-id/45
/usr/lib/.build-id/45/f552f7351da8359f7bc6ab12053c127a34be69
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/acf47ed9686d0d831c659ed7988563f46d08a7
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/30926033c206537890b8e2941c0cc8a1499214
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/9b86c65ef84971b38edd5aa1a4a23fde2a7a3d
/usr/lib/.build-id/59
/usr/lib/.build-id/59/16bdd2f7be20ed0765d8cdaf76036433eb894c
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/65eeab5fc66fdb17f4381c298cd5cc5c3569b4
/usr/lib/.build-id/62
/usr/lib/.build-id/62/f7a338243ea6c2ed95451a7df12e90a4dc27c9
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/4cd42098ba41568c23b1ae79707b402ff1a532
/usr/lib/.build-id/79
/usr/lib/.build-id/79/bd014cbff1978b090bbf74c913163d7ea89190
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/d44a0a72b4ee940caeb02c3f81d205dad5ba7c
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/0d26977e4d169f455a0cba07381219bb55e2c4
/usr/lib/.build-id/90
/usr/lib/.build-id/90/ec8d74c8c81a8bdcdc615b53e55d0fcb225826
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/6f2bbda81b3956c347349f3593f6389e906ecb
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/cedb0778415ad380275eb0aa4cff77870db8fe
/usr/lib/.build-id/af
/usr/lib/.build-id/af/266499cb50ccd588358a883ae85c3e1319dc14
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/65e6714f0da4e059d6581d816d1579c5bb51e1
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/517e654670774f70b28ce616f22839d0ff90fb
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/ecaf4f67f12877bd517fc6ebaedac29e157d9f
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/57becd0ee14b20cd2b95af09261099f86367f2
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/4ef9d367e80a36edbaf3d324a4f7ed050208cb
/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
References
- [tslib website](https://github.com/kergoth/tslib https://github.com/kergoth/tslib)
Summary
In this tutorial we learn how to install tslib
on Fedora 34 using yum and dnf.