How To Install hercules on Fedora 36

In this tutorial we learn how to install hercules in Fedora 36. hercules is Hercules S/370, ESA/390, and z/Architecture emulator

Introduction

In this tutorial we learn how to install hercules on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install hercules.

Install hercules on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install hercules

Install hercules on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install hercules

How To Uninstall hercules on Fedora 36

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

sudo dnf remove hercules

hercules Package Contents on Fedora 36

/etc/hercules
/etc/hercules/generic.prm
/etc/hercules/hercules.cnf
/usr/bin/cckd2ckd
/usr/bin/cckdcdsk
/usr/bin/cckdcomp
/usr/bin/cckddiag
/usr/bin/cckdswap
/usr/bin/cfba2fba
/usr/bin/ckd2cckd
/usr/bin/dasdcat
/usr/bin/dasdconv
/usr/bin/dasdcopy
/usr/bin/dasdinit
/usr/bin/dasdisup
/usr/bin/dasdload
/usr/bin/dasdls
/usr/bin/dasdpdsu
/usr/bin/dasdseq
/usr/bin/dmap2hrc
/usr/bin/fba2cfba
/usr/bin/hercifc
/usr/bin/herclin
/usr/bin/hercules
/usr/bin/hetget
/usr/bin/hetinit
/usr/bin/hetmap
/usr/bin/hetupd
/usr/bin/tapecopy
/usr/bin/tapemap
/usr/bin/tapesplt
/usr/lib/.build-id
/usr/lib/.build-id/15
/usr/lib/.build-id/15/6d3b779b9c61ba6bae31da21ebe5ca004f3fd3
/usr/lib/.build-id/16
/usr/lib/.build-id/16/c7f95b98b181c8c9ebb8a745eb3206d904f7ba
/usr/lib/.build-id/25
/usr/lib/.build-id/25/9c4f5386ad56244827ceba1d3ae48b798a1dac
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/f3459fc3c74fa499884fe864a6cd383601dff0
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/2ad8bda86c6f465eb234139b9c540bf07e63eb
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/ed1974e27f68cc8be5beef8e0a70d7d2b63407
/usr/lib/.build-id/30
/usr/lib/.build-id/30/686cd64d52102b3ca1e24fb7f57f9ff1451cb2
/usr/lib/.build-id/31
/usr/lib/.build-id/31/875977316a5c56d0ab2bf8e0cc4d94f0abb743
/usr/lib/.build-id/36
/usr/lib/.build-id/36/52c617e74ae59e87d6ff841495ffa4bbf128c5
/usr/lib/.build-id/39
/usr/lib/.build-id/39/055697759ac8e3282b58db9bac71bf8404b32e
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/260d4288b636b9497a73a0b90ad839c8c8b31c
/usr/lib/.build-id/40
/usr/lib/.build-id/40/c729f2429c262361b5badebae5a9b8fcba860e
/usr/lib/.build-id/41
/usr/lib/.build-id/41/e73bac9198a27c833f7a3b14ac58db9f197a25
/usr/lib/.build-id/43
/usr/lib/.build-id/43/49ff9fc063d3fcd435533cd9e0dc67d5b87d43
/usr/lib/.build-id/44
/usr/lib/.build-id/44/7c8439ad5ebb71a461727a7f3b17fa777465f2
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/9977962f98cff729641c0ad4612f5397fa021a
/usr/lib/.build-id/52
/usr/lib/.build-id/52/da44951ae2e9ca2b658516a7ce41a194c25624
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/ae4ce8ed8cf83c75d0557848ddab276fa9afa9
/usr/lib/.build-id/61
/usr/lib/.build-id/61/8c126918212c3f64503dee9fce903f84f4eb40
/usr/lib/.build-id/66
/usr/lib/.build-id/66/40b8eadf4f7f7ab9b624f7b438fe127fcac218
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/c6a59c72683cf78baefa1f63a48717676ecc3d
/usr/lib/.build-id/72
/usr/lib/.build-id/72/8554843d8e4eebc95e64d2009f636021093ee7
/usr/lib/.build-id/86
/usr/lib/.build-id/86/efd94ec380da37a264863e2b98a2359c4618d5
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/4842f4c89b19401d7694c5be5addab0c827fd0
/usr/lib/.build-id/92
/usr/lib/.build-id/92/1e38ffa27c5d349761b1f093fed1547d4683b3
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/2dc1f83a823b8b4da666c4901cdce134a987cb
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/c23bdb44abff81f5bfd122b7ac9e5757619f45
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/d42d069570125f6b4c945fe0fc043deb752e42
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/0a0b7e6a0a2289f54aefa67e0b6e1751939f52
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/d4629de1562d821c6dc6a9871a989fe161ad78
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/18fab7d1b6b37467587a5ac63b137880a8f2c1
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/8e66699fa755380c91a1a4992691afe189e3c0
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/115394a66b295b0a7a081422152603d9cbbe20
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/9f17ea83a8dc5e682966bb2f33ba33b8eda241
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/b99690129c755eee652a33e38ac371e3f91455
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/40302664959671195360790fc9a6e51b7e2743
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/1078433df695a42f5984b3ac9c77401b045501
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/85b35441338cd851b9b1283778c266cd4daa15
/usr/lib/.build-id/d4/e0e9a54b6d485426944f37cbd5535cca2f6545
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/529d24b077cca2d435bce993f3a15271b605a5
/usr/lib/.build-id/de
/usr/lib/.build-id/de/1cd0020e3fb1ccf62d801b98fa1b0e9d0de38a
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/3c54e26543bb78b35da7f018dd3edd5ff92b8d
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/77f90bd2f27119ecb914a10bf177c848ea18ca
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/71cfa68004bf174a32e5ccc716d6ce41ad2a69
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/0bf9b9040988c56cd59f7aea079c1d90adc015
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/cfaa8ec040e042c8426a3e4fb802d1481fa7e9
/usr/lib64/hercules
/usr/lib64/hercules/dyncrypt.so
/usr/lib64/hercules/dyngui.so
/usr/lib64/hercules/dyninst.so
/usr/lib64/hercules/hdt1052c.so
/usr/lib64/hercules/hdt1403.so
/usr/lib64/hercules/hdt2703.so
/usr/lib64/hercules/hdt2880.so
/usr/lib64/hercules/hdt3088.so
/usr/lib64/hercules/hdt3270.so
/usr/lib64/hercules/hdt3420.so
/usr/lib64/hercules/hdt3505.so
/usr/lib64/hercules/hdt3525.so
/usr/lib64/hercules/hdt3705.so
/usr/lib64/hercules/hdteq.so
/usr/lib64/hercules/hdtqeth.so
/usr/lib64/libdecNumber.so
/usr/lib64/libherc.so
/usr/lib64/libhercd.so
/usr/lib64/libhercs.so
/usr/lib64/libherct.so
/usr/lib64/libhercu.so
/usr/lib64/libsoftfloat.so
/usr/sbin/hercules-run
/usr/share/doc/hercules
/usr/share/doc/hercules/COPYRIGHT
/usr/share/doc/hercules/README-rpm
/usr/share/doc/hercules/README.COMMADPT
/usr/share/doc/hercules/README.ECPSVM
/usr/share/doc/hercules/README.HDL
/usr/share/doc/hercules/README.HERCLOGO
/usr/share/doc/hercules/README.NETWORKING
/usr/share/doc/hercules/README.TAPE
/usr/share/doc/hercules/RELEASE.NOTES
/usr/share/doc/hercules/hercules.cnf
/usr/share/doc/hercules/html
/usr/share/doc/hercules/html/cckddasd.html
/usr/share/doc/hercules/html/fishgui.html
/usr/share/doc/hercules/html/hercconf.html
/usr/share/doc/hercules/html/hercfaq.html
/usr/share/doc/hercules/html/hercinst.html
/usr/share/doc/hercules/html/herclic.html
/usr/share/doc/hercules/html/hercload.html
/usr/share/doc/hercules/html/hercmsca.html
/usr/share/doc/hercules/html/hercmscf.html
/usr/share/doc/hercules/html/hercmscp.html
/usr/share/doc/hercules/html/hercmsct.html
/usr/share/doc/hercules/html/hercmscu.html
/usr/share/doc/hercules/html/hercmsda.html
/usr/share/doc/hercules/html/hercmsdc.html
/usr/share/doc/hercules/html/hercmsdg.html
/usr/share/doc/hercules/html/hercmsdi.html
/usr/share/doc/hercules/html/hercmsdl.html
/usr/share/doc/hercules/html/hercmsds.html
/usr/share/doc/hercules/html/hercmsdt.html
/usr/share/doc/hercules/html/hercmsdu.html
/usr/share/doc/hercules/html/hercmsg.html
/usr/share/doc/hercules/html/hercmshd.html
/usr/share/doc/hercules/html/hercmshe.html
/usr/share/doc/hercules/html/hercmshg.html
/usr/share/doc/hercules/html/hercmshm.html
/usr/share/doc/hercules/html/hercmsht.html
/usr/share/doc/hercules/html/hercmshu.html
/usr/share/doc/hercules/html/hercmsif.html
/usr/share/doc/hercules/html/hercmsin.html
/usr/share/doc/hercules/html/hercmslc.html
/usr/share/doc/hercules/html/hercmslg.html
/usr/share/doc/hercules/html/hercmspn.html
/usr/share/doc/hercules/html/hercmspr.html
/usr/share/doc/hercules/html/hercmspu.html
/usr/share/doc/hercules/html/hercmsrd.html
/usr/share/doc/hercules/html/hercmssd.html
/usr/share/doc/hercules/html/hercmsta.html
/usr/share/doc/hercules/html/hercmstc.html
/usr/share/doc/hercules/html/hercmste.html
/usr/share/doc/hercules/html/hercmstm.html
/usr/share/doc/hercules/html/hercmsts.html
/usr/share/doc/hercules/html/hercmstt.html
/usr/share/doc/hercules/html/hercmstu.html
/usr/share/doc/hercules/html/hercmsvm.html
/usr/share/doc/hercules/html/hercnew.html
/usr/share/doc/hercules/html/hercrdr.html
/usr/share/doc/hercules/html/hercrnot.html
/usr/share/doc/hercules/html/hercsupp.html
/usr/share/doc/hercules/html/herctcp.html
/usr/share/doc/hercules/html/hercules.css
/usr/share/doc/hercules/html/hercules.html
/usr/share/doc/hercules/html/images
/usr/share/doc/hercules/html/images/back.gif
/usr/share/doc/hercules/html/images/bkued.gif
/usr/share/doc/hercules/html/images/blueu.gif
/usr/share/doc/hercules/html/images/dial1.gif
/usr/share/doc/hercules/html/images/dial2.gif
/usr/share/doc/hercules/html/images/dial3.gif
/usr/share/doc/hercules/html/images/dial4.gif
/usr/share/doc/hercules/html/images/favicon.ico
/usr/share/doc/hercules/html/images/greend.gif
/usr/share/doc/hercules/html/images/greenu.gif
/usr/share/doc/hercules/html/images/hercpic-rblk-256.gif
/usr/share/doc/hercules/html/images/hercpic-rblk-80.gif
/usr/share/doc/hercules/html/images/interruptd.gif
/usr/share/doc/hercules/html/images/interruptu.gif
/usr/share/doc/hercules/html/images/loadd.gif
/usr/share/doc/hercules/html/images/loadoffu.gif
/usr/share/doc/hercules/html/images/loadonu.gif
/usr/share/doc/hercules/html/images/loadu.gif
/usr/share/doc/hercules/html/images/manoffu.gif
/usr/share/doc/hercules/html/images/manonu.gif
/usr/share/doc/hercules/html/images/note.gif
/usr/share/doc/hercules/html/images/osi-certified-60x50.jpg
/usr/share/doc/hercules/html/images/poweroffd.gif
/usr/share/doc/hercules/html/images/poweroffu.gif
/usr/share/doc/hercules/html/images/poweronoffd.gif
/usr/share/doc/hercules/html/images/poweronoffu.gif
/usr/share/doc/hercules/html/images/poweronond.gif
/usr/share/doc/hercules/html/images/powerononu.gif
/usr/share/doc/hercules/html/images/redd.gif
/usr/share/doc/hercules/html/images/redu.gif
/usr/share/doc/hercules/html/images/restartd.gif
/usr/share/doc/hercules/html/images/restartu.gif
/usr/share/doc/hercules/html/images/startd.gif
/usr/share/doc/hercules/html/images/startu.gif
/usr/share/doc/hercules/html/images/stopd.gif
/usr/share/doc/hercules/html/images/stopu.gif
/usr/share/doc/hercules/html/images/stored.gif
/usr/share/doc/hercules/html/images/storeu.gif
/usr/share/doc/hercules/html/images/sysoffu.gif
/usr/share/doc/hercules/html/images/sysonu.gif
/usr/share/doc/hercules/html/images/translucentoffd.gif
/usr/share/doc/hercules/html/images/translucentoffu.gif
/usr/share/doc/hercules/html/images/translucentond.gif
/usr/share/doc/hercules/html/images/translucentonu.gif
/usr/share/doc/hercules/html/images/waitoffu.gif
/usr/share/doc/hercules/html/images/waitonu.gif
/usr/share/doc/hercules/html/include
/usr/share/doc/hercules/html/include/footer.htmlpart
/usr/share/doc/hercules/html/include/header.htmlpart
/usr/share/doc/hercules/html/index.html
/usr/share/doc/hercules/html/shared.html
/usr/share/doc/hercules/html/tasks.html
/usr/share/doc/hercules/util
/usr/share/doc/hercules/util/TMOUNT.txt
/usr/share/doc/hercules/util/awssl-v19g
/usr/share/doc/hercules/util/awswrite.jcl
/usr/share/doc/hercules/util/bldlvlck
/usr/share/doc/hercules/util/cckddump.hla
/usr/share/doc/hercules/util/cckdload.hla
/usr/share/doc/hercules/util/dasdlist
/usr/share/doc/hercules/util/dasdlist.bat
/usr/share/doc/hercules/util/rawstape.jcl
/usr/share/doc/hercules/util/tapeconv.jcl
/usr/share/doc/hercules/util/zzsacard.bin
/usr/share/hercules
/usr/share/hercules/cckddasd.html
/usr/share/hercules/fishgui.html
/usr/share/hercules/hercconf.html
/usr/share/hercules/hercfaq.html
/usr/share/hercules/hercinst.html
/usr/share/hercules/herclic.html
/usr/share/hercules/hercload.html
/usr/share/hercules/hercmsca.html
/usr/share/hercules/hercmscf.html
/usr/share/hercules/hercmscp.html
/usr/share/hercules/hercmsct.html
/usr/share/hercules/hercmscu.html
/usr/share/hercules/hercmsda.html
/usr/share/hercules/hercmsdc.html
/usr/share/hercules/hercmsdg.html
/usr/share/hercules/hercmsdi.html
/usr/share/hercules/hercmsdl.html
/usr/share/hercules/hercmsds.html
/usr/share/hercules/hercmsdt.html
/usr/share/hercules/hercmsdu.html
/usr/share/hercules/hercmsg.html
/usr/share/hercules/hercmshd.html
/usr/share/hercules/hercmshe.html
/usr/share/hercules/hercmshg.html
/usr/share/hercules/hercmshm.html
/usr/share/hercules/hercmsht.html
/usr/share/hercules/hercmshu.html
/usr/share/hercules/hercmsif.html
/usr/share/hercules/hercmsin.html
/usr/share/hercules/hercmslc.html
/usr/share/hercules/hercmslg.html
/usr/share/hercules/hercmspn.html
/usr/share/hercules/hercmspr.html
/usr/share/hercules/hercmspu.html
/usr/share/hercules/hercmsrd.html
/usr/share/hercules/hercmssd.html
/usr/share/hercules/hercmsta.html
/usr/share/hercules/hercmstc.html
/usr/share/hercules/hercmste.html
/usr/share/hercules/hercmstm.html
/usr/share/hercules/hercmsts.html
/usr/share/hercules/hercmstt.html
/usr/share/hercules/hercmstu.html
/usr/share/hercules/hercmsvm.html
/usr/share/hercules/hercnew.html
/usr/share/hercules/hercrdr.html
/usr/share/hercules/hercrnot.html
/usr/share/hercules/hercsupp.html
/usr/share/hercules/herctcp.html
/usr/share/hercules/hercules.css
/usr/share/hercules/hercules.html
/usr/share/hercules/images
/usr/share/hercules/images/back.gif
/usr/share/hercules/images/bkued.gif
/usr/share/hercules/images/blueu.gif
/usr/share/hercules/images/dial1.gif
/usr/share/hercules/images/dial2.gif
/usr/share/hercules/images/dial3.gif
/usr/share/hercules/images/dial4.gif
/usr/share/hercules/images/favicon.ico
/usr/share/hercules/images/greend.gif
/usr/share/hercules/images/greenu.gif
/usr/share/hercules/images/hercpic-rblk-256.gif
/usr/share/hercules/images/hercpic-rblk-80.gif
/usr/share/hercules/images/interruptd.gif
/usr/share/hercules/images/interruptu.gif
/usr/share/hercules/images/loadd.gif
/usr/share/hercules/images/loadoffu.gif
/usr/share/hercules/images/loadonu.gif
/usr/share/hercules/images/loadu.gif
/usr/share/hercules/images/manoffu.gif
/usr/share/hercules/images/manonu.gif
/usr/share/hercules/images/note.gif
/usr/share/hercules/images/osi-certified-60x50.jpg
/usr/share/hercules/images/poweroffd.gif
/usr/share/hercules/images/poweroffu.gif
/usr/share/hercules/images/poweronoffd.gif
/usr/share/hercules/images/poweronoffu.gif
/usr/share/hercules/images/poweronond.gif
/usr/share/hercules/images/powerononu.gif
/usr/share/hercules/images/redd.gif
/usr/share/hercules/images/redu.gif
/usr/share/hercules/images/restartd.gif
/usr/share/hercules/images/restartu.gif
/usr/share/hercules/images/startd.gif
/usr/share/hercules/images/startu.gif
/usr/share/hercules/images/stopd.gif
/usr/share/hercules/images/stopu.gif
/usr/share/hercules/images/stored.gif
/usr/share/hercules/images/storeu.gif
/usr/share/hercules/images/sysoffu.gif
/usr/share/hercules/images/sysonu.gif
/usr/share/hercules/images/translucentoffd.gif
/usr/share/hercules/images/translucentoffu.gif
/usr/share/hercules/images/translucentond.gif
/usr/share/hercules/images/translucentonu.gif
/usr/share/hercules/images/waitoffu.gif
/usr/share/hercules/images/waitonu.gif
/usr/share/hercules/include
/usr/share/hercules/include/footer.htmlpart
/usr/share/hercules/include/header.htmlpart
/usr/share/hercules/index.html
/usr/share/hercules/shared.html
/usr/share/hercules/tasks.html
/usr/share/man/man1/cckddiag.1.gz
/usr/share/man/man1/dasdseq.1.gz
/usr/share/man/man1/hercules.1.gz
/usr/share/man/man4/cckd.4.gz
/var/lib/hercules

References

Summary

In this tutorial we learn how to install hercules on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).