How To Install hercules on Kali Linux
Introduction
In this tutorial we learn how to install hercules on Kali Linux.
What is hercules
hercules is:
Hercules is an open source software implementation of the mainframe System/370 and ESA/390 architectures, in addition to the new 64-bit z/Architecture.
This means that your PC can emulate an IBM mainframe processor. The mainframe can range from a 360 to a z900 - running in “System/370” mode, “ESA/390” mode, or “z/Architecture” mode. Hercules executes S/370, ESA/390, and z/Architecture instructions and channel programs. It emulates mainframe I/O devices by using PC devices. For example, 3390 DASD devices are emulated by large files on your hard disk, and local 3270 screens are emulated by tn3270 sessions.
Hercules implements only the raw S/370, ESA/390, and z/Architecture instruction set; it does not provide any operating system facilities. This means that you need to provide an operating system or standalone program which Hercules can load from an emulated disk or tape device. You will have to use a free software operating system such as Linux, write the operating system or standalone program yourself, obtain a license from IBM to run one of their operating systems on your PC, or use IBM programs and operating systems which have been placed in the public domain.
Virtual networking can be accomplished using the TUN/TAP driver in host Linux kernel.
There are three methods to install hercules on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install hercules Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install hercules using apt-get by running the following command:
sudo apt-get -y install herculesInstall hercules Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install hercules using apt by running the following command:
sudo apt -y install herculesInstall hercules Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install hercules using aptitude by running the following command:
sudo aptitude -y install herculesHow To Uninstall hercules on Kali Linux
To uninstall only the hercules package we can use the following command:
sudo apt-get remove herculesUninstall hercules And Its Dependencies
To uninstall hercules and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove herculesRemove hercules Configurations and Data
To remove hercules configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge herculesRemove hercules configuration, data, and all of its dependencies
We can use the following command to remove hercules configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge herculesDependencies
hercules have the following dependencies:
References
Summary
In this tutorial we learn how to install hercules package on Kali Linux using different package management tools: apt, apt-get and aptitude.