martes, 14 de junio de 2016

Instalar Arduino en Linux Ubuntu

/////////////////////////////////////////////////////////////////////////////////////////////////////

1. Descargar Arduino
www.arduino.cc/en/Main/Software

2.  Abrir una Terminal o Consola

3. Descomprimir tar (tener en cuenta cambiar números del nombre según la version descargada)
 
tar -xvf arduino-1.6.6-*.tar.xz
 
4. Mover el resultado al directorio /opt para uso Global

sudo mv arduino-1.6.6 /opt

5. Ir a la carpeta que movimos
 
cd /opt/arduino-1.6.6/

6. Dar permisos de Ejecución al scrip install.sh
 
chmod +x install.sh

7. Ejecutar el script
 
./install.sh

8. Abrir IDE Arduino desde el shortcut creado en el escritorio

/////////////////////////////////////////////////////////////////////////////////////////////////////

http://ubuntuhandbook.org/index.php/2015/11/install-arduino-ide-1-6-6-ubuntu/

How to Install The Latest Arduino IDE 1.6.6 in Ubuntu

November 30, 2015 — 15 Comments
Install latest Arduino in Ubuntu
Quick tutorial shows you how to the latest Arduino IDE, so far its version 1.6.6, in all current Ubuntu releases.
The open-source Arduino IDE has reached the 1.6.6 release recently with lots of changes. The new release has switched to Java 8, which is now both bundled and needed for compiling the IDE. See the RELEASE NOTE for details.
Arduino 1.6.6 in Ubuntu 15.10
For those who don’t want to use the old 1.0.5 version available in Software Center, you can always follow below steps to install Arduino in all Ubuntu releases:
Replace the words in red for future releases
1. Download the latest packages, Linux 32-bit or Linux 64-bit, from the official link below:
Don’t know your OS type? Go and check out System Settings -> Details -> Overview.
2. Open terminal from Unity Dash, App Launcher, or via Ctrl+Alt+T keys. When it opens, run below commands one by one:
Navigate to your downloads folder:
cd ~/Downloads
navigate-downloads
Decompress the downloaded archive with tar command:
tar -xvf arduino-1.6.6-*.tar.xz
extract-archive
Move the result folder to /opt/ directory for global use:
sudo mv arduino-1.6.6 /opt
move-opt
3. Now the IDE is ready for use with bundled Java. But it would be good to create desktop icon/launcher for the application:
Navigate to install folder:
cd /opt/arduino-1.6.6/
Give executable permission to install.sh script in that folder:
chmod +x install.sh
Finally run the script to install both desktop shortcut and launcher icon:
./install.sh
In below picture I’ve combined 3 commands into one via “&&”:
install-desktop-icon
Finally, launch Arduino IDE from Unity Dash, Application Launcher, or via Desktop shorcut.

No hay comentarios:

Publicar un comentario