* On Ubuntu 14.04 LTSx64:
Since the toolchain executables are 32-bits apps, when running on 64-bits machines, be sure you install the following 32-bits libraries (for different versions check the toolchain README for the actual list):
$ sudo apt-get -y install lib32z1 lib32ncurses5 lib32bz2-1.0
* On Ubuntu 15.04 the following libraries are required:
$ sudo apt-get -y install lib32ncurses5
* On Ubuntu 12 LTSx64 all 32-bits libraries were packed in ia32-libs, so you can also use, but be prepared to get a lot of useless libraries:
$ sudo apt-get -y install ia32-libs
Download the latest Linux install tarball file from Launchpad (at the time gcc-arm-none-eabi-5_2-2015q4-20151219-linux.tar.bz2, more than 60 MB)
Note: DO NOT install the ARM GCC package that comes with your distribution, especially if it is newer than the one provided by Launchpad, since generally it is not supported, and debugging sessions might fail.
Locate the file (usually in the $HOME/Downloads/ folder) Decide on a location to install the toolchain; the recommended folder is /usr/local/ Unpack the archive in the destination folder
Note: It is highly recommended to do not use a different install path, since the plug-in tries to automatically discover the toolchain in this default location.
$ cd /usr/local $ sudo tar xjf ~/Downloads/gcc-arm-none-eabi-5_2-2015q4-20151219-linux.tar.bz2
The result should be a folder like /usr/local/gcc-arm-none-eabi-5_2-2015q4 test if the compiler is functional; use the actual install path:
$ /usr/local/gcc-arm-none-eabi-5_2-2015q4/bin/arm-none-eabi-gcc --version arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 5.2.1 20151202 (release) [ARM/embedded-5-branch revision 231848] Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
DO NOT add the toolchain path to the user or system path!
The complete toolchain documentation is available in the …/share/doc/pdf/ folder.
If you’ll ever need to remove the toolchain, just remove the /usr/local/gcc-arm-none-eabi-5_2-2015q4, there are no other components stored in system folders.