How To Install odt2txt on Fedora 36

In this tutorial we learn how to install odt2txt in Fedora 36. odt2txt is Converts an OpenDocument to plain text

Introduction

In this tutorial we learn how to install odt2txt on Fedora 36.

What is odt2txt

odt2txt is a command-line tool which extracts the text out of OpenDocument Texts produced by LibreOffice, OpenOffice, StarOffice, KOffice and others. odt2txt is… * small * supports multiple output encodings * adopts to your locale * able to substitute common characters which the output charset does not contain with ascii look-a-likes * written in C, has few dependencies * portable (runs on Linux, *BSD, Solaris, HP-UX, Windows, Cygwin)

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

Install odt2txt on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install odt2txt

Install odt2txt on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install odt2txt

How To Uninstall odt2txt on Fedora 36

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

sudo dnf remove odt2txt

odt2txt Package Contents on Fedora 36

/usr/bin/odt2txt
/usr/lib/.build-id
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/f1841920e6d3babeaa514a9cbb7573a1266fa0
/usr/share/doc/odt2txt
/usr/share/doc/odt2txt/README.md
/usr/share/licenses/odt2txt
/usr/share/licenses/odt2txt/GPL-2
/usr/share/man/man1/odt2txt.1.gz

References

Summary

In this tutorial we learn how to install odt2txt on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).