How To Install darts on Kali Linux
Introduction
In this tutorial we learn how to install darts
on Kali Linux.
What is darts
darts is:
Darts is simple C++ Template Library for implementation of Double-Array Structure.
A double-array structure is a kind of Trie structure, digital search tree, an efficient data structure combining fast access of a matrix form with the compactness of a list form. It is faster than other implementations like Hash tree, Patricia tree, Suffix Array and so.
For more detail about double-array structure, see “Aoe, J. An Efficient Digital Search Algorithm by Using a Double-Array Structure. IEEE Transactions on Software Engineering. Vol. 15, 9 (Sep 1989). pp. 1066-1077.”
This software provides indexing operations for Common Prefix Search. Darts is used for MeCab and ChaSen, Japanese Morphological Analysis System.
There are three methods to install darts
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install darts Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install darts
using apt-get
by running the following command:
sudo apt-get -y install darts
Install darts Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install darts
using apt
by running the following command:
sudo apt -y install darts
Install darts Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install darts
using aptitude
by running the following command:
sudo aptitude -y install darts
How To Uninstall darts on Kali Linux
To uninstall only the darts
package we can use the following command:
sudo apt-get remove darts
Uninstall darts And Its Dependencies
To uninstall darts
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove darts
Remove darts Configurations and Data
To remove darts
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge darts
Remove darts configuration, data, and all of its dependencies
We can use the following command to remove darts
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge darts
Dependencies
darts have the following dependencies:
References
Summary
In this tutorial we learn how to install darts
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.