How To Install hp2xx on Debian 10

Learn how to install hp2xx on Debian 10 with this tutorial. hp2xx is HPGL converter into some vector- and raster formats

Introduction

In this tutorial we learn how to install hp2xx on Debian 10.

What is hp2xx

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.

There are three methods to install hp2xx on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install hp2xx Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install hp2xx using apt-get by running the following command:

sudo apt-get -y install hp2xx

Install hp2xx Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install hp2xx using apt by running the following command:

sudo apt -y install hp2xx

Install hp2xx Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install hp2xx using aptitude by running the following command:

sudo aptitude -y install hp2xx

How To Uninstall hp2xx on Debian 10

To uninstall only the hp2xx package we can use the following command:

sudo apt-get remove hp2xx

Uninstall hp2xx And Its Dependencies

To uninstall hp2xx and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove hp2xx

Remove hp2xx Configurations and Data

To remove hp2xx configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge hp2xx

Remove hp2xx configuration, data, and all of its dependencies

We can use the following command to remove hp2xx configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge hp2xx

Dependencies

hp2xx have the following dependencies:

References

Summary

In this tutorial we learn how to install hp2xx package on Debian 10 using different package management tools: apt, apt-get and aptitude.