How To Install xplanet on CentOS 7

In this tutorial we learn how to install xplanet on CentOS 7. xplanet is Render a planetary image into an X window

Introduction

In this tutorial we learn how to install xplanet on CentOS 7.

What is xplanet

Xplanet is similar to Xearth, where an image of the earth is rendered into an X window. Azimuthal, Mercator, Mollweide, orthographic, or rectangular projections can be displayed as well as a window with a globe the user can rotate interactively. The other terrestrial planets may also be displayed. The Xplanet home page has links to locations with map files.

We can use yum or dnf to install xplanet on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install xplanet.

Install xplanet on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install xplanet using yum by running the following command:

sudo yum -y install xplanet

Install xplanet on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install xplanet using dnf by running the following command:

sudo dnf -y install xplanet

How To Uninstall xplanet on CentOS 7

To uninstall only the xplanet package we can use the following command:

sudo dnf remove xplanet

References

Summary

In this tutorial we learn how to install xplanet on CentOS 7 using yum and dnf.