How To Install libt3key-dev on Debian 10
Introduction
In this tutorial we learn how to install libt3key-dev
on Debian 10.
What is libt3key-dev
libt3key-dev is:
The libt3key library provides functions for retrieving the character sequences used by terminals to represent keys pressed by the user. Although the terminfo database provides part of this information, it lacks information for the sequences returned by modern terminals/terminal emulators for many combinations of modifiers with other keys. For example, many terminal emulators provide separate character sequences for Control combined with the cursor keys, which is not stored in the terminfo database.
This package contains the header files to compile programs against libt3key.
There are three methods to install libt3key-dev
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libt3key-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libt3key-dev
using apt-get
by running the following command:
sudo apt-get -y install libt3key-dev
Install libt3key-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libt3key-dev
using apt
by running the following command:
sudo apt -y install libt3key-dev
Install libt3key-dev 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 libt3key-dev
using aptitude
by running the following command:
sudo aptitude -y install libt3key-dev
How To Uninstall libt3key-dev on Debian 10
To uninstall only the libt3key-dev
package we can use the following command:
sudo apt-get remove libt3key-dev
Uninstall libt3key-dev And Its Dependencies
To uninstall libt3key-dev
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libt3key-dev
Remove libt3key-dev Configurations and Data
To remove libt3key-dev
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libt3key-dev
Remove libt3key-dev configuration, data, and all of its dependencies
We can use the following command to remove libt3key-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libt3key-dev
Dependencies
libt3key-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libt3key-dev
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.