How To Install libutf8proc-dev on Ubuntu 18.04

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

Introduction

In this tutorial we learn how to install libutf8proc-dev on Ubuntu 18.04.

What is libutf8proc-dev

libutf8proc-dev 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 the development files needed to compile software using utf8proc.

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

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

sudo apt-get update

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

sudo apt-get -y install libutf8proc-dev

Install libutf8proc-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libutf8proc-dev

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

sudo aptitude -y install libutf8proc-dev

How To Uninstall libutf8proc-dev on Ubuntu 18.04

To uninstall only the libutf8proc-dev package we can use the following command:

sudo apt-get remove libutf8proc-dev

Uninstall libutf8proc-dev And Its Dependencies

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

sudo apt-get -y autoremove libutf8proc-dev

Remove libutf8proc-dev Configurations and Data

To remove libutf8proc-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libutf8proc-dev

Remove libutf8proc-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libutf8proc-dev

References

Summary

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