How To Install latex-cjk-japanese-wadalab on Kali Linux

In this tutorial we learn how to install latex-cjk-japanese-wadalab on Kali Linux. latex-cjk-japanese-wadalab is type1 and tfm DNP Japanese fonts for latex-cjk

Introduction

In this tutorial we learn how to install latex-cjk-japanese-wadalab on Kali Linux.

What is latex-cjk-japanese-wadalab

latex-cjk-japanese-wadalab is:

This package installs Type1 and TFM fonts from a DNP font called “Wadalab”. You’ll get three flavours: Mincho, Gothic and Maru.

DNP stands for “Dai Nippon Printing” (a big printing company in Japan). DNP fonts are commercial fonts made by this company; if real DNP fonts have been already installed at your site, you should use them. But watanabe-dnp fonts (like Wadalab), which are customized from watanabe-jfonts to emulate DNP fonts, are freeware. The method of emulation is symbolic name linking.

These Type1 fonts differ from those in the gsfonts-wadalab package, because CJK author Werner Lemberg has introduced some fixes.

There are three methods to install latex-cjk-japanese-wadalab 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 latex-cjk-japanese-wadalab Using apt-get

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

sudo apt-get update

After updating apt database, We can install latex-cjk-japanese-wadalab using apt-get by running the following command:

sudo apt-get -y install latex-cjk-japanese-wadalab

Install latex-cjk-japanese-wadalab Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install latex-cjk-japanese-wadalab using apt by running the following command:

sudo apt -y install latex-cjk-japanese-wadalab

Install latex-cjk-japanese-wadalab 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 latex-cjk-japanese-wadalab using aptitude by running the following command:

sudo aptitude -y install latex-cjk-japanese-wadalab

How To Uninstall latex-cjk-japanese-wadalab on Kali Linux

To uninstall only the latex-cjk-japanese-wadalab package we can use the following command:

sudo apt-get remove latex-cjk-japanese-wadalab

Uninstall latex-cjk-japanese-wadalab And Its Dependencies

To uninstall latex-cjk-japanese-wadalab and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove latex-cjk-japanese-wadalab

Remove latex-cjk-japanese-wadalab Configurations and Data

To remove latex-cjk-japanese-wadalab configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge latex-cjk-japanese-wadalab

Remove latex-cjk-japanese-wadalab configuration, data, and all of its dependencies

We can use the following command to remove latex-cjk-japanese-wadalab configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge latex-cjk-japanese-wadalab

Dependencies

latex-cjk-japanese-wadalab have the following dependencies:

References

Summary

In this tutorial we learn how to install latex-cjk-japanese-wadalab package on Kali Linux using different package management tools: apt, apt-get and aptitude.