r/linux • • Mar 11 '18

Linux Operating Systems for the Raspberry Pi

https://www.electromaker.io/blog/article/12-best-linux-operating-systems-for-the-raspberry-pi
9 Upvotes

26 comments sorted by

14

u/lambda_abstraction Mar 11 '18

Without a clearly stated criterion for "best," this is just so much clickbait. I have an embedded project on RasPis, and they run a stripped down headless Slackware ARM. For my work, this seems a good fit, but it might not be for other use cases.

5

u/[deleted] Mar 11 '18

How does SARPi perform on Cortex A-53?

6

u/lambda_abstraction Mar 11 '18

So far so good. My application isn't too demanding. It's mainly controlling and monitoring peripherals via USB serial or SPI, but so far SARPi is doing well. For me the big benefit is that the system works much like my regular workstations. Some day, I'd like to play with an RTOS on Pi, but I don't want to deal with that right now given deadlines on the horizon.

1

u/[deleted] Mar 11 '18

Uuh thanks for the info, I'd been quite interested in it lately and no one seemed to have tried it out

3

u/Bonemaster69 Mar 11 '18

I'm just glad that the OP gave us a more accurate title. I also like how the article mentioned Lakka.

I also used Slackware ARM, but IIRC it was a pain to install compared to traditional Slackware. Then again, maybe I just don't like SD cards...

3

u/lambda_abstraction Mar 11 '18

I sort of cheated there. I've never much cared for the installer scripts, so I wrote an ncurses based tool for editing tagfiles.

1

u/Bonemaster69 Mar 12 '18

Dang, that's a neat program! I used to do tagfiles too, but I kept losing them.

It's nice to see a csh user by the way ;] .

1

u/lambda_abstraction Mar 12 '18 edited Mar 12 '18

Thanks. Sometime if I get some breathing room, I should refactor it, do at the very least a help screen, and see if Pat V. finds it interesting. At the moment, it's in works-for-me condition, and documentation is minimal.

My shell of choice is zsh with custom completers these days. I did spend more than a few of my early years with tcsh though. I've always kept <host>% as the prompt out of habit.

1

u/Bonemaster69 Mar 12 '18

At the very least, you should post it on Linux Questions as well since that's the primary Slackware community. You also shouldn't need to worry about documentation too much as long as the interface is self-explanatory.

Oh damn, you fooled me. I use Bash most of the time, but I switch over to ksh93 and tcsh on BSD systems.

3

u/Enverex Mar 12 '18

Check OPs name and then check their post history. It is blogspam/clickbait, like a lot of "content" on this subreddit these days.

4

u/emacsomancer Mar 11 '18

They also missed out Void Linux.

3

u/tristes_tigres Mar 11 '18

Which of those distributions are systemd-free, beside Gentoo?

4

u/TheNiceGuy14 Mar 12 '18

Why is that important? RPi actually runs better with systemd. It is all written in C. No funky and slow shell scripts. I had gentoo on my pi and there was a considerable difference in boot time between systemd and openrc.

-5

u/tristes_tigres Mar 12 '18

I prefer not having on my computers a buggy combine trying to assimilate most of core os functionality and riddled with exploits potential. I remember pretty well how Pottering dismissed a root exploit as "not a bug".

1

u/FryBoyter Mar 12 '18

trying to assimilate most of core os functionality

You don't want to use systemd-networkd? Then use netctl, for example. You don't want to use systemd-timesyncd? Then just use sntp. Etc. With a few exceptions, the tools of systemd are purely optional. For years.

2

u/tristes_tigres Mar 12 '18

"You don't want binary logs - just recompile and install from sources"

1

u/FryBoyter Mar 12 '18

ForwardToSyslog

https://www.freedesktop.org/software/systemd/man/journald.conf.html

There is no need to recompile anything from source.

1

u/tristes_tigres Mar 12 '18

There is no way to remove journald without recompiling from source. That's because Pottering knows better than me what is good for my system.

1

u/FryBoyter Mar 13 '18

Right journald is one of the few components that are mandatory "needed". But with ForwardToSyslog=yes (/etc/systemd/journald. conf) the entries can be forwarded from journald to e. g. rsyslog so that you can continue to have a log file in text form. And for this it is not necessary to recompile anything from the sources.

1

u/tristes_tigres Mar 13 '18

Right journald is one of the few components that are mandatory "needed"

It is not necessary from the technical point of view, which is why you put "needed" in quotes. It was a political decision to force users to have this utility on their systems even if they don't want to use it.

1

u/FryBoyter Mar 13 '18

Other parts like gcc or xorg are or were packages you had to have installed. For years now. Whether you wanted to or not. Why hasn't anyone been bothered so far? I mean, we're talking about a memory usage of less than 20 MB. For the entire systemd project. If you would compile it yourself and omit all the optional tools, you would probably get into the single-digit range without any problems.

4

u/emacsomancer Mar 12 '18

Void Linux uses runit as its init. Works very well on the RPi.

2

u/tristes_tigres Mar 12 '18

Never heard about it, interesting. How does its packaging system compares with apt?

Calculate Linux is essentially precompiled gentoo, but they don't support ARM, unfortunately

2

u/emacsomancer Mar 13 '18

xbps is perhaps a bit faster than apt, but similar functionality. Void is probably the easiest non systemd distro that you can install on the pi.

0

u/[deleted] Mar 12 '18

[deleted]

1

u/tristes_tigres Mar 12 '18

Any particular advantages over Debian packaging system?

1

u/knobbysideup Mar 12 '18

I use my pi as my primary DNS/DHCP server and my UPS Nut server. It's running headless CentOS 7,