c3270 command not found

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

Introduction

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

c3270: command not found

or when using sudo you get the following error message

sudo: c3270: command not found

Solutions to c3270: command not found

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

In Ubuntu c3270 is provided by c3270 package.

c3270 is:

c3270 opens a telnet connection to an IBM mainframe host in an Xterm window or Virtual Console. It can also connect to an IBM AS/400 as a 5250 terminal using the AS/400’s 3270 emulation.

c3270 is similar to tn3270(1), and x3270(1) except that it is curses-based, not X-based.

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

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

You can also use apt command to install c3270.

sudo apt -y install c3270

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

sudo aptitude install c3270

Summary

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