z80-unknown-coff-objdump command not found

In this troubleshooting guide we learn how to fix z80-unknown-coff-objdump command not found error message

Introduction

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

z80-unknown-coff-objdump: command not found

or when using sudo you get the following error message

sudo: z80-unknown-coff-objdump: command not found

Solutions to z80-unknown-coff-objdump: command not found

How To Fix z80-unknown-coff-objdump: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu z80-unknown-coff-objdump is provided by binutils-z80 package.

binutils-z80 is:

The programs in this package are used to assemble, link and manipulate binary and object files for the Z80 and R800 CPUs. This package is primarily for Z80 and R800 developers and is not needed by normal users or developers.

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

sudo apt-get -y install binutils-z80

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

You can also use apt command to install binutils-z80.

sudo apt -y install binutils-z80

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

sudo aptitude install binutils-z80

Summary

In this tutorial we learn how to fix z80-unknown-coff-objdump command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.