How To Install icu on Fedora 34

icu is International Components for Unicode

Introduction

In this tutorial we learn how to install icu on Fedora 34.

What is icu

Tools and utilities for developing with icu.

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

Install icu on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install icu

Install icu on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install icu

How To Uninstall icu on Fedora 34

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

sudo dnf remove icu

icu Package Contents on Fedora 34

/usr/bin/derb
/usr/bin/genbrk
/usr/bin/gencfu
/usr/bin/gencnval
/usr/bin/gendict
/usr/bin/genrb
/usr/bin/makeconv
/usr/bin/pkgdata
/usr/bin/uconv
/usr/lib/.build-id
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/42a33618b6467e7507507632346547e939abf3
/usr/lib/.build-id/40
/usr/lib/.build-id/40/43eeb0db4e310709b564eab45113b394b9a63c
/usr/lib/.build-id/42
/usr/lib/.build-id/42/9baa6cc3d940a7fef90aea31c864c41f47ed94
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/234656fe30d27744c46733e9ecdc80b69afa00
/usr/lib/.build-id/53
/usr/lib/.build-id/53/1f2fde0b084c3c37817b747fe76b31a17469ed
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/910d1ff4fb6b3c1d46c6e3e0e9b0eca8ce94fd
/usr/lib/.build-id/72
/usr/lib/.build-id/72/393dba01ba1667cd79dd8702fec96795e1bad8
/usr/lib/.build-id/72/6f63fe4a47ec0314f7b26f21b208cff3a8d303
/usr/lib/.build-id/78
/usr/lib/.build-id/78/5a3985c8bc7228681807a12539d80522fa7115
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/83003f2ec4503da90c3413cd9e5942d0ca9574
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/085775b46ec2c19cc1c07ff5e1c76102181bbf
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/f7abcc1ceb7d44fe3396cbaca6ed176048628a
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/f98b0cde8591944973aeaacc7717cb2e7879c6
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/ca9294cc9d6ed19356ec6ef7b0e398fb78ab8b
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/fea8e6a09f1f229be3e445336ef0fa70c703bf
/usr/sbin/escapesrc
/usr/sbin/genccode
/usr/sbin/gencmn
/usr/sbin/gennorm2
/usr/sbin/gensprep
/usr/sbin/icupkg
/usr/share/licenses/icu
/usr/share/licenses/icu/license.html
/usr/share/man/man1/derb.1.gz
/usr/share/man/man1/genbrk.1.gz
/usr/share/man/man1/gencfu.1.gz
/usr/share/man/man1/gencnval.1.gz
/usr/share/man/man1/gendict.1.gz
/usr/share/man/man1/genrb.1.gz
/usr/share/man/man1/makeconv.1.gz
/usr/share/man/man1/pkgdata.1.gz
/usr/share/man/man1/uconv.1.gz
/usr/share/man/man8/genccode.8.gz
/usr/share/man/man8/gencmn.8.gz
/usr/share/man/man8/gennorm2.8.gz
/usr/share/man/man8/gensprep.8.gz
/usr/share/man/man8/icupkg.8.gz

References

Summary

In this tutorial we learn how to install icu on Fedora 34 using yum and dnf.