How To Install libjs-typeahead.js on Debian 10
Introduction
In this tutorial we learn how to install libjs-typeahead.js
on Debian 10.
What is libjs-typeahead.js
libjs-typeahead.js is:
typeahead.js is a flexible JavaScript library that provides a strong foundation for building robust typeaheads.
The typeahead.js library consists of 2 components: the suggestion engine, Bloodhound, and the UI view, Typeahead. The suggestion engine is responsible for computing suggestions for a given query. The UI view is responsible for rendering suggestions and handling DOM interactions. Both components can be used separately, but when used together, they can provide a rich typeahead experience.
There are three methods to install libjs-typeahead.js
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 libjs-typeahead.js Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libjs-typeahead.js
using apt-get
by running the following command:
sudo apt-get -y install libjs-typeahead.js
Install libjs-typeahead.js Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libjs-typeahead.js
using apt
by running the following command:
sudo apt -y install libjs-typeahead.js
Install libjs-typeahead.js 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 libjs-typeahead.js
using aptitude
by running the following command:
sudo aptitude -y install libjs-typeahead.js
How To Uninstall libjs-typeahead.js on Debian 10
To uninstall only the libjs-typeahead.js
package we can use the following command:
sudo apt-get remove libjs-typeahead.js
Uninstall libjs-typeahead.js And Its Dependencies
To uninstall libjs-typeahead.js
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libjs-typeahead.js
Remove libjs-typeahead.js Configurations and Data
To remove libjs-typeahead.js
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libjs-typeahead.js
Remove libjs-typeahead.js configuration, data, and all of its dependencies
We can use the following command to remove libjs-typeahead.js
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libjs-typeahead.js
Dependencies
libjs-typeahead.js have the following dependencies:
References
Summary
In this tutorial we learn how to install libjs-typeahead.js
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.