simavr command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
simavr: command not found
or when using sudo you get the following error message
sudo: simavr: command not found
Solutions to simavr: command not found
How To Fix simavr: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu simavr is provided by simavr package.
simavr is:
A simple command line tool using AVR simulator library to run AVR firmware, produce VCD waveform files and/or run a debugging session. The tool reads simulation parameters directly from the emulated code using .elf section and/or accepts command line arguments.
For more advanced peripheral and virtual circuitry prototyping and simulation see AVR simulator development examples provided by libsimavr-examples package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install simavr
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install simavr.
sudo apt -y install simavr
Or if you have aptitude installed you can use the following command.
sudo aptitude install simavr
Summary
In this tutorial we learn how to fix simavr command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.