How To Install itstool on Fedora 34

itstool is ITS-based XML translation tool

Introduction

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

What is itstool

ITS Tool allows you to translate XML documents with PO files, using rules from the W3C Internationalization Tag Set (ITS) to determine what to translate and how to separate it into PO file messages.

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

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

sudo dnf -y install itstool

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

sudo yum -y install itstool

How To Uninstall itstool on Fedora 34

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

sudo dnf remove itstool

itstool Package Contents on Fedora 34

/usr/bin/itstool
/usr/share/doc/itstool
/usr/share/doc/itstool/NEWS
/usr/share/itstool
/usr/share/itstool/its
/usr/share/itstool/its/docbook.its
/usr/share/itstool/its/docbook5.its
/usr/share/itstool/its/its.its
/usr/share/itstool/its/mallard.its
/usr/share/itstool/its/ttml.its
/usr/share/itstool/its/xhtml.its
/usr/share/licenses/itstool
/usr/share/licenses/itstool/COPYING
/usr/share/licenses/itstool/COPYING.GPL3
/usr/share/man/man1/itstool.1.gz

References

Summary

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