How To Install libts-bin on Debian 11

In this tutorial we learn how to install libts-bin on Debian 11. libts-bin is touch screen library utilities

Introduction

In this tutorial we learn how to install libts-bin on Debian 11.

What is libts-bin

libts-bin is:

Tslib is an abstraction layer for touchscreen panel events, as well as a filter stack for the manipulation of those events.

This package contains programs like ts_calibrate or ts_uinput that can be useful when developing, testing or deploying applications using tslib.

There are three methods to install libts-bin on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libts-bin Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libts-bin using apt-get by running the following command:

sudo apt-get -y install libts-bin

Install libts-bin Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libts-bin using apt by running the following command:

sudo apt -y install libts-bin

Install libts-bin Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libts-bin using aptitude by running the following command:

sudo aptitude -y install libts-bin

How To Uninstall libts-bin on Debian 11

To uninstall only the libts-bin package we can use the following command:

sudo apt-get remove libts-bin

Uninstall libts-bin And Its Dependencies

To uninstall libts-bin and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove libts-bin

Remove libts-bin Configurations and Data

To remove libts-bin configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libts-bin

Remove libts-bin configuration, data, and all of its dependencies

We can use the following command to remove libts-bin configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libts-bin

Dependencies

libts-bin have the following dependencies:

References

Summary

In this tutorial we learn how to install libts-bin package on Debian 11 using different package management tools: apt, apt-get and aptitude.