How to Install Stellarium on Manjaro 21 Linux

Stellarium is a free, open-source planetarium software package licensed under the GNU General Public License, version 2. It is available for Linux, Windows, and macOS. A port of Stellarium called Stellarium Mobile is available for Android, iOS, and Symbian as a paid version. It was initially developed by Fabien Chéreau and is now maintained by the Stellarium team. The software renders the night sky in 3D, allowing users to see stars, constellations, planets, nebulae, and other astronomical objects in their correct positions relative to each other. Users can also set the time and date to see how the night sky changes.

In addition to being a helpful tool for astronomers and amateur stargazers alike, Stellarium is also used in educational settings, such as planetariums and science museums. With its realistic graphics and accurate simulations, Stellarium provides an immersive experience that can help people to understand the night sky better.

The following tutorial will teach you how to install Stellarium on Manjaro 21 Linux. The tutorial will use the command line terminal with the yay AUR helper, but if you use another AUR helper, you can use that instead just by changing the commands when installing the application further down.

Update Manjaro Linux

First, update your system to ensure all existing packages are up to date. This will ensure no conflicts arise as best as possible during the installation.

sudo pacman -Syu

Sometimes, you may need a complete database download if you have not upgraded your Arch Linux system for a while; use the following command if the above update command does not work.



sudo pacman -Syyu

Lastly, Manjaro/Arch Linux being a rolling release, on the rare occasion when updating packages with Pacman GPG keys can become invalid or corrupt. If both commands do not work, use the following command.

Note, this is only if you have errors updating with the first two commands above if you can skip these.

sudo pacman -S archlinux-keyring manjaro-keyring
sudo pacman-key --populate archlinux manjaro

The above should work in nearly all cases, but if it does not, use the following steps as a last resort.

sudo rm -r /etc/pacman.d/gnupg
sudo pacman-key --init
sudo pacman-key --populate manjaro
sudo pacman-key --populate archlinux
sudo pacman -Syvv manjaro-keyring

Install yay Helper

The easiest option for the average desktop user environment is to install Stellarium with the AUR, making updating the application binary in the future much easier and quicker.

To begin the installation, you must have GIT installed to import the yay repository to install/build. From your command terminal, use the following code to begin the installation.

sudo pacman -S --needed --noconfirm base-devel git

Now clone the yay archive using the following terminal command.



git clone https://aur.archlinux.org/yay-git.git

Next, move the archive to the /OPT/ directory. This is a good location for any other archive installs, keep everything located, and traditionally the guide is a commonly used area for different applications.

sudo mv yay-git /opt/

Now navigate to the yay-git directory location.

cd /opt/yay-git

Next, you can optionally set the user permissions for the directory.

sudo chown -R $user:$user /opt/yay-git

Build the package using the makepkg command.

makepkg -si

Install Stellarium with yay & CLI Command

Now that you have installed the yay package management helper, you can install the software using the following command.

yay -S stellarium --noconfirm

Remove –noconfirm to manually go through the installation questions instead of selecting the default answers.



How to Launch the Stellarium

Now that you have the application installed, launching can be done in a few ways.

stellarium

Additionally, you can launch from the applications menu by following the path.

Taskbar > Education > Stellarium.

Example:

How to Install Stellarium on Manjaro 21 Linux

Once you open Stellarium, you will come across the default screen. This screen of a standard night sky will be shown with Sidereal Time, and various constellations will be pointed out. You can interact with the default night sky by selecting different stars and objects to get a closer look.

Example:



How to Install Stellarium on Manjaro 21 Linux

From this point, I suggest going into the configuration menu in the top right-hand corner and customizing. For new users of this software, I highly recommend grabbing the user-guide PDF and perhaps joining the mailing list or discussions to collaborate with others.

Examples:

How to Install Stellarium on Manjaro 21 Linux

How to Update & Upgrade Stellarium

The best way to upgrade the software is to use the following terminal command.

yay -Syu --devel --timeupdate

Note it is advised to run terminal commands now and then, even if you have set up AUR auto-updates using the automatic GUI updater; this ensures you are not missing anything.

How to Remove (Uninstall) Stellarium

Execute the following terminal command for users wanting to remove the application that matches the installation choice you originally installed.

yay -Rns stellarium --noconfirm

Optionally, you can run the following command to clean up any leftover unused dependencies, and this is highly recommended to run, so your system does not become bloated.



yay -Yc

Comments and Conclusion

The diversity and customization of free astronomy software like Stellarium are unique and allow users to tailor their experience to fit their needs. This can be a great way for casual stargazers to learn about constellations without expensive equipment; as a famous person once said, look to the stars!


Not what you were looking for? Try searching for additional tutorials.

Leave a Comment