LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This 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


Reply
  Search this Thread
Old 08-11-2020, 06:17 AM   #1
prinsepia
LQ Newbie
 
Registered: Aug 2020
Distribution: Raspberry Pi OS
Posts: 3

Rep: Reputation: Disabled
Lightbulb 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

Thank you in advance for your help!~
 
Old 08-11-2020, 06:31 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,930

Rep: Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321
Hi, welcome here, at LQ

I would try raspbian, or raspbian lite if you do not need desktop at all. But it is more or less irrelevant, every [working] distro should be ok.
Do not need to use a cooling system, although you can do that if you wish. I would try something like this: https://shop.pimoroni.com/products/a...29430673178707 (but there are others) https://magpi.raspberrypi.org/articl...ted-and-ranked
 
1 members found this post helpful.
Old 08-11-2020, 06:34 AM   #3
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,504

Rep: Reputation: Disabled
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.
 
1 members found this post helpful.
Old 08-11-2020, 06:46 AM   #4
prinsepia
LQ Newbie
 
Registered: Aug 2020
Distribution: Raspberry Pi OS
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank you so much for your answers @pan64 and @fatmac!
And thanks for commenting on the cooling system topic
 
Old 08-11-2020, 06:53 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
Welcome to LQ.

Like the previous suggestions I would recommend Raspberry Pi os lite i.e. no GUI. However there few other possibilities...

https://elinux.org/RPi_Distributions
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Need distribution with minimal dependence on automated/default daemons Daowulf Linux - Distributions 5 06-15-2020 03:29 PM
LXer: Raspberry Pi: Combine a Raspberry Pi with up to 4 Raspberry Pi Zeros for less than US$50 with the Cluster HAT LXer Syndicated Linux News 0 07-05-2019 12:03 PM
Hi I would like to setup automated error email rajini23 Linux - Server 3 09-04-2012 06:43 AM
LXer: Python Python Python (aka Python 3) LXer Syndicated Linux News 0 08-05-2009 08:30 PM
Would an Automated Installation process Help? Kannies Linux - Software 1 12-28-2005 09:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration