How To Install gettext-libs on Rocky Linux 8

In this tutorial we learn how to install gettext-libs on Rocky Linux 8. gettext-libs is Libraries for gettext

Introduction

In this tutorial we learn how to install gettext-libs on Rocky Linux 8.

What is gettext-libs

This package contains libraries used internationalization support.

We can use yum or dnf to install gettext-libs on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gettext-libs.

Install gettext-libs on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install gettext-libs

Install gettext-libs on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install gettext-libs using yum by running the following command:

sudo yum -y install gettext-libs

How To Uninstall gettext-libs on Rocky Linux 8

To uninstall only the gettext-libs package we can use the following command:

sudo dnf remove gettext-libs

gettext-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/9fb3b936dbacc0afb60aa480ea446074044693
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/f4da47a7b7a911a8af606b307a8b4e9401adec
/usr/lib/.build-id/81
/usr/lib/.build-id/81/c4b4b0faa536a9a8aa3a6fa33ccb34560cb017
/usr/lib/.build-id/da
/usr/lib/.build-id/da/d152d9ef7af0cecb2e2de0298181d141ffd3cf
/usr/lib/libasprintf.so.0
/usr/lib/libasprintf.so.0.0.0
/usr/lib/libgettextlib-0.19.8.1.so
/usr/lib/libgettextpo.so.0
/usr/lib/libgettextpo.so.0.5.4
/usr/lib/libgettextsrc-0.19.8.1.so
/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/e3e34821dd23a1cfc5a19abb71400b88528746
/usr/lib/.build-id/81/e7fb2b2b25aa995ac81200e60e531f0b1213b4
/usr/lib/.build-id/94
/usr/lib/.build-id/94/e8744f2d451af9a3187a1ffefe62417c57a6f4
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/a3eb3826876d8159db72826a3261819c58b129
/usr/lib64/libasprintf.so.0
/usr/lib64/libasprintf.so.0.0.0
/usr/lib64/libgettextlib-0.19.8.1.so
/usr/lib64/libgettextpo.so.0
/usr/lib64/libgettextpo.so.0.5.4
/usr/lib64/libgettextsrc-0.19.8.1.so

References

Summary

In this tutorial we learn how to install gettext-libs on Rocky Linux 8 using yum and dnf.