How To Install texlive-lang-japanese on Debian 9
Introduction
In this tutorial we learn how to install texlive-lang-japanese on Debian 9.
What is texlive-lang-japanese
texlive-lang-japanese is:
Support for Japanese; additional packages in collection- langcjk.
This package includes the following CTAN packages:
babel-japanese – Babel support for Japanese
bxbase – BX bundle base components
bxcjkjatype – Typeset Japanese with pdfLaTeX and CJK
bxjalipsum – Dummy text in Japanese
bxjscls – Japanese document class collection for all major engines
convbkmk – Correct platex/uplatex bookmarks in PDF created with hyperref
ipaex – IPA and IPAex fonts from Information-technology Promotion Agency, Japan.
japanese-otf – Advanced font selection for platex and its friends
japanese-otf-uptex – Support for Japanese OTF files in upLaTeX
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
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
ptex – A TeX system for publishing in Japanese
ptex-base – Plain TeX format and documents for pTeX and e-pTeX
ptex-fonts – Fonts for use with pTeX
ptex-fontmaps – Font maps and configuration tools for Japanese/Chinese/Korean fonts with (u)ptex
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
pxrubrica –
uplatex – pLaTeX2e and miscellaneous macros for upTeX
uptex – Unicode version of pTeX
uptex-base – Plain TeX format 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 9. 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 9
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 9, 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 9 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:
- tex-common
- fonts-ipaexfont-gothic
- fonts-ipaexfont-mincho
- fonts-ipafont-gothic
- fonts-ipafont-mincho
- ruby
- texlive-base
- texlive-binaries
- texlive-lang-cjk
References
Summary
In this tutorial we learn how to install texlive-lang-japanese package on Debian 9 using different package management tools: apt, apt-get and aptitude.