romcmp command not found

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

Introduction

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

romcmp: command not found

or when using sudo you get the following error message

sudo: romcmp: command not found

Solutions to romcmp: command not found

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

In Ubuntu romcmp is provided by mame-tools package.

mame-tools is:

MAME is a hardware emulator: it faithfully reproduces the behavior of many arcade machines (it is not a simulation).

This package provides tools to be used with MAME. It currently contains: castool – generic cassette manipulation tool for MAME chdman – MAME Compressed Hunks of Data CHD manager floptool – Generic floppy image manipulation tool for MESS imgtool – generic image manipulation tool for MAME jedutil – binary to/from JEDEC file converter ldresample – Laserdisc audio synchronizer and resampler ldverify – Laserdisc AVI/CHD verifier romcmp – ROM comparison utility program

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

sudo apt-get -y install mame-tools

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

You can also use apt command to install mame-tools.

sudo apt -y install mame-tools

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

sudo aptitude install mame-tools

Summary

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