avarice command not found

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

Introduction

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

avarice: command not found

or when using sudo you get the following error message

sudo: avarice: command not found

Solutions to avarice: command not found

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

In Ubuntu avarice is provided by avarice package.

avarice is:

AVaRICE is a program which interfaces the GNU Debugger with the AVR JTAG ICE, and other debuggers, available from Atmel. It connects to gdb via a TCP socket and communicates via gdb’s “serial debug protocol”.

This protocol allows gdb to send commands like “set/remove breakpoint” and “read/write memory”. AVaRICE translates this commands into the Atmel protocol used to control the JTAG ICE (or other) debugger.

Because the GDB-AVaRICE connection is via a TCP socket, the two programs do not need to run on the same machine.

The currently supported debuggers are:

  • JTAG ICE mkI
  • JTAG ICE mkII
  • AVR Dragon

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

sudo apt-get -y install avarice

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

You can also use apt command to install avarice.

sudo apt -y install avarice

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

sudo aptitude install avarice

Summary

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