How To Install icu on CentOS 8
Introduction
In this tutorial we learn how to install icu on CentOS 8.
What is icu
Tools and utilities for developing with icu.
We can use yum or dnf to install icu on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install icu.
Install icu on CentOS 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8
To uninstall only the icu package we can use the following command:
sudo dnf remove icu
icu Package Contents on CentOS 8
/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/16
/usr/lib/.build-id/16/04e40c1028d402bc7c895a20742c86cd73b94b
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/ece3bdd1aad4acad6a64c72a32f0774a3daf32
/usr/lib/.build-id/35
/usr/lib/.build-id/35/1c64c2989945fc30951f0ac386704fb814ed9f
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/f34aa53d0d3299f65e1c618e1c5a01c6bca990
/usr/lib/.build-id/48
/usr/lib/.build-id/48/20f51ec36ba1830cfc858baede5747c31d326b
/usr/lib/.build-id/83
/usr/lib/.build-id/83/16260e4cb6199d101d6680814938a74728fcbd
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/c0320068c20b0a658f24acf37374ae508fd07a
/usr/lib/.build-id/91
/usr/lib/.build-id/91/61333c7a4e40a23829e0b258128fa83493e37d
/usr/lib/.build-id/93
/usr/lib/.build-id/93/678702c3248f0617ada054bc0ff85d662e6f5e
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/1e81480a5e0468a3b29f4da2d41f83964d0b90
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/0aa5bcd164f5919d0fac653b89c5355c431808
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/a9e888728c6fb2fa415c4badbcd94ce12c02c4
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/dfe3bcc62faeb42c6223c8bb8a665d32c47f5d
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/5dc617c89162a647e714ef594a214d1d7b0006
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/ec78a8215adf33af49d839272d29b1ec4b83aa
/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 CentOS 8 using yum and dnf.