How To Install arduino on Kali Linux

In this tutorial we learn how to install arduino on Kali Linux. arduino is AVR development board IDE from Arduino CC

Introduction

In this tutorial we learn how to install arduino on Kali Linux.

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 verification, compiling, and uploading to the Arduino development board. Example code will also be installed.

Some base AVR libraries will be provided by the depending additional package arduino-core-avr. More libraries can be installed within the IDE itself by calling the libarary manager. This requires a working internet access.

There are three methods to install arduino on Kali Linux. 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 on Kali Linux first since aptitude is usually not installed by default on Kali Linux. 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 Kali Linux

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 Kali Linux, we can use the command below:

sudo apt-get -y autoremove arduino

Remove arduino Configurations and Data

To remove arduino configuration and data from Kali Linux 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 Kali Linux using different package management tools: apt, apt-get and aptitude.