How To Install libtext-levenshteinxs-perl on Debian 9
Introduction
In this tutorial we learn how to install libtext-levenshteinxs-perl
on Debian 9.
What is libtext-levenshteinxs-perl
libtext-levenshteinxs-perl is:
Text::LevenshteinXS implements the Levenshtein edit distance in a XS way; this should be much faster than the pure Perl implementation.
The Levenshtein edit distance is a measure of the degree of proximity between two strings. This distance is the number of substitutions, deletions or insertions (“edits”) needed to transform one string into the other one (and vice versa). When two strings have distance 0, they are the same.
There are three methods to install libtext-levenshteinxs-perl
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libtext-levenshteinxs-perl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libtext-levenshteinxs-perl
using apt-get
by running the following command:
sudo apt-get -y install libtext-levenshteinxs-perl
Install libtext-levenshteinxs-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libtext-levenshteinxs-perl
using apt
by running the following command:
sudo apt -y install libtext-levenshteinxs-perl
Install libtext-levenshteinxs-perl 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 libtext-levenshteinxs-perl
using aptitude
by running the following command:
sudo aptitude -y install libtext-levenshteinxs-perl
How To Uninstall libtext-levenshteinxs-perl on Debian 9
To uninstall only the libtext-levenshteinxs-perl
package we can use the following command:
sudo apt-get remove libtext-levenshteinxs-perl
Uninstall libtext-levenshteinxs-perl And Its Dependencies
To uninstall libtext-levenshteinxs-perl
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libtext-levenshteinxs-perl
Remove libtext-levenshteinxs-perl Configurations and Data
To remove libtext-levenshteinxs-perl
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libtext-levenshteinxs-perl
Remove libtext-levenshteinxs-perl configuration, data, and all of its dependencies
We can use the following command to remove libtext-levenshteinxs-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libtext-levenshteinxs-perl
Dependencies
libtext-levenshteinxs-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libtext-levenshteinxs-perl
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.