How To Install texlive-lang-japanese on Debian 12

Learn how to install texlive-lang-japanese on Debian 12 with this tutorial. texlive-lang-japanese is TeX Live

Introduction

In this tutorial we learn how to install texlive-lang-japanese on Debian 12.

What is texlive-lang-japanese

texlive-lang-japanese is:

Support for Japanese; additional packages are in collection-langcjk.

This package includes the following CTAN packages:

ascmac – Boxes and picture macros with Japanese vertical writing support

asternote – Annotation symbols enclosed in square brackets and marked with an asterisk

babel-japanese – Babel support for Japanese

bxbase – BX bundle base components

bxcjkjatype – Typeset Japanese with pdfLaTeX and CJK

bxghost – Ghost insertion for proper xkanjiskip

bxjaholiday – Support for Japanese holidays

bxjalipsum – Dummy text in Japanese

bxjaprnind – Adjust the position of parentheses at paragraph head

bxjatoucs – Convert Japanese character code to Unicode

bxjscls – Japanese document class collection for all major engines

bxorigcapt – To retain the original caption names when using Babel

bxwareki – Convert dates from Gregorian to Japanese calender

convbkmk – Correct platex/uplatex bookmarks in PDF created with hyperref

endnotesj – Japanese-style endnotes

gckanbun – Kanbun typesetting for (u)pLaTeX and LuaLaTeX

gentombow – Generate Japanese-style crop marks

haranoaji – Harano Aji Fonts

haranoaji-extra – Harano Aji Fonts

ieejtran – Unofficial bibliography style file for the Institute of Electrical Engineers of Japan

ifptex – Check if the engine is pTeX or one of its derivatives

ifxptex – Detect pTeX and its derivatives

ipaex – IPA (Japanese) fonts

japanese-mathformulas – Compiling basic math formulas in Japanese using LuaLaTeX

japanese-otf – Advanced font selection for platex and its friends

jieeetran – UnofficiaL BibTeX style for citing Japanese articles in IEEE format

jlreq – Japanese document class based on requirements for Japanese text layout

jlreq-deluxe – Multi-weight Japanese font support for the jlreq class

jpneduenumerate – Enumerative expressions in Japanese education

jpnedumathsymbols – Mathematical equation representation in Japanese education

jsclasses – Classes tailored for use with Japanese

kanbun – Typeset kanbun-kundoku with support for kanbun annotation

lshort-japanese – Japanese version of A Short Introduction to LaTeX2e

luatexja – Typeset Japanese with Lua(La)TeX

mendex-doc – Documentation for Mendex index processor

morisawa – Enables selection of 5 standard Japanese fonts for pLaTeX + dvips

pbibtex-base – Bibliography styles and miscellaneous files for pBibTeX

pbibtex-manual – Documentation files for (u)pBibTeX

platex – pLaTeX2e and miscellaneous macros for pTeX

platex-tools – pLaTeX standard tools bundle

platexcheat – A LaTeX cheat sheet, in Japanese

plautopatch – Automated patches for pLaTeX/upLaTeX

ptex – A TeX system for publishing in Japanese

ptex-base – Plain TeX format for pTeX and e-pTeX

ptex-fontmaps – Font maps and configuration tools for Japanese/Chinese/Korean fonts with (u)ptex

ptex-fonts – Fonts for use with pTeX

ptex-manual – Japanese pTeX manual

ptex2pdf – Convert Japanese TeX documents to PDF

pxbase – Tools for use with (u)pLaTeX

pxchfon – Japanese font setup for pLaTeX and upLaTeX

pxcjkcat – LaTeX interface for the CJK category codes of upTeX

pxjahyper – Hyperref support for pLaTeX

pxjodel – Help change metrics of fonts from japanese-otf

pxrubrica – Ruby annotations according to JIS X 4051

pxufont – Emulate non-Unicode Japanese fonts using Unicode fonts

texlive-ja – TeX Live manual (Japanese)

uplatex – pLaTeX2e and miscellaneous macros for upTeX

uptex – Unicode version of pTeX

uptex-base – Plain TeX formats and documents for upTeX

uptex-fonts – Fonts for use with upTeX

zxjafbfont – Fallback CJK font support for xeCJK

zxjatype – Standard conforming typesetting of Japanese, for XeLaTeX

There are three methods to install texlive-lang-japanese on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install texlive-lang-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 texlive-lang-japanese using apt-get by running the following command:

sudo apt-get -y install texlive-lang-japanese

Install texlive-lang-japanese Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install texlive-lang-japanese

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

sudo aptitude -y install texlive-lang-japanese

How To Uninstall texlive-lang-japanese on Debian 12

To uninstall only the texlive-lang-japanese package we can use the following command:

sudo apt-get remove texlive-lang-japanese

Uninstall texlive-lang-japanese And Its Dependencies

To uninstall texlive-lang-japanese and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove texlive-lang-japanese

Remove texlive-lang-japanese Configurations and Data

To remove texlive-lang-japanese configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge texlive-lang-japanese

Remove texlive-lang-japanese configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge texlive-lang-japanese

Dependencies

texlive-lang-japanese have the following dependencies:

References

Summary

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