How To Install libtecla-dev on Debian 11
Introduction
In this tutorial we learn how to install libtecla-dev
on Debian 11.
What is libtecla-dev
libtecla-dev is:
The tecla library provides UNIX and LINUX programs with interactive command line editing facilities, similar to those of the UNIX tcsh shell. In addition to simple command-line editing, it supports recall of previously entered command lines, TAB completion of file names or other tokens, and in-line wild-card expansion of filenames. The internal functions which perform file-name completion and wild-card expansion are also available externally for optional use by programs.
In addition, the library includes a path-searching module. This allows an application to provide completion and lookup of files located in UNIX style paths. Although not built into the line editor by default, it can easily be called from custom tab-completion callback functions. This was originally conceived for completing the names of executables and providing a way to look up their locations in the user’s PATH environment variable, but it can easily be asked to look up and complete other types of files in any list of directories.
Note that special care has been taken to allow the use of this library in threaded programs. The option to enable this is discussed in the Makefile, and specific discussions of thread safety are presented in the included man pages.
This package contains the development files and documentation for developing applications using the tecla library.
There are three methods to install libtecla-dev
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 libtecla-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 libtecla-dev
using apt-get
by running the following command:
sudo apt-get -y install libtecla-dev
Install libtecla-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libtecla-dev
using apt
by running the following command:
sudo apt -y install libtecla-dev
Install libtecla-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 libtecla-dev
using aptitude
by running the following command:
sudo aptitude -y install libtecla-dev
How To Uninstall libtecla-dev on Debian 11
To uninstall only the libtecla-dev
package we can use the following command:
sudo apt-get remove libtecla-dev
Uninstall libtecla-dev And Its Dependencies
To uninstall libtecla-dev
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libtecla-dev
Remove libtecla-dev Configurations and Data
To remove libtecla-dev
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libtecla-dev
Remove libtecla-dev configuration, data, and all of its dependencies
We can use the following command to remove libtecla-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libtecla-dev
Dependencies
libtecla-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libtecla-dev
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.