How To Install latex-cjk-japanese on Debian 10

Learn how to install latex-cjk-japanese on Debian 10 with this tutorial. latex-cjk-japanese is Japanese module of LaTeX CJK

Introduction

In this tutorial we learn how to install latex-cjk-japanese on Debian 10.

What is latex-cjk-japanese

latex-cjk-japanese is:

CJK is a macro package for LaTeX. This package gives you the possibility to include Japanese text in your (La)TeX documents. Install latex-cjk-japanese-wadalab for pretty printing.

Install hbf-kanji48 if you want to use bitmap fonts in your documents.

Have a look at latex-cjk-common for a more detailed description.

There are three methods to install latex-cjk-japanese on Debian 10. 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 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 using apt-get by running the following command:

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

Install latex-cjk-japanese Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install latex-cjk-japanese

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

sudo aptitude -y install latex-cjk-japanese

How To Uninstall latex-cjk-japanese on Debian 10

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

sudo apt-get remove latex-cjk-japanese

Uninstall latex-cjk-japanese And Its Dependencies

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

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

Remove latex-cjk-japanese Configurations and Data

To remove latex-cjk-japanese configuration and data from Debian 10 we can use the following command:

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

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

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

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

Dependencies

latex-cjk-japanese have the following dependencies:

References

Summary

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