How To Install tran on Ubuntu 18.04

In this tutorial we learn how to install tran on Ubuntu 18.04. tran is transcribe between character scripts (alphabets)

Introduction

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

What is tran

tran is:

This tool lets you transliterate, with a ¼-hearted attempt at transcription, both ways between Latin and a number of other writing scripts. Thus for example the word “Debian” is “Дэбян” in Cyrillic or “Δεβιαν” in Greek. Conversion to Latin lets you understand foreign text (at least names if not meaning), conversion from Latin is for fun, i10n testing, etc.

Supported scripts:

  • latin
  • cyrillic
  • greek
  • devanagari
  • futhark (runes)
  • hiragana
  • katakana
  • old italic
  • gothic (Ulfilas’ — you may be looking for fraktur instead)
  • ascii (Latin without diacritics or digraphs)
  • fullwidth (double-width ASCII)
  • smallcaps
  • Unicode Plane 1 “math” characters: bold, italic, bold italic, script, bold script, fraktur, double-struck, bold fraktur, sans-serif, sans-serif bold, sans-serif italic, sans-serif bold italic, monospace
  • enclosed alphanumerics: circled, parenthesized, squared, negative circled, negative squared, regional indicators

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

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

sudo apt-get update

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

sudo apt-get -y install tran

Install tran Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install tran

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

sudo aptitude -y install tran

How To Uninstall tran on Ubuntu 18.04

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

sudo apt-get remove tran

Uninstall tran And Its Dependencies

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

sudo apt-get -y autoremove tran

Remove tran Configurations and Data

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

sudo apt-get -y purge tran

Remove tran configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge tran

References

Summary

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