Tuesday, January 10, 2017

How to Install Arduino IDE 1.8.0 on Ubuntu 16.04, 16.10

   Arduino is an open-source prototyping platform based on easy-to-use hardware and software. Arduino boards are able to read inputs - light on a sensor, a finger on a button, or a Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board.


Arduino IDE 1.8.0 Changelog
[ide]
  • Linux: running in command line mode doesn't require an X11 display anymore
  • "Save as" now clears the "modified" status
  • builder: Paths with strange UTF8 chars are now correctly handled
  • builder: .hpp and .hh file extensions are now considered valid sketch extension
  • builder: core.a is not rebuild if not needed (improve build time in particular for big projects)
  • Fixed swapped actions "Copy for Forum" and "Copy as HTML"
  • Linux/osx: If an editor tab is a symbolic link it is no more replaced with a real file when saving
  • Increased the upload timeout to 5 minutes (it was 2 min, but it may be not sufficient when uploading via UART a big sketch)
[core]
  • Added Arduino.org boards
  • Added Adafruit Circuit Playground board
  • Added "-g" option to linker to keep debug information in the .elf file
  • avrdude: Added fake configuration for EFUSE on atmega8 part.

Installation instructions:

1. Download the latest packages, Linux 32-bit or Linux 64-bit, from the official link below:  www.arduino.cc/en/Main/Software

2. Open terminal from Unity Dash, App Launcher, or via Ctrl+Alt+T keys. When it opens, run below commands one by one:

$ cd ~/Downloads

$ tar -xvf arduino-1.8.0-*.tar.xz

$ sudo mv arduino-1.8.0 /opt

$ cd /opt/arduino-1.8.0/

$ chmod +x install.sh

$ ./install.sh

Finally, launch Arduino IDE from Unity Dash, Application Launcher, or via Desktop shortcut.

7 comments:

  1. this procedure does not worked for us with arduino-1.8.2

    ReplyDelete
    Replies
    1. well i fixed after 5 mins.here is the solution if you had errors like mine (below your comment)

      1)extract package

      2)change the "RESOURCE_NAME=cc.arduino.arduinoide" to "RESOURCE_NAME=arduino-arduinoide" in install.sh file

      source : hmattiasl's solution from https://github.com/arduino/Arduino/issues/6116

      3)use the last 2 commands by opening the terminal in that folder

      $ chmod +x install.sh

      $ ./install.sh

      Delete
    2. Insert RESOURCE_NAME=arduino-arduinoide on line:10 on install.sh file run below commands

      see link: https://howto-ubuntunew.blogspot.com/2017/04/how-to-install-arduino-ide-182-on.html#more

      Delete
  2. my output....couldnt fix it :(

    Adding desktop shortcut, menu item and file associations for Arduino IDE...xdg-mime: file '/home/haxoboi/Downloads/arduino-1.8.2/lib/cc.arduino.arduinoide.xml' does not exist
    xdg-icon-resource: icon name 'cc.arduino.arduinoide' does not have a proper vendor prefix
    A vendor prefix consists of alpha characters ([a-zA-Z]) and is terminated
    with a dash ("-"). An example icon name is 'example-cc.arduino.arduinoide'
    Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
    xdg-icon-resource: icon name 'cc.arduino.arduinoide' does not have a proper vendor prefix
    A vendor prefix consists of alpha characters ([a-zA-Z]) and is terminated
    with a dash ("-"). An example icon name is 'example-cc.arduino.arduinoide'
    Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
    xdg-icon-resource: icon name 'cc.arduino.arduinoide' does not have a proper vendor prefix
    A vendor prefix consists of alpha characters ([a-zA-Z]) and is terminated
    with a dash ("-"). An example icon name is 'example-cc.arduino.arduinoide'
    Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
    xdg-icon-resource: icon name 'cc.arduino.arduinoide' does not have a proper vendor prefix
    A vendor prefix consists of alpha characters ([a-zA-Z]) and is terminated
    with a dash ("-"). An example icon name is 'example-cc.arduino.arduinoide'
    Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
    xdg-icon-resource: icon name 'cc.arduino.arduinoide' does not have a proper vendor prefix

    ReplyDelete
    Replies
    1. A vendor prefix consists of alpha characters ([a-zA-Z]) and is terminated
      with a dash ("-"). An example icon name is 'example-cc.arduino.arduinoide'
      Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
      xdg-icon-resource: icon name 'cc.arduino.arduinoide' does not have a proper vendor prefix
      A vendor prefix consists of alpha characters ([a-zA-Z]) and is terminated
      with a dash ("-"). An example icon name is 'example-cc.arduino.arduinoide'
      Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
      xdg-icon-resource: icon name 'cc.arduino.arduinoide' does not have a proper vendor prefix
      A vendor prefix consists of alpha characters ([a-zA-Z]) and is terminated
      with a dash ("-"). An example icon name is 'example-cc.arduino.arduinoide'
      Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
      xdg-icon-resource: icon name 'cc.arduino.arduinoide' does not have a proper vendor prefix
      A vendor prefix consists of alpha characters ([a-zA-Z]) and is terminated
      with a dash ("-"). An example icon name is 'example-cc.arduino.arduinoide'
      Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
      xdg-icon-resource: icon name 'cc.arduino.arduinoide' does not have a proper vendor prefix
      A vendor prefix consists of alpha characters ([a-zA-Z]) and is terminated
      with a dash ("-"). An example icon name is 'example-cc.arduino.arduinoide'
      Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
      xdg-desktop-menu: filename 'cc.arduino.arduinoide.desktop' does not have a proper vendor prefix
      A vendor prefix consists of alpha characters ([a-zA-Z]) and is terminated
      with a dash ("-"). An example filename is 'example-cc.arduino.arduinoide.desktop'
      Use --novendor to override or 'xdg-desktop-menu --manual' for additional info.
      xdg-desktop-icon: filename 'cc.arduino.arduinoide.desktop' does not have a proper vendor prefix
      A vendor prefix consists of alpha characters ([a-zA-Z]) and is terminated
      with a dash ("-"). An example filename is 'example-cc.arduino.arduinoide.desktop'
      Use --novendor to override or 'xdg-desktop-icon --manual' for additional info.
      xdg-mime: file '/home/haxoboi/Downloads/arduino-1.8.2/lib/cc.arduino.arduinoide.xml' does not exist
      mv: replace '/home/haxoboi/.config/mimeapps.list', overriding mode 0644 (rw-r--r--)?

      Delete
    2. Insert RESOURCE_NAME=arduino-arduinoide on line:10 on install.sh file run below commands

      see link: https://howto-ubuntunew.blogspot.com/2017/04/how-to-install-arduino-ide-182-on.html#more

      Delete
  3. This comment has been removed by the author.

    ReplyDelete