How To Install kakasi-dic on Ubuntu 18.04

In this tutorial we learn how to install kakasi-dic on Ubuntu 18.04. kakasi-dic is KAKASI dictionary files

Introduction

In this tutorial we learn how to install kakasi-dic on Ubuntu 18.04.

What is kakasi-dic

kakasi-dic is:

This package provides KAKASI dictionary files. You have to install this package if you use KAKASI.

KAKASI is the language processing filter to convert Kanji characters to Hiragana, Katakana or Romaji(1) and may be helpful to read Japanese documents.

(1) “Romaji” is alphabetical description of Japanese pronunciation.

There are three methods to install kakasi-dic on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install kakasi-dic Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install kakasi-dic using apt-get by running the following command:

sudo apt-get -y install kakasi-dic

Install kakasi-dic Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install kakasi-dic using apt by running the following command:

sudo apt -y install kakasi-dic

Install kakasi-dic 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install kakasi-dic using aptitude by running the following command:

sudo aptitude -y install kakasi-dic

How To Uninstall kakasi-dic on Ubuntu 18.04

To uninstall only the kakasi-dic package we can use the following command:

sudo apt-get remove kakasi-dic

Uninstall kakasi-dic And Its Dependencies

To uninstall kakasi-dic and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove kakasi-dic

Remove kakasi-dic Configurations and Data

To remove kakasi-dic configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge kakasi-dic

Remove kakasi-dic configuration, data, and all of its dependencies

We can use the following command to remove kakasi-dic configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge kakasi-dic

References

Summary

In this tutorial we learn how to install kakasi-dic package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.