bochs command not found

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

Introduction

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

bochs: command not found

or when using sudo you get the following error message

sudo: bochs: command not found

Solutions to bochs: command not found

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

In Ubuntu bochs is provided by bochs package.

bochs is:

Bochs is a highly portable free IA-32 (x86) PC emulator written in C++, that runs on most popular platforms. It includes emulation of the Intel x86 CPU, common I/O devices, and a custom BIOS.

Bochs is capable of running most operating systems inside the emulation including GNU, GNU/Linux, *BSD, FreeDOS, MSDOS and Windows 95/NT.

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

sudo apt-get -y install bochs

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

You can also use apt command to install bochs.

sudo apt -y install bochs

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

sudo aptitude install bochs

Summary

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