How To Install tw on Fedora 34

tw is Translate words into different languages

Introduction

In this tutorial we learn how to install tw on Fedora 34.

What is tw

translate word is a command that translates words into different languages. translate word uses internal dictionaries, and contacts online to the Google Translation and the FreeTranslation engines. It can also be integrated via the clipboard with a desktop environment.

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

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

sudo dnf -y install tw

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

sudo yum -y install tw

How To Uninstall tw on Fedora 34

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

sudo dnf remove tw

tw Package Contents on Fedora 34

/usr/bin/mythes
/usr/bin/mythes-raw
/usr/bin/tw
/usr/bin/tw-config-gtw
/usr/bin/tw-config-klipper
/usr/lib/.build-id
/usr/lib/.build-id/68
/usr/lib/.build-id/68/968cf89453addc2a18e3b17cd9c352a4935e59
/usr/share/doc/tw
/usr/share/doc/tw/AUTHORS
/usr/share/doc/tw/COPYING
/usr/share/doc/tw/ChangeLog
/usr/share/doc/tw/NEWS
/usr/share/doc/tw/README
/usr/share/doc/tw/engenv.sh
/usr/share/doc/tw/klipperrc
/usr/share/doc/tw/xbindkeysrc
/usr/share/info/tw.info.gz
/usr/share/man/man1/tw.1.gz
/usr/share/tw
/usr/share/tw/cmd.sh
/usr/share/tw/dicts
/usr/share/tw/dicts/ar-en.twd
/usr/share/tw/dicts/en-ar.twd
/usr/share/tw/dicts/en-es.twd
/usr/share/tw/dicts/es-en.twd
/usr/share/tw/engines
/usr/share/tw/engines/tw_cache.sh
/usr/share/tw/engines/tw_ft.sh
/usr/share/tw/engines/tw_gt.sh
/usr/share/tw/engines/tw_local.sh
/usr/share/tw/engines/tw_share.sh
/usr/share/tw/tw_mythes.sh

References

Summary

In this tutorial we learn how to install tw on Fedora 34 using yum and dnf.