Andreia,
Gary ,
With due respect I m not sure why both of you are so upset about Georg s answer
It was a straightforward answer with reference to a link what is very helpful for Stellarium on RPi
I will send you my answer hopefully it is seen as further clarification
1) Yes Stellarium ( in version 0.18.3 ) works for me on Raspberry Pi 4 B ( BCM2711 RPi 4 Model B 8GIG )
Can be checked with lscpu in Linux command line and should return Cortex-A72 if it is a RPi 4 Model B
2) I use Raspberry_Pi_OS in Version 10 Buster
https://en.wikipedia.org/wiki/Raspberry_Pi_OS Can be checked with cat /etc/os-release in Linux command line and downloaded from below mentioned link
https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit Flagged as Raspberry Pi OS (Legacy)
3) Installation runs through without problem as long as at least 400 MB are available on SD-card ( It needs 317 MB or more )
From my RPi
pi@raspberrypi:~ $ sudo apt-cache search stellarium
stellarium - real-time photo-realistic sky generator
stellarium-data - Stellarium data files
pi@raspberrypi:~ $ sudo apt-get install stellarium
4) Also after install it works fine with me and I have tested two scripts ( biosky and largest_known_stars ) and they run smoothly
5) No test done with telescope attached and also no test done with Raspberry_Pi_OS in Version 11 ( Bullseye )
And as George is one of the guys who did the Stellarium user guide I think he knows what he is saying
User guide can be downloaded from the following link and is ever a good starting point for consultation