b3270 command not found

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

Introduction

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

b3270: command not found

or when using sudo you get the following error message

sudo: b3270: command not found

Solutions to b3270: command not found

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

In Ubuntu b3270 is provided by b3270 package.

b3270 is:

b3270 opens a telnet connection to an IBM host, handling the 3270, TELNET and TLS protocols, allowing a front-end application handle user interactions. It uses XML on its standard input and standard output to communicate with the front end.

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

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

You can also use apt command to install b3270.

sudo apt -y install b3270

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

sudo aptitude install b3270

Summary

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