How To Install b3270 on Debian 12

Learn how to install b3270 on Debian 12 with this tutorial. b3270 is Backend tool for telnet sessions to IBM mainframes

Introduction

In this tutorial we learn how to install b3270 on Debian 12.

What is b3270

b3270 is:

b3270 opens a telnet connection to an IBM host, handling the 3270, TELNET and TLS protocols, allowing a front-end application handle user interactions. It uses XML on its standard input and standard output to communicate with the front end.

b3270 implements RFCs 2355 (TN3270E), 1576 (TN3270) and 1646 (LU name selection), and supports IND$FILE file transfer.

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

Install b3270 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install b3270

Install b3270 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install b3270

Install b3270 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 b3270 using aptitude by running the following command:

sudo aptitude -y install b3270

How To Uninstall b3270 on Debian 12

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

sudo apt-get remove b3270

Uninstall b3270 And Its Dependencies

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

sudo apt-get -y autoremove b3270

Remove b3270 Configurations and Data

To remove b3270 configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge b3270

Remove b3270 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge b3270

Dependencies

b3270 have the following dependencies:

References

Summary

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