wpg2raw command not found

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

Introduction

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

wpg2raw: command not found

or when using sudo you get the following error message

sudo: wpg2raw: command not found

Solutions to wpg2raw: command not found

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

In Ubuntu wpg2raw is provided by libwpg-tools package.

libwpg-tools is:

Libwpg is a collection of library and tools to work with graphics in WPG (WordPerfect Graphics) format. WPG is the format used among others in Corel software, such as WordPerfect(tm) and Presentations(tm).

This package contains some little programs using libwps to convert WordPerfect Graphics into Raw and SVG files.

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

sudo apt-get -y install libwpg-tools

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

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

sudo apt -y install libwpg-tools

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

sudo aptitude install libwpg-tools

Summary

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