How To Install texlive-lang-japanese on Kali Linux

In this tutorial we learn how to install texlive-lang-japanese on Kali Linux. texlive-lang-japanese is TeX Live

Introduction

In this tutorial we learn how to install texlive-lang-japanese on Kali Linux.

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

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

gentombow – Generate Japanese-style crop marks

haranoaji – Harano Aji Fonts

haranoaji-extra – Harano Aji Fonts

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

ifxptex – Detect pTeX and its derivatives

ipaex – IPA (Japanese) fonts

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

japanese-otf-uptex – Support for Japanese OTF files in upLaTeX

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

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

jsclasses – Classes tailored for use with Japanese

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

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

sudo aptitude -y install texlive-lang-japanese

How To Uninstall texlive-lang-japanese on Kali Linux

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 Kali Linux, 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 Kali Linux 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 Kali Linux using different package management tools: apt, apt-get and aptitude.