How To Install mecab-naist-jdic-eucjp on Kali Linux
Introduction
In this tutorial we learn how to install mecab-naist-jdic-eucjp on Kali Linux.
What is mecab-naist-jdic-eucjp
mecab-naist-jdic-eucjp is:
NAIST Japanese Dictionary is a Dictionary for MeCab, Japanese morphological analysis implementation.
This is based on mecab-ipadic, however it is released under BSD style license now by NAIST (Nara Institute of Science and Technology, Japan), so it is free and can replace mecab-ipadic.
This package provides EUC-JP data, not UTF-8.
There are three methods to install mecab-naist-jdic-eucjp 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 mecab-naist-jdic-eucjp Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install mecab-naist-jdic-eucjp using apt-get by running the following command:
sudo apt-get -y install mecab-naist-jdic-eucjpInstall mecab-naist-jdic-eucjp Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install mecab-naist-jdic-eucjp using apt by running the following command:
sudo apt -y install mecab-naist-jdic-eucjpInstall mecab-naist-jdic-eucjp 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 updateAfter updating apt database, We can install mecab-naist-jdic-eucjp using aptitude by running the following command:
sudo aptitude -y install mecab-naist-jdic-eucjpHow To Uninstall mecab-naist-jdic-eucjp on Kali Linux
To uninstall only the mecab-naist-jdic-eucjp package we can use the following command:
sudo apt-get remove mecab-naist-jdic-eucjpUninstall mecab-naist-jdic-eucjp And Its Dependencies
To uninstall mecab-naist-jdic-eucjp and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove mecab-naist-jdic-eucjpRemove mecab-naist-jdic-eucjp Configurations and Data
To remove mecab-naist-jdic-eucjp configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge mecab-naist-jdic-eucjpRemove mecab-naist-jdic-eucjp configuration, data, and all of its dependencies
We can use the following command to remove mecab-naist-jdic-eucjp configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mecab-naist-jdic-eucjpDependencies
mecab-naist-jdic-eucjp have the following dependencies:
References
Summary
In this tutorial we learn how to install mecab-naist-jdic-eucjp package on Kali Linux using different package management tools: apt, apt-get and aptitude.