s3270 command not found

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

Introduction

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

s3270: command not found

or when using sudo you get the following error message

sudo: s3270: command not found

Solutions to s3270: command not found

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

In Ubuntu s3270 is provided by s3270 package.

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.

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

sudo apt-get -y install s3270

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

You can also use apt command to install s3270.

sudo apt -y install s3270

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

sudo aptitude install s3270

Summary

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