How To Install pr3287 on Ubuntu 22.04

In this tutorial we learn how to install pr3287 on Ubuntu 22.04. pr3287 is IBM 3287 printer emulation for telnet sessions to IBM mainframes

Introduction

In this tutorial we learn how to install pr3287 on Ubuntu 22.04.

What is pr3287

pr3287 is:

pr3287 opens a telnet connection to an IBM mainframe host and emulates an IBM 3287 printer.

pr3278 implements RFCs 2355 (TN3270E), 1576 (TN3270), and 1646 (LU name selection).

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

Install pr3287 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install pr3287

Install pr3287 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pr3287

Install pr3287 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install pr3287

How To Uninstall pr3287 on Ubuntu 22.04

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

sudo apt-get remove pr3287

Uninstall pr3287 And Its Dependencies

To uninstall pr3287 and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove pr3287

Remove pr3287 Configurations and Data

To remove pr3287 configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge pr3287

Remove pr3287 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pr3287

References

Summary

In this tutorial we learn how to install pr3287 package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.