wordview command not found

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

Introduction

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

wordview: command not found

or when using sudo you get the following error message

sudo: wordview: command not found

Solutions to wordview: command not found

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

In Ubuntu wordview is provided by catdoc package.

catdoc is:

The catdoc program reads one or more Microsoft Word files and outputs their contents to standard output as text.

It is accompanied by xls2csv, a program which converts Excel spreadsheets into comma-separated-values format, and catppt, a utility to extract textual information from PowerPoint files.

It doesn’t try to preserve Word formatting; its goal is to extract plain text and allow you to read it (and, probably, reformat it with TeX).

This package suggests Tk because it also includes wordview, an optional Tk-based GUI for catdoc. The MIME config provided in this package will use wordview if X is running, or catdoc directly if it is not.

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

sudo apt-get -y install catdoc

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

You can also use apt command to install catdoc.

sudo apt -y install catdoc

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

sudo aptitude install catdoc

Summary

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