Astrofriend's homepage

www.astrofriend.eu
Share: Twitter Reddit Facebook Gmail Gmail Email
Search Astrofriend's homepage:

Valid CSS!

All pages shall now have been validated

Info Cookies (Kakor) / GDPR

Navigation

Advertisement /
Annons:

Advertisement / Annons:

My astronomy project:
Setup astroserver with Raspberry Pi5


Content:

  1. Introduction
  2. Setup 64-bit OS
  3. Change Bookworm Wayland to X11
  4. Setup KStars and Ekos 64-bit
  5. Disable Auto-mount
  6. Setup different devices
  7. Uninstall software
  8. 12 to 5 volt power supply
  9. To be continued

Related projects:

Note:
I take no responsibility or liability for what are written here, you use the information on your own risk!


7, Uninstall software:

After a while there were updates to do. When I started the update process I got an error, not sufficient of free memory. Investigating, found that my 32 GB SD card only had 2 GB free memory. I also noticed that the installation of the operating system installed Libre Office, a big package that I have no use of in this application.


I decided to remove it completely. Found this link of how it could be done, more than one example:

I tried these commands:

  • sudo apt-get remove --purge libreoffice*
  • sudo apt-get clean
  • sudo apt-get autoremove

Maybe wise to use this command too:

  • sudo apt-get autoclean

It removes not necessary packages.

Delete of package Wolfram:

I used these commands:

  • dpkg -l |grep wolfram
  • sudo apt purge wolfram-engine
  • sudo apt autoremove

I don't store the astrophotos I take on this SD card, I have a separately USB memory for that. Afterwards I uninstalled / erased some more and at the end I got 10 GB free memory.


Bigger SD card:

It's not good if the SD card fill up almost to the limit. A flash memory need to be about the twice size of what memory it use. The extra free space is used over and over when the computer works. It tear it down and the lifespan will shorten if it read / write at the same places over time. With extra free memory it can spread it out better.

Raspberry Pi5, free up memory

Looking in my boxes and found a 64GB SD card, I used it to my GoPro camera earlier so it's fast. Either I can take a mirror copy of the old SD card and install it on this. Because the old card is only 32GB it will not use all the 64GB, the partition must be extended over all available memory. I choose to do a new installation because I have done so much with the setup that I'm lost now. Better to start over again from the beginning. With this big SD card I can store my astrophotos on it too. No need for a separate USB memory and I free up one USB port.

Go Back to content

Go Back
To page VIII

Advertisement / Annons: