Code: Select all
wget https://raw.githubusercontent.com/ShorTie8/Arduino_IDE/master/Arduino_IDE_builder.bash
Code: Select all
git clone https://github.com/ShorTie8/Arduino_IDE
And with a little help Mac && Windows too...
What it does is use github to get all the various programs.
Compiles them and builds the IDE in 1 simple script ..

You gotta run it as root !!
I've tested it on a Raspberry Pi2 and Odroid C1 and all seems well after dependency are meet.
Code: Select all
apt-get install -y mercurial subversion build-essential gperf bison ant texinfo zip automake flex libusb-dev libusb-1.0-0-dev libtinfo-dev pkg-config libwxbase3.0-dev libtool
If it is not already installed, like on the Odroid and Debian i686, I did it as follows
Code: Select all
sudo sh -c 'echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" >> /etc/apt/sources.list'
sudo sh -c 'echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" >> /etc/apt/sources.list'
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
sudo apt-get update
sudo apt-get install oracle-java8-installer
The script seems to run fine on Debian i686, but with no access to x11, I could not run the final product.
Not all options are fully implemented yet, But Silence_is_Golden is enabled as it sed's through toolchain-avr on the initial git clone to silence it and make things easier to follow. So to do/un-do it, just 'rm -rf Arduino/build/toolchain-avr' and re-run the script. You can save some download time by coping all the files toolchain-avr downloads over as git clone is working if you have them.
Have A Great Day
ShorTie
Note: Older stuff is still @ my github