How To Install libutf8proc2 on Ubuntu 18.04

In this tutorial we learn how to install libutf8proc2 on Ubuntu 18.04. libutf8proc2 is C library for processing UTF-8 Unicode data (shared library)

Introduction

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

What is libutf8proc2

libutf8proc2 is:

utf8proc is a small, clean C library that provides Unicode normalization, case-folding, and other operations for data in the UTF-8 encoding, supporting Unicode version 8.0.

This package contains a shared version of the library.

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

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

sudo apt-get update

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

sudo apt-get -y install libutf8proc2

Install libutf8proc2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libutf8proc2

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

sudo aptitude -y install libutf8proc2

How To Uninstall libutf8proc2 on Ubuntu 18.04

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

sudo apt-get remove libutf8proc2

Uninstall libutf8proc2 And Its Dependencies

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

sudo apt-get -y autoremove libutf8proc2

Remove libutf8proc2 Configurations and Data

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

sudo apt-get -y purge libutf8proc2

Remove libutf8proc2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libutf8proc2

References

Summary

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