A new version of the Arduino can be downloaded from the Arduino website.
After downloading it can be unpacked anywhere, and it should run out of the box (tested August 8 2013 with Uno R3, December 25 2015 with USB).
App Armor's security model is to bind access control attributes to programs rather than to users.
App Armor confinement is provided via profiles loaded into the kernel, typically on boot.
Using this method Arduino software won't automatically be updated, so you should check Arduino website every few months and download a new version if one is available.
You will also have to start the Arduino application by opening the folder where you unpacked it to (or integrate it with Ubuntu by providing a .desktop file).
Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/bin/ruby1.8 50 auto mode 1 /usr/bin/ruby1.8 50 manual mode 2 /usr/bin/ruby1.9.1 10 manual mode Press enter to keep the current choice[*], or type selection number: 2 update-alternatives: using /usr/bin/ruby1.9.1 to provide /usr/bin/ruby (ruby) in manual mode.
$ ruby --version ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux] Credit for this solution goes to person who answered https://askubuntu.com/questions/91693/how-do-you-uninstall-ruby-1-8-7-and-install-ruby-1-9-2 .
For more information see the Debian entry in Playground.
IMPORTANT NOTE: The "Arduino IDE" package in the Ubuntu 10.10 (Maverick) repository is version 18 and does not support the latest Arduino UNO, see below.
the Ubuntu repositories are a long way behind, so the default package in Maverick does not support those boards.
Profiles in complain mode will not enforce policy but instead report policy violation attempts.
App Armor differs from some other MAC systems on Linux: it is path-based, it allows mixing of enforcement and complain mode profiles, it uses include files to ease development, and it has a far lower barrier to entry than other popular MAC systems.