How To Install tslib on CentOS 7
Introduction
In this tutorial we learn how to install tslib on CentOS 7.
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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install tslib.
Install tslib on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install tslib using yum by running the following command:
sudo yum -y install tslib
Install tslib on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install tslib using dnf by running the following command:
sudo dnf -y install tslib
How To Uninstall tslib on CentOS 7
To uninstall only the tslib package we can use the following command:
sudo dnf remove tslib
References
Summary
In this tutorial we learn how to install tslib on CentOS 7 using yum and dnf.