How To Install yotta on Debian 10
Introduction
In this tutorial we learn how to install yotta
on Debian 10.
What is yotta
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.
There are three methods to install yotta
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install yotta Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install yotta
using apt-get
by running the following command:
sudo apt-get -y install yotta
Install yotta Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install yotta
using apt
by running the following command:
sudo apt -y install yotta
Install yotta Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install yotta
using aptitude
by running the following command:
sudo aptitude -y install yotta
How To Uninstall yotta on Debian 10
To uninstall only the yotta
package we can use the following command:
sudo apt-get remove yotta
Uninstall yotta And Its Dependencies
To uninstall yotta
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove yotta
Remove yotta Configurations and Data
To remove yotta
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge yotta
Remove yotta configuration, data, and all of its dependencies
We can use the following command to remove yotta
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge yotta
Dependencies
yotta have the following dependencies:
- cmake
- mbed-test-wrapper
- valinor
- python3-argcomplete
- python3-certifi
- python3-colorama
- python3-cryptography
- python3-github
- python3-hgapi
- python3-intelhex
- python3-jinja2
- python3-json-pointer
- python3-jsonschema
- python3-jwt
- python3-requests
- python3-semantic-version
- python3
References
Summary
In this tutorial we learn how to install yotta
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.