How To Install libtranslate on Fedora 34
Introduction
In this tutorial we learn how to install libtranslate
on Fedora 34.
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. libtranslate 0.99 110.fc34 x86_64 78 k libtranslate-0.99-110.fc34.src.rpm fedora Natural language translation library http BSD 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libtranslate.
Install libtranslate on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libtranslate
using dnf
by running the following command:
sudo dnf -y install libtranslate
Install libtranslate on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libtranslate
using yum
by running the following command:
sudo yum -y install libtranslate
How To Uninstall libtranslate on Fedora 34
To uninstall only the libtranslate
package we can use the following command:
sudo dnf remove libtranslate
libtranslate Package Contents on Fedora 34
/usr/bin/translate
/usr/lib/.build-id
/usr/lib/.build-id/15
/usr/lib/.build-id/15/eec78c2c50c58b94bee8fa16b00c279234a112
/usr/lib/.build-id/15/eff4fb1fda8a7d890c73217298bd56fcb0282e
/usr/lib/.build-id/49
/usr/lib/.build-id/49/da5f8b7aab6f5cc6e4dc5eee5a61b5b12babae
/usr/lib64/libtranslate
/usr/lib64/libtranslate.so.0
/usr/lib64/libtranslate.so.0.0.0
/usr/lib64/libtranslate/modules
/usr/lib64/libtranslate/modules/generic.so
/usr/share/doc/libtranslate
/usr/share/doc/libtranslate/AUTHORS
/usr/share/doc/libtranslate/COPYING
/usr/share/doc/libtranslate/README
/usr/share/libtranslate
/usr/share/libtranslate/services.dtd
/usr/share/libtranslate/services.xml
/usr/share/locale/fr/LC_MESSAGES/libtranslate.mo
/usr/share/man/man1/translate.1.gz
/usr/share/man/man5/libtranslate.5.gz
/usr/bin/translate
/usr/lib/.build-id
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/43bc92026788839c1cbfd1788ccebf77b10889
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/db6eb6c5d99413bc0404c13f732419924e78c5
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/73c26483c20749e99775a8ee853a1503094612
/usr/lib/libtranslate
/usr/lib/libtranslate.so.0
/usr/lib/libtranslate.so.0.0.0
/usr/lib/libtranslate/modules
/usr/lib/libtranslate/modules/generic.so
/usr/share/doc/libtranslate
/usr/share/doc/libtranslate/AUTHORS
/usr/share/doc/libtranslate/COPYING
/usr/share/doc/libtranslate/README
/usr/share/libtranslate
/usr/share/libtranslate/services.dtd
/usr/share/libtranslate/services.xml
/usr/share/locale/fr/LC_MESSAGES/libtranslate.mo
/usr/share/man/man1/translate.1.gz
/usr/share/man/man5/libtranslate.5.gz
References
- [libtranslate website](http://www.nongnu.org/libtranslate http://www.nongnu.org/libtranslate)
Summary
In this tutorial we learn how to install libtranslate
on Fedora 34 using yum and dnf.