yotta command not found

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

Introduction

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

yotta: command not found

or when using sudo you get the following error message

sudo: yotta: command not found

Solutions to yotta: command not found

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

In Ubuntu yotta is provided by yotta package.

yotta is:

yotta is a build tool to make it easier to build better C/C++ software by re-using modules. Modules can be published to the yotta registry to share with other people, or can be re-used privately in your own projects.

Whenever a project is built with yotta, a yotta build target is selected. Targets describe the platform that you’re building for (such as an embedded IoT development board, or natively for Linux), and provide all the information that yotta and the modules you’re using need to configure themselves correctly for that platform.

This package provides the yotta build system for Python 3.

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

sudo apt-get -y install yotta

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

You can also use apt command to install yotta.

sudo apt -y install yotta

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

sudo aptitude install yotta

Summary

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