How To Install arduino on Debian 9

In this tutorial we learn how to install arduino on Debian 9. arduino is AVR development board IDE and built-in libraries

Introduction

In this tutorial we learn how to install arduino on Debian 9.

What is arduino

arduino is:

Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It’s intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.

This package will install the integrated development environment that allows for program writing, code verfication, compiling, and uploading to the Arduino development board. Libraries and example code will also be installed.

There are three methods to install arduino on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install arduino Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install arduino using apt-get by running the following command:

sudo apt-get -y install arduino

Install arduino Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install arduino using apt by running the following command:

sudo apt -y install arduino

Install arduino 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 arduino using aptitude by running the following command:

sudo aptitude -y install arduino

How To Uninstall arduino on Debian 9

To uninstall only the arduino package we can use the following command:

sudo apt-get remove arduino

Uninstall arduino And Its Dependencies

To uninstall arduino and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove arduino

Remove arduino Configurations and Data

To remove arduino configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge arduino

Remove arduino configuration, data, and all of its dependencies

We can use the following command to remove arduino configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge arduino

Dependencies

arduino have the following dependencies:

References

Summary

In this tutorial we learn how to install arduino package on Debian 9 using different package management tools: apt, apt-get and aptitude.