text2odf command not found

In this troubleshooting guide we learn how to fix text2odf command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

text2odf: command not found

or when using sudo you get the following error message

sudo: text2odf: command not found

Solutions to text2odf: command not found

How To Fix text2odf: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu text2odf is provided by libopenoffice-oodoc-perl package.

libopenoffice-oodoc-perl is:

OpenOffice::OODoc is a Perl module for reading from/writing to files that comply with the OASIS Open Document Format for Office Applications (ODF), also known as the ISO/IEC 26300:2006 standard. It provides a high-level, document-oriented language, and isolates the programmer from the details of the file format.

This module can process different document classes (texts, spreadsheets, presentations, and drawings). It can retrieve or update styles and images, document metadata, as well as text content.

To fix this problem, we can install more using the command below.

sudo apt-get -y install libopenoffice-oodoc-perl

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libopenoffice-oodoc-perl.

sudo apt -y install libopenoffice-oodoc-perl

Or if you have aptitude installed you can use the following command.

sudo aptitude install libopenoffice-oodoc-perl

Summary

In this tutorial we learn how to fix text2odf command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.