Install Arduino on linux/Ubuntu
somewhat of a repeat on
pjrc.com/teensy/td_download must match installed arduino version
ubuntuhandbook.org/index.php/2015/11/install-arduino-ide-1-6-6-ubuntu
1) Download and extract Arduino
arduino.cc/en/Main/Software download linux installer (64bit for me)
cd ~/Downloads
#extract arduino-1.6.12 e
tar -xvf arduino-1.6.12-*.tar.xz
sudo mv arduino-1.6.12 /opt
cd /opt
# Create a link, future /opt/arduino-xxx upgrades result in only the link changing.
sudo ln -s arduino-1.6.12 Arduino #sudo as protected directory
ls -all
cd Arduino
sudo chmod +x install.sh
./install.sh # puts a short cut on the desktop
2) Install Linux udev rules
#Step into
https://www.pjrc.com/teensy/49-teensy.rules - and highlight rules
#then paste in rules, or any other method your prefer to create /etc/udev/rules.d/49-teensy.rules
$sudo nano /etc/udev/rules.d/
49-teensy.rules
exit and save nano
$ more /udev/rules.d/49-teensy.rules
3) Run Teensyduino
Teensyduino must be compatible/match the installed arduino version which currently is Arduino 1.6.12 - the Teensyduino does do the checking to ensure there is a compatible version - very nice.
The Teensyduino 1.31 Beta is needed for Arduino 1.6.12 and referenced here
pjrc.com/teensy/td_download.html
and as of 2016Oct7th download it here
forum.pjrc.com/threads/37204-Teensyduino-1-31-Beta-1-Available
# Monitor where it goes, most likely ~/Downloads
cd ~/Downloads
chmod +x TeensyduinoInstall.linux64
./TeensyduinoInstall.linux64 # don't use sudo as it will go in as onwer root
# At some point I also added to dial out
sudo usermod -aG dialout <loginname>
Connect the Teensy36/35 microUSB to Ubuntu USB Host A
To start double click on "Arduino IDE" then set Tools->Board : "Teensy 3.6"
I verified by doing a modified blinky, and saving it in my library which came out here
~/Arduino/Blinky161005/Blinky161005.ino
and downloading to Teensy36 and verify its working .