How To Install texlive-lang-korean on Ubuntu 18.04

In this tutorial we learn how to install texlive-lang-korean on Ubuntu 18.04. texlive-lang-korean is TeX Live

Introduction

In this tutorial we learn how to install texlive-lang-korean on Ubuntu 18.04.

What is texlive-lang-korean

texlive-lang-korean is:

Support for Korean; additional packages in collection-langcjk.

This package includes the following CTAN packages:

baekmuk – Baekmuk Korean TrueType fonts

cjk-ko – Extension of the CJK package for Korean typesetting

kotex-oblivoir – A LaTeX document class for typesetting Korean documents

kotex-plain – Macros for typesetting Korean under Plain TeX

kotex-utf – Typeset Hangul, coded in UTF-8

kotex-utils – Utility scripts and support files for typesetting Korean

lshort-korean – Korean introduction to LaTeX

nanumtype1 – Type1 subfonts of Nanum Korean fonts

uhc – Fonts for the Korean language

unfonts-core – TrueType version of Un-fonts

unfonts-extra – TrueType version of Un-fonts

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

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

Install texlive-lang-korean Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install texlive-lang-korean

Install texlive-lang-korean 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install texlive-lang-korean

How To Uninstall texlive-lang-korean on Ubuntu 18.04

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

sudo apt-get remove texlive-lang-korean

Uninstall texlive-lang-korean And Its Dependencies

To uninstall texlive-lang-korean and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

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

Remove texlive-lang-korean Configurations and Data

To remove texlive-lang-korean configuration and data from Ubuntu 18.04 we can use the following command:

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

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

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

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

References

Summary

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