romheaders command not found

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

Introduction

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

romheaders: command not found

or when using sudo you get the following error message

sudo: romheaders: command not found

Solutions to romheaders: command not found

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

In Ubuntu romheaders is provided by fcode-utils package.

fcode-utils is:

FCode is a Forth programming language dialect compliant with ANS Forth. It can exist in two forms; source code and a compiled version, known as bytecode. It is of interest mainly for its use in OpenFirmware.

This package provides a set of FCode utilities:

  • the tokenizer toke
  • the detokenizer detok
  • a PCI rom header utility
  • a portable implementation of Forth local values

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

sudo apt-get -y install fcode-utils

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

You can also use apt command to install fcode-utils.

sudo apt -y install fcode-utils

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

sudo aptitude install fcode-utils

Summary

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