How To Install khmerconverter on Ubuntu 18.04

In this tutorial we learn how to install khmerconverter on Ubuntu 18.04. khmerconverter is converts between legacy Khmer encodings and Unicode

Introduction

In this tutorial we learn how to install khmerconverter on Ubuntu 18.04.

What is khmerconverter

khmerconverter is:

khmerconverter converts files between Unicode and the legacy Khmer encodings based on fonts using the ASCII/ANSI range.

It currently supports plain text files, OpenDocument files (ODT) and HTML files encoded with UTF-8 and the ABC, ABC-ZWSP, Baidok, Fk, Khek, Limon and Truth legacy Khmer fonts.

Please install python-tk and tix to use the graphical interface (GUI).

Homepage: http://www.khmeros.info/drupal/?q=en/download/converter

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

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

sudo apt-get update

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

sudo apt-get -y install khmerconverter

Install khmerconverter Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install khmerconverter using apt by running the following command:

sudo apt -y install khmerconverter

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

sudo aptitude -y install khmerconverter

How To Uninstall khmerconverter on Ubuntu 18.04

To uninstall only the khmerconverter package we can use the following command:

sudo apt-get remove khmerconverter

Uninstall khmerconverter And Its Dependencies

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

sudo apt-get -y autoremove khmerconverter

Remove khmerconverter Configurations and Data

To remove khmerconverter configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge khmerconverter

Remove khmerconverter configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge khmerconverter

References

Summary

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