How To Install libtranslate on CentOS 7

In this tutorial we learn how to install libtranslate on CentOS 7. libtranslate is Natural language translation library

Introduction

In this tutorial we learn how to install libtranslate on CentOS 7.

What is libtranslate

Libtranslate is a library for translating text and web pages between natural languages. Its modular infrastructure allows to implement new translation services separately from the core library. Libtranslate is shipped with a generic module supporting web-based translation services such as Babel Fish, Google Language Tools and SYSTRAN. Moreover, the generic module allows to add new services simply by adding a few lines to a XML file (see libtranslate(5)). The libtranslate distribution includes a powerful command line interface (see translate(1)). GNOME GUI can be found as separate “gnome-translate” package at the same web source.

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

Install libtranslate on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install libtranslate using yum by running the following command:

sudo yum -y install libtranslate

Install libtranslate on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install libtranslate

How To Uninstall libtranslate on CentOS 7

To uninstall only the libtranslate package we can use the following command:

sudo dnf remove libtranslate

References

Summary

In this tutorial we learn how to install libtranslate on CentOS 7 using yum and dnf.