gpsim command not found

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

Introduction

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

gpsim: command not found

or when using sudo you get the following error message

sudo: gpsim: command not found

Solutions to gpsim: command not found

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

In Ubuntu gpsim is provided by gpsim package.

gpsim is:

Gpsim is a full-featured software simulator for Microchip PIC microcontrollers.

Gpsim has been designed to be as accurate as possible. Accuracy includes the entire PIC - from the core to the I/O pins and including ALL of the internal peripherals. Thus it’s possible to create stimuli and tie them to the I/O pins and test the PIC the same PIC the same way you would in the real world.

Gpsim has been designed to be as fast as possible. Real time simulation speeds of 20Mhz PICs are possible.

Gpsim has been designed to be as useful as possible. The standard simulation paradigm including breakpoints, single stepping, disassembling, memory inspect & change, have been implemented. In addition, gpsim supports many debugging features that are only available with in-circuit emulators. For example, a continuous trace buffer tracks every action of the simulator. Also, it’s possible to set read and write break points on values (e.g. break if a specific value is read from or written to a register).

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

sudo apt-get -y install gpsim

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

You can also use apt command to install gpsim.

sudo apt -y install gpsim

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

sudo aptitude install gpsim

Summary

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