hp2xx command not found

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

Introduction

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

hp2xx: command not found

or when using sudo you get the following error message

sudo: hp2xx: command not found

Solutions to hp2xx: command not found

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

In Ubuntu hp2xx is provided by hp2xx package.

hp2xx is:

HP2XX reads HPGL ASCII source files, interprets them, and converts them into either another vector-oriented format or one of several rasterfile formats. Currently, its HPGL parser recognizes a subset of the HP 7550A command set. Some high-level functions are missing. Also, only some of the fixed space vector fonts and none of the variable space arc fonts are supported. Beside these limitations, hp2xx has proven to work with many HP-GL sources without any trouble.

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

sudo apt-get -y install hp2xx

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

You can also use apt command to install hp2xx.

sudo apt -y install hp2xx

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

sudo aptitude install hp2xx

Summary

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