[SOLVED] What distribution would be best on a Raspberry Pi 4 for an automated 24/7 Python script?
by prinsepia from LinuxQuestions.org on (#56S6D)
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!~


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!~