gdmd command not found

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

Introduction

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

gdmd: command not found

or when using sudo you get the following error message

sudo: gdmd: command not found

Solutions to gdmd: command not found

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

In Ubuntu gdmd is provided by gdmd package.

gdmd is:

This package provides gdmd, an interface to the GNU D compiler (GDC), which recognizes flags normally used with the DMD D compiler and translates them to flags GDC can understand. This makes gdmd a drop-in replacement to the dmd compiler invocation.

The GNU D compiler compiles D sources using the gcc backend to generate highly optimized binaries.

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

sudo apt-get -y install gdmd

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

You can also use apt command to install gdmd.

sudo apt -y install gdmd

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

sudo aptitude install gdmd

Summary

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