How To Install gettext-devel on CentOS 8

gettext-devel is Development files for gettext Development files for gettext

Introduction

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

What is gettext-devel

This package contains all development related files necessary for developing or compiling applications/libraries that needs internationalization capability. You also need this package if you want to add gettext support for your project. gettext-devel 0.19.8.1 17.el8 x86_64 331 k gettext-0.19.8.1-17.el8.src.rpm baseos Development files for gettext http LGPLv2+ and GPLv3+ This package contains all development related files necessary for developing or compiling applications/libraries that needs internationalization capability. You also need this package if you want to add gettext support for your project.

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

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

sudo dnf -y install gettext-devel

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

sudo yum -y install gettext-devel

How To Uninstall gettext-devel on CentOS 8

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

sudo dnf remove gettext-devel

gettext-devel Package Contents on CentOS 8

/usr/bin/autopoint
/usr/bin/gettextize
/usr/include/autosprintf.h
/usr/include/gettext-po.h
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/2887eac37275f04ac96796890148d3fd7a62ae
/usr/lib64/libasprintf.so
/usr/lib64/libgettextpo.so
/usr/lib64/preloadable_libintl.so
/usr/share/aclocal/codeset.m4
/usr/share/aclocal/extern-inline.m4
/usr/share/aclocal/fcntl-o.m4
/usr/share/aclocal/gettext.m4
/usr/share/aclocal/glibc2.m4
/usr/share/aclocal/glibc21.m4
/usr/share/aclocal/iconv.m4
/usr/share/aclocal/intdiv0.m4
/usr/share/aclocal/intl.m4
/usr/share/aclocal/intldir.m4
/usr/share/aclocal/intlmacosx.m4
/usr/share/aclocal/intmax.m4
/usr/share/aclocal/inttypes-pri.m4
/usr/share/aclocal/inttypes_h.m4
/usr/share/aclocal/lcmessage.m4
/usr/share/aclocal/lib-ld.m4
/usr/share/aclocal/lib-link.m4
/usr/share/aclocal/lib-prefix.m4
/usr/share/aclocal/lock.m4
/usr/share/aclocal/longlong.m4
/usr/share/aclocal/nls.m4
/usr/share/aclocal/po.m4
/usr/share/aclocal/printf-posix.m4
/usr/share/aclocal/progtest.m4
/usr/share/aclocal/size_max.m4
/usr/share/aclocal/stdint_h.m4
/usr/share/aclocal/threadlib.m4
/usr/share/aclocal/uintmax_t.m4
/usr/share/aclocal/visibility.m4
/usr/share/aclocal/wchar_t.m4
/usr/share/aclocal/wint_t.m4
/usr/share/aclocal/xsize.m4
/usr/share/doc/gettext-devel
/usr/share/doc/gettext-devel/ChangeLog
/usr/share/doc/gettext-devel/bind_textdomain_codeset.3.html
/usr/share/doc/gettext-devel/bindtextdomain.3.html
/usr/share/doc/gettext-devel/gettext.3.html
/usr/share/doc/gettext-devel/javadoc2
/usr/share/doc/gettext-devel/javadoc2/allclasses-frame.html
/usr/share/doc/gettext-devel/javadoc2/deprecated-list.html
/usr/share/doc/gettext-devel/javadoc2/gnu
/usr/share/doc/gettext-devel/javadoc2/gnu/gettext
/usr/share/doc/gettext-devel/javadoc2/gnu/gettext/GettextResource.html
/usr/share/doc/gettext-devel/javadoc2/gnu/gettext/package-frame.html
/usr/share/doc/gettext-devel/javadoc2/gnu/gettext/package-summary.html
/usr/share/doc/gettext-devel/javadoc2/gnu/gettext/package-tree.html
/usr/share/doc/gettext-devel/javadoc2/help-doc.html
/usr/share/doc/gettext-devel/javadoc2/index-all.html
/usr/share/doc/gettext-devel/javadoc2/index.html
/usr/share/doc/gettext-devel/javadoc2/overview-tree.html
/usr/share/doc/gettext-devel/javadoc2/package-list
/usr/share/doc/gettext-devel/javadoc2/packages.html
/usr/share/doc/gettext-devel/javadoc2/serialized-form.html
/usr/share/doc/gettext-devel/javadoc2/stylesheet.css
/usr/share/doc/gettext-devel/ngettext.3.html
/usr/share/doc/gettext-devel/textdomain.3.html
/usr/share/gettext/config.rpath
/usr/share/gettext/gettext.h
/usr/share/gettext/intl
/usr/share/gettext/intl/COPYING.LIB
/usr/share/gettext/intl/Makefile.in
/usr/share/gettext/intl/VERSION
/usr/share/gettext/intl/bindtextdom.c
/usr/share/gettext/intl/config.charset
/usr/share/gettext/intl/dcgettext.c
/usr/share/gettext/intl/dcigettext.c
/usr/share/gettext/intl/dcngettext.c
/usr/share/gettext/intl/dgettext.c
/usr/share/gettext/intl/dngettext.c
/usr/share/gettext/intl/eval-plural.h
/usr/share/gettext/intl/explodename.c
/usr/share/gettext/intl/export.h
/usr/share/gettext/intl/finddomain.c
/usr/share/gettext/intl/gettext.c
/usr/share/gettext/intl/gettextP.h
/usr/share/gettext/intl/gmo.h
/usr/share/gettext/intl/hash-string.c
/usr/share/gettext/intl/hash-string.h
/usr/share/gettext/intl/intl-compat.c
/usr/share/gettext/intl/intl-exports.c
/usr/share/gettext/intl/l10nflist.c
/usr/share/gettext/intl/langprefs.c
/usr/share/gettext/intl/libgnuintl.in.h
/usr/share/gettext/intl/libintl.rc
/usr/share/gettext/intl/loadinfo.h
/usr/share/gettext/intl/loadmsgcat.c
/usr/share/gettext/intl/localcharset.c
/usr/share/gettext/intl/localcharset.h
/usr/share/gettext/intl/locale.alias
/usr/share/gettext/intl/localealias.c
/usr/share/gettext/intl/localename.c
/usr/share/gettext/intl/lock.c
/usr/share/gettext/intl/lock.h
/usr/share/gettext/intl/log.c
/usr/share/gettext/intl/ngettext.c
/usr/share/gettext/intl/os2compat.c
/usr/share/gettext/intl/os2compat.h
/usr/share/gettext/intl/osdep.c
/usr/share/gettext/intl/plural-exp.c
/usr/share/gettext/intl/plural-exp.h
/usr/share/gettext/intl/plural.c
/usr/share/gettext/intl/plural.y
/usr/share/gettext/intl/printf-args.c
/usr/share/gettext/intl/printf-args.h
/usr/share/gettext/intl/printf-parse.c
/usr/share/gettext/intl/printf-parse.h
/usr/share/gettext/intl/printf.c
/usr/share/gettext/intl/ref-add.sin
/usr/share/gettext/intl/ref-del.sin
/usr/share/gettext/intl/relocatable.c
/usr/share/gettext/intl/relocatable.h
/usr/share/gettext/intl/setlocale.c
/usr/share/gettext/intl/textdomain.c
/usr/share/gettext/intl/threadlib.c
/usr/share/gettext/intl/tsearch.c
/usr/share/gettext/intl/tsearch.h
/usr/share/gettext/intl/vasnprintf.c
/usr/share/gettext/intl/vasnprintf.h
/usr/share/gettext/intl/vasnwprintf.h
/usr/share/gettext/intl/verify.h
/usr/share/gettext/intl/version.c
/usr/share/gettext/intl/wprintf-parse.h
/usr/share/gettext/intl/xsize.c
/usr/share/gettext/intl/xsize.h
/usr/share/gettext/javaversion.class
/usr/share/gettext/msgunfmt.tcl
/usr/share/gettext/projects
/usr/share/gettext/projects/GNOME
/usr/share/gettext/projects/GNOME/team-address
/usr/share/gettext/projects/GNOME/teams.html
/usr/share/gettext/projects/GNOME/teams.url
/usr/share/gettext/projects/GNOME/trigger
/usr/share/gettext/projects/KDE
/usr/share/gettext/projects/KDE/team-address
/usr/share/gettext/projects/KDE/teams.html
/usr/share/gettext/projects/KDE/teams.url
/usr/share/gettext/projects/KDE/trigger
/usr/share/gettext/projects/TP
/usr/share/gettext/projects/TP/team-address
/usr/share/gettext/projects/TP/teams.html
/usr/share/gettext/projects/TP/teams.url
/usr/share/gettext/projects/TP/trigger
/usr/share/gettext/projects/index
/usr/share/gettext/projects/team-address
/usr/share/info/autosprintf.info.gz
/usr/share/man/man1/autopoint.1.gz
/usr/share/man/man3/bind_textdomain_codeset.3.gz
/usr/share/man/man3/bindtextdomain.3.gz
/usr/share/man/man3/dcgettext.3.gz
/usr/share/man/man3/dcngettext.3.gz
/usr/share/man/man3/dgettext.3.gz
/usr/share/man/man3/dngettext.3.gz
/usr/share/man/man3/gettext.3.gz
/usr/share/man/man3/ngettext.3.gz
/usr/share/man/man3/textdomain.3.gz
/usr/bin/autopoint
/usr/bin/gettextize
/usr/include/autosprintf.h
/usr/include/gettext-po.h
/usr/lib/.build-id
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/37e6adaf77afd2d73e4061cb9c39b15bfc0989
/usr/lib/libasprintf.so
/usr/lib/libgettextpo.so
/usr/lib/preloadable_libintl.so
/usr/share/aclocal/codeset.m4
/usr/share/aclocal/extern-inline.m4
/usr/share/aclocal/fcntl-o.m4
/usr/share/aclocal/gettext.m4
/usr/share/aclocal/glibc2.m4
/usr/share/aclocal/glibc21.m4
/usr/share/aclocal/iconv.m4
/usr/share/aclocal/intdiv0.m4
/usr/share/aclocal/intl.m4
/usr/share/aclocal/intldir.m4
/usr/share/aclocal/intlmacosx.m4
/usr/share/aclocal/intmax.m4
/usr/share/aclocal/inttypes-pri.m4
/usr/share/aclocal/inttypes_h.m4
/usr/share/aclocal/lcmessage.m4
/usr/share/aclocal/lib-ld.m4
/usr/share/aclocal/lib-link.m4
/usr/share/aclocal/lib-prefix.m4
/usr/share/aclocal/lock.m4
/usr/share/aclocal/longlong.m4
/usr/share/aclocal/nls.m4
/usr/share/aclocal/po.m4
/usr/share/aclocal/printf-posix.m4
/usr/share/aclocal/progtest.m4
/usr/share/aclocal/size_max.m4
/usr/share/aclocal/stdint_h.m4
/usr/share/aclocal/threadlib.m4
/usr/share/aclocal/uintmax_t.m4
/usr/share/aclocal/visibility.m4
/usr/share/aclocal/wchar_t.m4
/usr/share/aclocal/wint_t.m4
/usr/share/aclocal/xsize.m4
/usr/share/doc/gettext-devel
/usr/share/doc/gettext-devel/ChangeLog
/usr/share/doc/gettext-devel/bind_textdomain_codeset.3.html
/usr/share/doc/gettext-devel/bindtextdomain.3.html
/usr/share/doc/gettext-devel/gettext.3.html
/usr/share/doc/gettext-devel/javadoc2
/usr/share/doc/gettext-devel/javadoc2/allclasses-frame.html
/usr/share/doc/gettext-devel/javadoc2/deprecated-list.html
/usr/share/doc/gettext-devel/javadoc2/gnu
/usr/share/doc/gettext-devel/javadoc2/gnu/gettext
/usr/share/doc/gettext-devel/javadoc2/gnu/gettext/GettextResource.html
/usr/share/doc/gettext-devel/javadoc2/gnu/gettext/package-frame.html
/usr/share/doc/gettext-devel/javadoc2/gnu/gettext/package-summary.html
/usr/share/doc/gettext-devel/javadoc2/gnu/gettext/package-tree.html
/usr/share/doc/gettext-devel/javadoc2/help-doc.html
/usr/share/doc/gettext-devel/javadoc2/index-all.html
/usr/share/doc/gettext-devel/javadoc2/index.html
/usr/share/doc/gettext-devel/javadoc2/overview-tree.html
/usr/share/doc/gettext-devel/javadoc2/package-list
/usr/share/doc/gettext-devel/javadoc2/packages.html
/usr/share/doc/gettext-devel/javadoc2/serialized-form.html
/usr/share/doc/gettext-devel/javadoc2/stylesheet.css
/usr/share/doc/gettext-devel/ngettext.3.html
/usr/share/doc/gettext-devel/textdomain.3.html
/usr/share/gettext/config.rpath
/usr/share/gettext/gettext.h
/usr/share/gettext/intl
/usr/share/gettext/intl/COPYING.LIB
/usr/share/gettext/intl/Makefile.in
/usr/share/gettext/intl/VERSION
/usr/share/gettext/intl/bindtextdom.c
/usr/share/gettext/intl/config.charset
/usr/share/gettext/intl/dcgettext.c
/usr/share/gettext/intl/dcigettext.c
/usr/share/gettext/intl/dcngettext.c
/usr/share/gettext/intl/dgettext.c
/usr/share/gettext/intl/dngettext.c
/usr/share/gettext/intl/eval-plural.h
/usr/share/gettext/intl/explodename.c
/usr/share/gettext/intl/export.h
/usr/share/gettext/intl/finddomain.c
/usr/share/gettext/intl/gettext.c
/usr/share/gettext/intl/gettextP.h
/usr/share/gettext/intl/gmo.h
/usr/share/gettext/intl/hash-string.c
/usr/share/gettext/intl/hash-string.h
/usr/share/gettext/intl/intl-compat.c
/usr/share/gettext/intl/intl-exports.c
/usr/share/gettext/intl/l10nflist.c
/usr/share/gettext/intl/langprefs.c
/usr/share/gettext/intl/libgnuintl.in.h
/usr/share/gettext/intl/libintl.rc
/usr/share/gettext/intl/loadinfo.h
/usr/share/gettext/intl/loadmsgcat.c
/usr/share/gettext/intl/localcharset.c
/usr/share/gettext/intl/localcharset.h
/usr/share/gettext/intl/locale.alias
/usr/share/gettext/intl/localealias.c
/usr/share/gettext/intl/localename.c
/usr/share/gettext/intl/lock.c
/usr/share/gettext/intl/lock.h
/usr/share/gettext/intl/log.c
/usr/share/gettext/intl/ngettext.c
/usr/share/gettext/intl/os2compat.c
/usr/share/gettext/intl/os2compat.h
/usr/share/gettext/intl/osdep.c
/usr/share/gettext/intl/plural-exp.c
/usr/share/gettext/intl/plural-exp.h
/usr/share/gettext/intl/plural.c
/usr/share/gettext/intl/plural.y
/usr/share/gettext/intl/printf-args.c
/usr/share/gettext/intl/printf-args.h
/usr/share/gettext/intl/printf-parse.c
/usr/share/gettext/intl/printf-parse.h
/usr/share/gettext/intl/printf.c
/usr/share/gettext/intl/ref-add.sin
/usr/share/gettext/intl/ref-del.sin
/usr/share/gettext/intl/relocatable.c
/usr/share/gettext/intl/relocatable.h
/usr/share/gettext/intl/setlocale.c
/usr/share/gettext/intl/textdomain.c
/usr/share/gettext/intl/threadlib.c
/usr/share/gettext/intl/tsearch.c
/usr/share/gettext/intl/tsearch.h
/usr/share/gettext/intl/vasnprintf.c
/usr/share/gettext/intl/vasnprintf.h
/usr/share/gettext/intl/vasnwprintf.h
/usr/share/gettext/intl/verify.h
/usr/share/gettext/intl/version.c
/usr/share/gettext/intl/wprintf-parse.h
/usr/share/gettext/intl/xsize.c
/usr/share/gettext/intl/xsize.h
/usr/share/gettext/javaversion.class
/usr/share/gettext/msgunfmt.tcl
/usr/share/gettext/projects
/usr/share/gettext/projects/GNOME
/usr/share/gettext/projects/GNOME/team-address
/usr/share/gettext/projects/GNOME/teams.html
/usr/share/gettext/projects/GNOME/teams.url
/usr/share/gettext/projects/GNOME/trigger
/usr/share/gettext/projects/KDE
/usr/share/gettext/projects/KDE/team-address
/usr/share/gettext/projects/KDE/teams.html
/usr/share/gettext/projects/KDE/teams.url
/usr/share/gettext/projects/KDE/trigger
/usr/share/gettext/projects/TP
/usr/share/gettext/projects/TP/team-address
/usr/share/gettext/projects/TP/teams.html
/usr/share/gettext/projects/TP/teams.url
/usr/share/gettext/projects/TP/trigger
/usr/share/gettext/projects/index
/usr/share/gettext/projects/team-address
/usr/share/info/autosprintf.info.gz
/usr/share/man/man1/autopoint.1.gz
/usr/share/man/man3/bind_textdomain_codeset.3.gz
/usr/share/man/man3/bindtextdomain.3.gz
/usr/share/man/man3/dcgettext.3.gz
/usr/share/man/man3/dcngettext.3.gz
/usr/share/man/man3/dgettext.3.gz
/usr/share/man/man3/dngettext.3.gz
/usr/share/man/man3/gettext.3.gz
/usr/share/man/man3/ngettext.3.gz
/usr/share/man/man3/textdomain.3.gz

References

Summary

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