How To Install xiterm+thai on Ubuntu 18.04

In this tutorial we learn how to install xiterm+thai on Ubuntu 18.04. xiterm+thai is X terminal program with Thai languague support

Introduction

In this tutorial we learn how to install xiterm+thai on Ubuntu 18.04.

What is xiterm+thai

xiterm+thai is:

xiterm+thai is an X terminal emulator program with Thai language support. It has built-in Thai keyboard input support. You could also use the X11 XKB extension to input Thai characters.

A Thai TIS-620 font, such as one from xfonts-thai-nectec is needed to display Thai characters.

There are three methods to install xiterm+thai 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 xiterm+thai Using apt-get

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

sudo apt-get update

After updating apt database, We can install xiterm+thai using apt-get by running the following command:

sudo apt-get -y install xiterm+thai

Install xiterm+thai Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install xiterm+thai using apt by running the following command:

sudo apt -y install xiterm+thai

Install xiterm+thai 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 xiterm+thai using aptitude by running the following command:

sudo aptitude -y install xiterm+thai

How To Uninstall xiterm+thai on Ubuntu 18.04

To uninstall only the xiterm+thai package we can use the following command:

sudo apt-get remove xiterm+thai

Uninstall xiterm+thai And Its Dependencies

To uninstall xiterm+thai and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove xiterm+thai

Remove xiterm+thai Configurations and Data

To remove xiterm+thai configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge xiterm+thai

Remove xiterm+thai configuration, data, and all of its dependencies

We can use the following command to remove xiterm+thai configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge xiterm+thai

References

Summary

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