3

I have installed ubuntu snappy but I can't find apt-get which is not a problem but I can't find some packages as vim... Which is the best Ubuntu version to install ? What are the pros and cons ?

goldilocks
  • 56,430
  • 17
  • 109
  • 217
epsilones
  • 219
  • 1
  • 2
  • 7
  • 1
    Ubuntu snappy is a hybrid, very different from a normal Ubuntu desktop or server (I think it is targeted more at IoT). If you are looking for something closer to the regular Ubuntu setup try Ubuntu mate https://ubuntu-mate.org/raspberry-pi/. As for the relative pros and cons this question should help - especially @joan answer – Steve Robillard Sep 14 '15 at 11:32
  • @SteveRobillard thank you ! What are the issues installing normal `Ubuntu` distrib ? I want to build up a hadoop cluster so I need some light weight `Ubuntu` distrib – epsilones Sep 14 '15 at 11:33
  • a normal Ubuntu distro is not compiled for the arm processor in the Pi. I wouldn't be too worried about the weight of the distro for your use case (hadoop) but rather the low level of specs/performance of the Pi. You can combine 40 VW beetles, but you still won't have a Porsche. – Steve Robillard Sep 14 '15 at 11:36
  • 1
    WRT the absence of `apt-get`, Snappy uses [its own package manager](http://raspberrypi.stackexchange.com/a/34133/5538). – goldilocks Sep 14 '15 at 14:34

1 Answers1

4

These are the choices I'm aware of for the Pi 2:

  1. Snappy, which is specialized and uses a read-only filesystem.

  2. A normative Ubuntu 14.04 LTS with PPA's for pi specific stuff.

  3. A Mate based 15.04 distro pointed out by Steve.

  4. Using any Ubuntu ARMv7 distro and adapting it appropriately (that talks about Fedora, but the methodology is the same for any GNU/Linux system). Since these are mostly likely LTS releases, there's not much point in this in light of #2.

goldilocks
  • 56,430
  • 17
  • 109
  • 217
  • thank you, could you point out examples of pi specific stuff – epsilones Sep 14 '15 at 15:58
  • If you read the link about adapting Fedora ARM you'll get the idea (it's all indicated there); in particular see the note at the bottom about `/opt/vc`. The pi needs a special out-of-tree kernel, and that plus the bootloader firmware are crucial. However, you don't need a pi-specific distro to get them as they are maintained in an independent git repo; how easy or hard you'd find that depends on how comfortable you are with linux, basic filesystem structure, etc. Then there's various libraries for the GPU (also in the repo), and a handful of apps such as `omxplayer` and raspicam stuff. – goldilocks Sep 14 '15 at 16:10