How To Install x3270 on CentOS 8

x3270 is An X Window System based IBM 3278/3279 terminal emulator

Introduction

In this tutorial we learn how to install x3270 on CentOS 8.

What is x3270

The x3270 package contains files needed for emulating the IBM 3278/3279 terminals, commonly used with mainframe applications. You will also need to install a frontend for x3270. Available frontends are x3270-x11 (for the X Window System) and x3270-text (for text mode).

We can use yum or dnf to install x3270 on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install x3270.

Install x3270 on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install x3270 using dnf by running the following command:

sudo dnf -y install x3270

Install x3270 on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install x3270 using yum by running the following command:

sudo yum -y install x3270

How To Uninstall x3270 on CentOS 8

To uninstall only the x3270 package we can use the following command:

sudo dnf remove x3270

x3270 Package Contents on CentOS 8

/etc/ibm_hosts
/usr/bin/playback
/usr/bin/pr3287
/usr/bin/s3270
/usr/bin/x3270if
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/837df8bae62f9ee874da91c04c70b94aeb4d33
/usr/lib/.build-id/53
/usr/lib/.build-id/53/4c43092df09e83ad9b3b3ec40a1b198d9d316f
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/bad08e9248cad3b12f6b071b7a53cabe1a4b08
/usr/lib/.build-id/81
/usr/lib/.build-id/81/70886b73274f5186d8f151f6cab36a9cd9f3c7
/usr/share/doc/x3270
/usr/share/doc/x3270/LICENSE.pr3287
/usr/share/doc/x3270/LICENSE.s3270
/usr/share/doc/x3270/README.pr3287
/usr/share/doc/x3270/README.s3270
/usr/share/doc/x3270/html.pr3287
/usr/share/doc/x3270/html.pr3287/ReleaseNotes.html
/usr/share/doc/x3270/html.pr3287/documentation-relnotes-body.html
/usr/share/doc/x3270/html.pr3287/pr3287-man.html
/usr/share/doc/x3270/html.s3270
/usr/share/doc/x3270/html.s3270/Bugs.html
/usr/share/doc/x3270/html.s3270/FAQ.html
/usr/share/doc/x3270/html.s3270/Intro.html
/usr/share/doc/x3270/html.s3270/Lineage.html
/usr/share/doc/x3270/html.s3270/README.html
/usr/share/doc/x3270/html.s3270/ReleaseNotes.html
/usr/share/doc/x3270/html.s3270/Resources.html
/usr/share/doc/x3270/html.s3270/SSL.html
/usr/share/doc/x3270/html.s3270/Unix-x3270if.html
/usr/share/doc/x3270/html.s3270/Wishlist.html
/usr/share/doc/x3270/html.s3270/documentation-relnotes-body.html
/usr/share/doc/x3270/html.s3270/s3270-man.html
/usr/share/doc/x3270/html.s3270/x3270-script.html
/usr/share/doc/x3270/html.s3270/x3270.xbm
/usr/share/man/man1/playback.1.gz
/usr/share/man/man1/pr3287.1.gz
/usr/share/man/man1/s3270.1.gz
/usr/share/man/man1/x3270-script.1.gz
/usr/share/man/man1/x3270if.1.gz
/usr/share/man/man5/ibm_hosts.5.gz

References

Summary

In this tutorial we learn how to install x3270 on CentOS 8 using yum and dnf.