gmac command not found

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

Introduction

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

gmac: command not found

or when using sudo you get the following error message

sudo: gmac: command not found

Solutions to gmac: command not found

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

In Ubuntu gmac is provided by tkgate package.

tkgate is:

TkGate is a digital circuit editor and simulator with a Tcl/Tk based interface. TkGate includes a large number of built-in devices including basic gates, memories, ttys and modules for hierarchical design. The simulator can be controlled either interactively or through a simulation script. Memory contents can be loaded from files, and a microcode/macrocode compiler (gmac) is included to create tkgate memory files from a high-level description. The simulator supports continuous simulation, single step simulation (by clock or epoch) and breakpoints. Save files are in a Verilog-like format.

TkGate also includes a number of tutorial and example circuits which can be loaded through the “Help” menu. The examples range from a simple gate-level 3-bit adder to a 16-bit CPU programmed to play the “Animals” game.

TkGate has a multi-language interface with support for English, Japanese, French and Spanish.

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

sudo apt-get -y install tkgate

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

You can also use apt command to install tkgate.

sudo apt -y install tkgate

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

sudo aptitude install tkgate

Summary

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