[SOLVED] What distribution would be best on a Raspberry Pi 4 for an automated 24/7 Python script?
Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What distribution would be best on a Raspberry Pi 4 for an automated 24/7 Python script?
Hello all!
Using a Raspberry Pi 4B (see specs below), I would like to run an automated Python script every 24 hours at night, which takes about 2 to 3 hours and eats about 120 MB of RAM. The Raspberry Pi will have an internet connection (via WiFi or via cable connection, I don't know this yet). The Raspberry Pi OS (formlery Raspbian) is an option, but I'm thinking there might be a more lightweight alternative.
The Raspberry Pi will be turned on 24/7. I am planning to buy a case with a cooling system for this purpose.
I worked with CentOS for a while, so I have basic Linux knowledge, but nothing spectacular.
So in summary, I'm looking for a distribution, which:
- is able to run Python 3.8
- is stable and trustworthy
- is as lightweight as possible
- doesn't track user data in any way
- is free (at least that would be nice, but it's not that important)
Raspberry Pi specs:
processor: Broadcom BCM2711; 64 bit Quad Core ARM v8 Cortex-A72 @ 1.5 GHz
RAM: 2 GB LPDDR4
operating temperature: 0 - 50 °C
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,504
Rep:
RaspberryOS is tailored to the RPi4, so likely to be the most stable, size on disk probably doesn't matter, is Debian based, which has been ultra reliable in my experience, (though not so with systemd, but that is a personal preference).
(If you don't need a GUI, use the text version.)
I've tried a couple of other distros on my RPi, but return to RaspberryOS each time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.