How To Install s3270 on Kali Linux

In this tutorial we learn how to install s3270 on Kali Linux. s3270 is Program for scripted telnet sessions to IBM mainframes

Introduction

In this tutorial we learn how to install s3270 on Kali Linux.

What is s3270

s3270 is:

s3270 opens a telnet connection to an IBM mainframe host, then allows a script to control the host login session.

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

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

Install s3270 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install s3270

Install s3270 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install s3270

Install s3270 Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install s3270

How To Uninstall s3270 on Kali Linux

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

sudo apt-get remove s3270

Uninstall s3270 And Its Dependencies

To uninstall s3270 and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove s3270

Remove s3270 Configurations and Data

To remove s3270 configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge s3270

Remove s3270 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge s3270

Dependencies

s3270 have the following dependencies:

References

Summary

In this tutorial we learn how to install s3270 package on Kali Linux using different package management tools: apt, apt-get and aptitude.