59

I was thinking about buying a Raspberry Pi, and running Ubuntu on it. I have looked around the web, and a lot of stuff says that it's difficult for it to work on ARM processors. Has anyone figured out how to get a Raspberry pi to run Ubuntu?

40

From the Official FAQ Page at Raspberry Pi:

What Linux distros will be supported at launch?

Fedora, Debian and ArchLinux will be supported from the start. We hope to see support from other distros later. (Because of issues with newer releases of Ubuntu and the ARM processor we are using, Ubuntu can’t commit to support Raspberry Pi at the moment.) You will be able to download distro images from us as soon as the Raspberry Pi is released, and we will also be selling pre-loaded SD cards shortly after release.


Source: My answer on Raspberry Pi SE


EDIT

It seems that since the launch of Raspberry Pi 2, Snappy Ubuntu Core can be run on RP2.

Thanks to a very successful collaboration between the Raspberry Pi Foundation and Canonical, the company behind Ubuntu, we are pleased to announce that Snappy Ubuntu Core is available for the Raspberry Pi 2, the latest Raspberry Pi family member.

However, it should be noted for the anxious that this is not a desktop version of Ubuntu.

  • 3
    Thanks. I hope they make it work for the Raspberry pi soon. I know a lot of people would be in favor of that. – Jordan Nov 6 '12 at 16:26
  • 2
    Or they will move on to a board that supports it. cubieboard.org – Mateo Feb 1 '13 at 0:54
  • 2
    See the answer below by @0xF2 for helpful details (which would be worth adding to this answer....) – nealmcb Apr 30 '14 at 22:13
  • @Jordan Raspberry Pi 2 has been launched. I should run Ubuntu Core – Archisman Panigrahi Feb 2 '15 at 11:30
  • Snappy Ubuntu is an incompatible sibling to the traditional Debian-based Ubuntu. – Thorbjørn Ravn Andersen Jun 6 '15 at 8:40
18

Currently not - Canonical only support ARM's ARMv7 processor architecture and the Pi has an ARMv6 chip.

13

Some complications with ARM are a common issue for all distributions, they are not always Ubuntu-specific. They stem from the fact that ARM has a number of different architectures, offering limited to no compatibility between each other.

The leading Linux ARM distributions are the following (excluding Gentoo which by definition is compiled to the exact target), and I am listing the corresponding target architecture:

Ubuntu: ARMv7 and up, thumb 2 (32 bit)
Debian: ARMv4t and up (armel) ARMv7 and up (armhf)
Fedora: ARMv5tel (arm) ARMv7hl (armhf)
Arch Linux: ARMv5te or higher

To your specific question, the Raspberry PI runs a BCM2835 (ARM1176JZF-S) Broadcom CPU. This is armv6k architecture, which is not compatible with recent builds of Ubuntu, which are optimized for performance at the expense of compatibility with older chip designs like this Broadcom's.

The obvious choice is to run the armel architecture of Debian -- you will feel almost at home as if you were on Ubuntu.

Revisiting this a few years later, there are now many models of R.PI available on the market:

Raspberry PI A, B, A+, B+, Zero, and Zero W: These are not compatible with Ubuntu ARM builds, as they use the BCM2835 Broadcom CPU (ARM v6k).

Raspberry PI 2, model B: this runs a BCM2836 Broadcom CPU. This is ARMv7 architecture, a Cortex A7 to be precise. This board (and presumably all subsequent "series 2" R.PI boards) will run Ubuntu just fine.

Raspberry PI 3, model A+, B, B+: these run on a BCM2837 Broadcom CPU. This is ARMv8 architecture, a Cortex-A53 64-bit chip to be exact. These boards are currently the best option to run Ubuntu on Raspberry PI.

Canonical has released Ubuntu Core (aka "Snappy") for the R.PI 2, but it bears noting this is a server distribution with no desktop environment. Additionally, standard Ubuntu 14.04 and 16.04 server images that can be expanded to include a desktop environment are available for R.PI 2 and R.PI 3. Ubuntu MATE is now also available for Raspberry PI.

All current Raspberry PI images are linked from this page on the Ubuntu wiki.

  • Then what older builds of Ubuntu do run on the Pi? – Mathias Lykkegaard Lorenzen Jul 31 '13 at 22:16
  • I expect 9.04 would work fine, but I am not sure why you wouldn't just use a current Debian instead. – 0xF2 Jul 31 '13 at 23:44
  • I need compatibility with a specific WiFi dongle that I know works with Ubuntu. I haven't bought the dongle nor the Pi itself yet, but I just want a Whole setup that's guaranteed to work. – Mathias Lykkegaard Lorenzen Aug 1 '13 at 9:10
  • It is easier to head to Sparkfun or Adafruit and purchase a dongle compatible with Raspbian, the default os for Raspberry PI (a Debian derivative). Looking for "Ubuntu compatible" hardware when you are thinking of using a 5-year-old distro is not going to end well. – 0xF2 Feb 14 '15 at 15:44
1

Based on the latest update on the official website's FAQ:

...
Raspbian (based on Debian), Arch Linux, and Pidora run on the Raspberry Pi 1, 2, and 3. Ubuntu MATE and Ubuntu Snappy Core also run on Pi 2 and 3 only.
...

0

The Ubuntu Raspberry Pi wiki is the most reliable and up-to-date source for information about installing Ubuntu on the Raspberry Pi, but the Ubuntu image for Raspberry Pi linked to at the Ubuntu Raspberry Pi wiki is not an officially supported Ubuntu release. An Ubuntu 14.04 LTS (Trusty Tahr) image is available for the Raspberry Pi 2, which combines the released 14.04 distribution with a PPA containing kernels and firmware which work on the Raspberry Pi 2. The instructions for installing this image are at the same webpage.

Official images

armhf

arm64

The generic arm64 ISO images can be used with the Raspberry Pi 3. Instructions for booting these are here.

Canonical has released official [Ubuntu Core 16 and Core 18 images for Raspberry Pi 3. The instructions for installing it are at Raspberry Pi | Ubuntu developer portal. As the wiki says: Snappy Ubuntu Core is a new rendition of Ubuntu with transactional updates - a minimal server image with the same libraries as today’s Ubuntu, but applications are provided through a simpler mechanism.

  • Ubuntu Core 16 is based on Ubuntu 16.04, and is supported for 5 years.

  • Ubuntu Core 18 is based on Ubuntu 18.04, and is supported for 10 years.

Ubuntu MATE 16.04 has fully working bluetooth and wifi on the Raspberry Pi 3.

protected by Community Apr 24 '13 at 3:53

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.