wks2text command not found

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

Introduction

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

wks2text: command not found

or when using sudo you get the following error message

sudo: wks2text: command not found

Solutions to wks2text: command not found

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

In Ubuntu wks2text is provided by libwps-tools package.

libwps-tools is:

libwps is a library (for use by word processors, for example) for importing the Microsoft Works word processor file format. As of November 2006, the project is new, but it imports Works format versions 2, 3, 4, and 8 with some formatting. Support for Works formats version 2000 (aka 5) is coming soon.

This package contains some little programs using libwps to convert Works text document files into HTML/Raw files and Text.

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

sudo apt-get -y install libwps-tools

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

You can also use apt command to install libwps-tools.

sudo apt -y install libwps-tools

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

sudo aptitude install libwps-tools

Summary

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