How To Install libghc-unicode-transforms-doc on Ubuntu 18.04

In this tutorial we learn how to install libghc-unicode-transforms-doc on Ubuntu 18.04. libghc-unicode-transforms-doc is Fast Unicode 9.0 normalization in Haskell; documentation

Introduction

In this tutorial we learn how to install libghc-unicode-transforms-doc on Ubuntu 18.04.

What is libghc-unicode-transforms-doc

libghc-unicode-transforms-doc is:

Unicode characters with adornments (e.g. Á) can be represented in two different forms, as a single composed character (U+00C1 = Á) or as multiple decomposed characters (U+0041(A) U+0301( ́ ) = Á). They are differently encoded byte sequences but for humans they have exactly the same visual appearance.

A regular byte comparison may tell that two strings are different even though they might be equivalent. Both strings need to be converted in a normalized form using the Unicode Character Database before they can be compared for equivalence.

This library implements fast Unicode 9.0 normalization in Haskell (NFC, NFKC, NFD, NFKD).

This package provides the documentation for a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.

There are three methods to install libghc-unicode-transforms-doc 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 libghc-unicode-transforms-doc Using apt-get

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

sudo apt-get update

After updating apt database, We can install libghc-unicode-transforms-doc using apt-get by running the following command:

sudo apt-get -y install libghc-unicode-transforms-doc

Install libghc-unicode-transforms-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libghc-unicode-transforms-doc using apt by running the following command:

sudo apt -y install libghc-unicode-transforms-doc

Install libghc-unicode-transforms-doc 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 libghc-unicode-transforms-doc using aptitude by running the following command:

sudo aptitude -y install libghc-unicode-transforms-doc

How To Uninstall libghc-unicode-transforms-doc on Ubuntu 18.04

To uninstall only the libghc-unicode-transforms-doc package we can use the following command:

sudo apt-get remove libghc-unicode-transforms-doc

Uninstall libghc-unicode-transforms-doc And Its Dependencies

To uninstall libghc-unicode-transforms-doc and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libghc-unicode-transforms-doc

Remove libghc-unicode-transforms-doc Configurations and Data

To remove libghc-unicode-transforms-doc configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libghc-unicode-transforms-doc

Remove libghc-unicode-transforms-doc configuration, data, and all of its dependencies

We can use the following command to remove libghc-unicode-transforms-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libghc-unicode-transforms-doc

References

Summary

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