How To Install fonts-cns11643-sung on Ubuntu 18.04

In this tutorial we learn how to install fonts-cns11643-sung on Ubuntu 18.04. fonts-cns11643-sung is Chinese TrueType font, TW-Sung

Introduction

In this tutorial we learn how to install fonts-cns11643-sung on Ubuntu 18.04.

What is fonts-cns11643-sung

fonts-cns11643-sung is:

The CNS 11643 character set (Chinese National Standard 11643), also officially known as the “Chinese Standard Interchange Code”, is officially the standard character set of the Republic of China.

TW-Sung is released by RDEC, Executive Yuan, ROC. It covers the characters plane 1 to 9 defined by CNS11643.

There are three methods to install fonts-cns11643-sung 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 fonts-cns11643-sung Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install fonts-cns11643-sung using apt-get by running the following command:

sudo apt-get -y install fonts-cns11643-sung

Install fonts-cns11643-sung Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install fonts-cns11643-sung using apt by running the following command:

sudo apt -y install fonts-cns11643-sung

Install fonts-cns11643-sung 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 fonts-cns11643-sung using aptitude by running the following command:

sudo aptitude -y install fonts-cns11643-sung

How To Uninstall fonts-cns11643-sung on Ubuntu 18.04

To uninstall only the fonts-cns11643-sung package we can use the following command:

sudo apt-get remove fonts-cns11643-sung

Uninstall fonts-cns11643-sung And Its Dependencies

To uninstall fonts-cns11643-sung and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove fonts-cns11643-sung

Remove fonts-cns11643-sung Configurations and Data

To remove fonts-cns11643-sung configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge fonts-cns11643-sung

Remove fonts-cns11643-sung configuration, data, and all of its dependencies

We can use the following command to remove fonts-cns11643-sung configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge fonts-cns11643-sung

References

Summary

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