Install Stellarium on Manjaro Linux in Minutes
If you’ve ever wanted to point your laptop at the night sky and have a planetarium right there, this is how to get Stellarium running on Manjaro without wrestling with dependency hell.
1. Make Sure Your System Is Fresh
sudo pacman -Syu
Updating first keeps the package database in sync; it also avoids that annoying “missing library” error when you try to launch a new app after a kernel upgrade.
2. Grab Stellarium From the Official Repository
Manjaro ships Stellarium in its community repo, so there’s no need for an AUR helper unless you want bleeding‑edge features.
sudo pacman -S stellarium
You’ll see the normal “are you sure?” prompt – just type y. Pacman pulls all required OpenGL libraries automatically. If that install fails, it usually means your graphics stack needs a quick tweak (see below).
3. Want the Latest Version? Use an AUR Helper
If the repo version is a couple of releases behind and you need newer planet charts or bug fixes, yay or paru will do the trick:
yay -S stellarium-git
AUR builds pull from GitHub, so expect a bit more time on the first run. I’ve seen people get stuck halfway through the build because of an old cmake version; upgrading base-devel usually clears that up.
4. Common Glitches and How to Fix Them
- Missing OpenGL driver – If launching Stellarium prints “cannot open shared object file: No such file or directory,” install your GPU drivers first:
sudo mhwd -a pci nonfree 0300 # For NVIDIA
or the appropriate command for AMD/Intel.
- Broken .desktop entry after a system update – I once had Stellarium launch but the “Open with” menu showed nothing. Simply re‑create the shortcut:
sudo update-desktop-database
- “Failed to load configuration file” – Delete the config folder and let it regenerate:
rm -r ~/.config/Stellarium
5. Launch, Verify, and Customize
stellarium
Once you’re inside, give the sky a quick spin with your mouse to make sure everything renders correctly. If planets appear blurry, check that OpenGL is set to “Hardware” in Settings => Display.
You can also tweak time and location from the toolbar to match where you actually are – handy for planning stargazing sessions or just proving friends wrong about when a certain planet will be visible.
That’s it—Stellarium should now be part of your Manjaro toolbox, ready to turn any blank screen into a real‑time sky map.