How To Install c3270 on Debian 12
Introduction
In this tutorial we learn how to install c3270
on Debian 12.
What is c3270
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.
There are three methods to install c3270
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install c3270 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install c3270
using apt-get
by running the following command:
sudo apt-get -y install c3270
Install c3270 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install c3270
using apt
by running the following command:
sudo apt -y install c3270
Install c3270 Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install c3270
using aptitude
by running the following command:
sudo aptitude -y install c3270
How To Uninstall c3270 on Debian 12
To uninstall only the c3270
package we can use the following command:
sudo apt-get remove c3270
Uninstall c3270 And Its Dependencies
To uninstall c3270
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove c3270
Remove c3270 Configurations and Data
To remove c3270
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge c3270
Remove c3270 configuration, data, and all of its dependencies
We can use the following command to remove c3270
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge c3270
Dependencies
c3270 have the following dependencies:
References
Summary
In this tutorial we learn how to install c3270
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.