How To Install libicu on CentOS 7

In this tutorial we learn how to install libicu on CentOS 7. libicu is International Components for Unicode - libraries

Introduction

In this tutorial we learn how to install libicu on CentOS 7.

What is libicu

The International Components for Unicode (ICU) libraries provide robust and full-featured Unicode services on a wide variety of platforms. ICU supports the most current version of the Unicode standard, and they provide support for supplementary Unicode characters (needed for GB 18030 repertoire support). As computing environments become more heterogeneous, software portability becomes more important. ICU lets you produce the same results across all the various platforms you support, without sacrificing performance. It offers great flexibility to extend and customize the supplied services. The International Components for Unicode (ICU) libraries provide robust and full-featured Unicode services on a wide variety of platforms. ICU supports the most current version of the Unicode standard, and they provide support for supplementary Unicode characters (needed for GB 18030 repertoire support). As computing environments become more heterogeneous, software portability becomes more important. ICU lets you produce the same results across all the various platforms you support, without sacrificing performance. It offers great flexibility to extend and customize the supplied services.

We can use yum or dnf to install libicu on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libicu.

Install libicu on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install libicu using yum by running the following command:

sudo yum -y install libicu

Install libicu on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install libicu using dnf by running the following command:

sudo dnf -y install libicu

How To Uninstall libicu on CentOS 7

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

sudo dnf remove libicu

References

Summary

In this tutorial we learn how to install libicu on CentOS 7 using yum and dnf.