Missing xgettext Program Linux

If you’re in the business of translating text and coding websites you’ll most probably at some point be needing the utility called ‘xgettext’ but if it is not installed on your system you will need to install the entire set of tools called gettext from GNU.

If you’re on a CentOS system or equivalent and have yum installed simply run

yum install gettext

[*@*]# yum install gettext
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons:
* base:
* extras:
* updates:
addons                                              |  951 B     00:00
base                                                | 2.1 kB     00:00
extras                                              | 2.1 kB     00:00
updates                                             | 1.9 kB     00:00
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package gettext.i386 0:0.14.6-4.el5 set to be updated
–> Finished Dependency Resolution

Dependencies Resolved

Package          Arch          Version                Repository     Size
gettext          i386          0.14.6-4.el5           base          1.4 M

Transaction Summary
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 1.4 M
Is this ok [y/N]: y
Downloading Packages:
gettext-0.14.6-4.el5.i386.rpm                       | 1.4 MB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing     : gettext                                             1/1

gettext.i386 0:0.14.6-4.el5


Bob’s your uncle! Sorted.

Exit mobile version