x3270 command not found

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

Introduction

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

x3270: command not found

or when using sudo you get the following error message

sudo: x3270: command not found

Solutions to x3270: command not found

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

In Ubuntu x3270 is provided by x3270 package.

x3270 is:

x3270 opens a telnet connection to an IBM mainframe host in an X11 window. It can also connect to an IBM AS/400 as a 5250 terminal using the AS/400’s 3270 emulation. The window created by x3270 can use its own font for displaying characters, so it is a fairly accurate representation of an IBM 3278 or 3279.

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

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

You will need to install x3270’s fonts locally, or on your font-server - they are required.

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

sudo apt-get -y install x3270

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

You can also use apt command to install x3270.

sudo apt -y install x3270

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

sudo aptitude install x3270

Summary

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