How To Install fonts-thai-tlwg-web on Ubuntu 18.04

In this tutorial we learn how to install fonts-thai-tlwg-web on Ubuntu 18.04. fonts-thai-tlwg-web is Thai web fonts maintained by TLWG

Introduction

In this tutorial we learn how to install fonts-thai-tlwg-web on Ubuntu 18.04.

What is fonts-thai-tlwg-web

fonts-thai-tlwg-web is:

This package provides Thai fonts from TLWG in WOFF format for use in web font services.

This includes:

  • Serif fonts: Kinnari, Norasi
  • San Serif fonts: Garuda, Umpush, Laksaman
  • UI fonts: Loma, Waree
  • Monospace fonts: Tlwg Mono, Tlwg Typewriter, Tlwg Typist, Tlwg Typo
  • Decorative fonts: Sawasdee
  • Handwriting fonts: Purisa

There are three methods to install fonts-thai-tlwg-web 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-thai-tlwg-web 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-thai-tlwg-web using apt-get by running the following command:

sudo apt-get -y install fonts-thai-tlwg-web

Install fonts-thai-tlwg-web Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install fonts-thai-tlwg-web using apt by running the following command:

sudo apt -y install fonts-thai-tlwg-web

Install fonts-thai-tlwg-web 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-thai-tlwg-web using aptitude by running the following command:

sudo aptitude -y install fonts-thai-tlwg-web

How To Uninstall fonts-thai-tlwg-web on Ubuntu 18.04

To uninstall only the fonts-thai-tlwg-web package we can use the following command:

sudo apt-get remove fonts-thai-tlwg-web

Uninstall fonts-thai-tlwg-web And Its Dependencies

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

sudo apt-get -y autoremove fonts-thai-tlwg-web

Remove fonts-thai-tlwg-web Configurations and Data

To remove fonts-thai-tlwg-web configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge fonts-thai-tlwg-web

Remove fonts-thai-tlwg-web configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge fonts-thai-tlwg-web

References

Summary

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