How To Install gettext-libs on CentOS 8

gettext-libs is Libraries for gettext Libraries for gettext

Introduction

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

What is gettext-libs

This package contains libraries used internationalization support. gettext-libs 0.19.8.1 17.el8 x86_64 314 k gettext-0.19.8.1-17.el8.src.rpm baseos Libraries for gettext http LGPLv2+ and GPLv3+ This package contains libraries used internationalization support.

We can use yum or dnf to install gettext-libs on CentOS 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 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 gettext-libs using dnf by running the following command:

sudo dnf -y install gettext-libs

Install gettext-libs 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 gettext-libs using yum by running the following command:

sudo yum -y install gettext-libs

How To Uninstall gettext-libs on CentOS 8

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

sudo dnf remove gettext-libs

gettext-libs Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/fb8146d4f33603784146812550516e3fed73cc
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/862dddb62eeb71aef7b60afa1395d7e8c3930b
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/847ce2d3577d886eeb68d6098b1e3cd81ba032
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/200fdefaa9485554846484fef7808bd658fa91
/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
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/7ce936e1ef4be1e658e6ef0aaed61cfcd6b2ad
/usr/lib/.build-id/38
/usr/lib/.build-id/38/ac0e7d0330563c4b18e29648bab7fd93f223b8
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/425046634486190fe8f812bf56b774480c4372
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/e4d17c2495b69e337ed2e217590d35fa3ca905
/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

References

Summary

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