Minimizing image size

Show the world your Revolution Pi project!
Post Reply
Guilherme Matos
Posts: 3
Joined: 16 Nov 2022, 11:45
Answers: 0

Minimizing image size

Post by Guilherme Matos »

Hello,

For some time I've been searching around for ways to reduce image size of revpi stretch for my core.
So far using the commands bellow i've reached the minimum of 48%

88% to 66%
sudo apt-get remove --purge x11-common
sudo apt-get autoremove
66% to 62%
sudo apt purge xserver* lightdm* raspberrypi-ui-mods vlc* lxde* chromium* desktop* gnome* gstreamer* gtk* hicolor-icon-theme* lx* mesa*
62% to 57%
sudo apt-get autoremove
57%-48%
sudo apt-get clean

My intent is to use this Core+DIO to connect to cameras and sensors and be able to output a logfile with their data and in the long term to test (view current state on/off and reboot if needed) of said sensors.
So far, the things I want to use inside of it are pictory ( I believe it doesn't occupy much space anyway) and python 3.5+ to run scripts. This image still has the regular python preeinstalled. On this link (https://revolutionpi.com/forum/viewtopi ... 3538e7dd03) there seems to be a way to do said update but as I am new to linux cmd these instructions make me a bit confused.
User avatar
nicolaiB
KUNBUS
Posts: 869
Joined: 21 Jun 2018, 10:33
Answers: 7
Location: Berlin
Contact:

Re: Minimizing image size

Post by nicolaiB »

Why not use the Buster Lite image?

Nicolai
Guilherme Matos
Posts: 3
Joined: 16 Nov 2022, 11:45
Answers: 0

Re: Minimizing image size

Post by Guilherme Matos »

Hello,

The answer is in this topic.
viewtopic.php?t=3682


Thank you for your reply.
Last edited by Guilherme Matos on 22 Nov 2022, 17:33, edited 1 time in total.
Post Reply