How To Install odt2txt on CentOS 7
Introduction
In this tutorial we learn how to install odt2txt
on CentOS 7.
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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install odt2txt.
Install odt2txt on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install odt2txt
using yum
by running the following command:
Install odt2txt 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.
After updating yum database, We can install odt2txt
using dnf
by running the following command:
How To Uninstall odt2txt on CentOS 7
To uninstall only the odt2txt
package we can use the following command:
References
Summary
In this tutorial we learn how to install odt2txt
on CentOS 7 using yum
and dnf
.