dasdconv command not found

In this troubleshooting guide we learn how to fix dasdconv command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

dasdconv: command not found

or when using sudo you get the following error message

sudo: dasdconv: command not found

Solutions to dasdconv: command not found

How To Fix dasdconv: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dasdconv is provided by hercules package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install hercules

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install hercules.

sudo apt -y install hercules

Or if you have aptitude installed you can use the following command.

sudo aptitude install hercules

Summary

In this tutorial we learn how to fix dasdconv command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.