Quick fix

This would be the scenario where you install binaries from the Raspberry Pi (Debian) repositories.

sudo apt-get install hercules

When this finishes, the (mainframing) world is at your feet! Refer to this page to get information about S/370 Operating Systems.