emu8051-cli command not found

In this troubleshooting guide we learn how to fix emu8051-cli command not found error message

Introduction

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

emu8051-cli: command not found

or when using sudo you get the following error message

sudo: emu8051-cli: command not found

Solutions to emu8051-cli: command not found

How To Fix emu8051-cli: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu emu8051-cli is provided by emu8051 package.

emu8051 is:

Emu8051 is a simulator/emulator for the Intel 8051 family of microcontrollers. It allows the developers to simulate 8051 microcontrollers to test their code and debug it. The program can load Intel HEX files.

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

sudo apt-get -y install emu8051

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

You can also use apt command to install emu8051.

sudo apt -y install emu8051

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

sudo aptitude install emu8051

Summary

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