How To Install hercules on CentOS 7

In this tutorial we learn how to install hercules on CentOS 7. hercules is Hercules S/370, ESA/390, and z/Architecture emulator

Introduction

In this tutorial we learn how to install hercules on CentOS 7.

What is hercules

Hercules is an emulator for the IBM System/370, ESA/390, and z/Architecture series of mainframe computers. It is capable of running any IBM operating system and applications that a real system will run, as long as the hardware needed is emulated. Hercules can emulate FBA and CKD DASD, tape, printer, card reader, card punch, channel-to-channel adapter, LCS Ethernet, and printer-keyboard, 3270 terminal, and 3287 printer devices.

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

Install hercules on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install hercules

Install hercules on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install hercules

How To Uninstall hercules on CentOS 7

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

sudo dnf remove hercules

References

Summary

In this tutorial we learn how to install hercules on CentOS 7 using yum and dnf.