How To Install texlive-lang-chinese on Debian 10

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

Introduction

In this tutorial we learn how to install texlive-lang-chinese on Debian 10.

What is texlive-lang-chinese

texlive-lang-chinese is:

Support for Chinese; additional packages in collection-langcjk.

This package includes the following CTAN packages:

arphic-ttf – TrueType version of Chinese Arphic fonts

asymptote-by-example-zh-cn – Asymptote by example

asymptote-faq-zh-cn – Asymptote FAQ (Chinese translation)

asymptote-manual-zh-cn – A Chinese translation of the asymptote manual

cns – Chinese/Japanese/Korean bitmap fonts

ctex – LaTeX classes and packages for Chinese typesetting

ctex-faq – LaTeX FAQ by the Chinese TeX Society (ctex.org)

fandol – Four basic fonts for Chinese typesetting

fduthesis – LaTeX thesis template for Fudan University

hyphen-chinese – Chinese pinyin hyphenation patterns.

impatient-cn – Free edition of the book “TeX for the Impatient”

latex-notes-zh-cn – Chinese Introduction to TeX and LaTeX

lshort-chinese – Introduction to LaTeX, in Chinese

njurepo – Reports for the Nanjing University

pgfornament-han – pgfornament library for Chinese traditional motifs and patterns

texlive-zh-cn – TeX Live manual (Chinese)

texproposal – A proposal prototype for LaTeX promotion in Chinese universities

xtuthesis – XTU thesis template

upzhkinsoku – Supplementary Chinese kinsoku for Unicode *pTeX

xpinyin – Automatically add pinyin to Chinese characters

zhlineskip – Line spacing for CJK documents

zhlipsum – Chinese dummy text

zhmetrics – TFM subfont files for using Chinese fonts in 8-bit TeX

zhmetrics-uptex – Chinese font metrics for upTeX

zhnumber – Typeset Chinese representations of numbers

zhspacing – Spacing for mixed CJK-English documents in XeTeX

There are three methods to install texlive-lang-chinese 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 texlive-lang-chinese 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-chinese using apt-get by running the following command:

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

Install texlive-lang-chinese Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install texlive-lang-chinese

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

sudo aptitude -y install texlive-lang-chinese

How To Uninstall texlive-lang-chinese on Debian 10

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

sudo apt-get remove texlive-lang-chinese

Uninstall texlive-lang-chinese And Its Dependencies

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

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

Remove texlive-lang-chinese Configurations and Data

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

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

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

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

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

Dependencies

texlive-lang-chinese have the following dependencies:

References

Summary

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