Installation on Ubunto 14

I tried to do what was mentioned in the installation guide:

sudo apt-get install arduino arduino-core Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: adobereader-enu:i386 : Depends: libgtk2.0-0:i386 (>= 2.4) but it is not going to be installed arduino : Depends: libjna-java but it is not going to be installed Depends: librxtx-java (>= 2.2pre2-3) but it is not going to be installed Recommends: extra-xdg-menus but it is not going to be installed arduino-core : Depends: gcc-avr (>= 4.7.0) but it is not going to be installed Depends: avrdude but it is not going to be installed Depends: avr-libc (>= 1.8.0) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

It seems that the arduino installation is aimed for an older Ubuntu. So what to do.

Download and unpack the IDE from the Arduino website, then navigate to that unpacked directory and run the arduino batch file there.