How To Install arduino on Kali Linux
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 updateAfter updating apt database, We can install arduino using apt-get by running the following command:
sudo apt-get -y install arduinoInstall arduino Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install arduino using apt by running the following command:
sudo apt -y install arduinoInstall 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 updateAfter updating apt database, We can install arduino using aptitude by running the following command:
sudo aptitude -y install arduinoHow To Uninstall arduino on Kali Linux
To uninstall only the arduino package we can use the following command:
sudo apt-get remove arduinoUninstall 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 arduinoRemove arduino Configurations and Data
To remove arduino configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge arduinoRemove 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 arduinoDependencies
arduino have the following dependencies:
- arduino-builder
- arduino-core-avr
- avrdude
- default-jre
- dpkg-dev
- libastylej-jni
- libbatik-java
- libbcpg-java
- libbcprov-java
- libcommons-codec-java
- libcommons-compress-java
- libcommons-exec-java
- libcommons-io-java
- libcommons-lang3-java
- libcommons-logging-java
- libcommons-net-java
- libhttpclient-java
- libjackson2-annotations-java
- libjackson2-core-java
- libjackson2-databind-java
- libjaxp1.3-java
- libjmdns-java
- libjna-java
- libjna-platform-java
- libjsch-java
- libjssc-java
- liblistserialsj-dev
- liblog4j2-java
- librsyntaxtextarea-java
- librxtx-java
- libsemver-java
- libslf4j-java
- libxml-commons-external-java
- libxmlgraphics-commons-java
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.