tcl3270 command not found

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

Introduction

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

tcl3270: command not found

or when using sudo you get the following error message

sudo: tcl3270: command not found

Solutions to tcl3270: command not found

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

In Ubuntu tcl3270 is provided by tcl3270 package.

tcl3270 is:

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

tcl3270 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 tcl3270

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

You can also use apt command to install tcl3270.

sudo apt -y install tcl3270

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

sudo aptitude install tcl3270

Summary

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