How To Install xplanet on Fedora 34

xplanet is Render a planetary image into an X window

Introduction

In this tutorial we learn how to install xplanet on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install xplanet.

Install xplanet on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install xplanet

Install xplanet on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install xplanet

How To Uninstall xplanet on Fedora 34

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

sudo dnf remove xplanet

xplanet Package Contents on Fedora 34

/usr/bin/xplanet
/usr/lib/.build-id
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/144fe5906bab6896fb5623d08d1bc4339348dd
/usr/share/doc/xplanet
/usr/share/doc/xplanet/AUTHORS
/usr/share/doc/xplanet/ChangeLog
/usr/share/doc/xplanet/NEWS
/usr/share/doc/xplanet/README
/usr/share/doc/xplanet/TODO
/usr/share/licenses/xplanet
/usr/share/licenses/xplanet/COPYING
/usr/share/man/man1/xplanet.1.gz
/usr/share/xplanet
/usr/share/xplanet/FreeMonoBold.ttf
/usr/share/xplanet/arcs
/usr/share/xplanet/arcs/README
/usr/share/xplanet/arcs/constellations
/usr/share/xplanet/config
/usr/share/xplanet/config/README
/usr/share/xplanet/config/default
/usr/share/xplanet/config/earth_markers
/usr/share/xplanet/config/moon_orbit
/usr/share/xplanet/config/overlay_clouds
/usr/share/xplanet/ephemeris
/usr/share/xplanet/ephemeris/README
/usr/share/xplanet/fonts
/usr/share/xplanet/fonts/FreeMonoBold.ttf
/usr/share/xplanet/fonts/README
/usr/share/xplanet/images
/usr/share/xplanet/images/README
/usr/share/xplanet/images/earth.jpg
/usr/share/xplanet/images/hubble.png
/usr/share/xplanet/images/iss.png
/usr/share/xplanet/images/mgs.png
/usr/share/xplanet/images/night.jpg
/usr/share/xplanet/images/odyssey.png
/usr/share/xplanet/images/shuttle.png
/usr/share/xplanet/images/smile.png
/usr/share/xplanet/images/sublunar.png
/usr/share/xplanet/images/subsolar.png
/usr/share/xplanet/images/sun.jpg
/usr/share/xplanet/markers
/usr/share/xplanet/markers/README
/usr/share/xplanet/markers/brightStars
/usr/share/xplanet/markers/earth
/usr/share/xplanet/markers/mars
/usr/share/xplanet/markers/moon
/usr/share/xplanet/origin
/usr/share/xplanet/origin/README
/usr/share/xplanet/origin/cassini
/usr/share/xplanet/origin/galileo
/usr/share/xplanet/rgb.txt
/usr/share/xplanet/satellites
/usr/share/xplanet/satellites/README
/usr/share/xplanet/satellites/iss
/usr/share/xplanet/satellites/iss.tle
/usr/share/xplanet/scattering
/usr/share/xplanet/scattering/README
/usr/share/xplanet/scattering/earthRayleigh
/usr/share/xplanet/spice
/usr/share/xplanet/spice/README
/usr/share/xplanet/spice/asteroids
/usr/share/xplanet/spice/asteroids.krn
/usr/share/xplanet/spice/cassini
/usr/share/xplanet/spice/cassini.krn
/usr/share/xplanet/spice/mgs
/usr/share/xplanet/spice/mgs.krn
/usr/share/xplanet/spice/voyager
/usr/share/xplanet/spice/voyager.krn
/usr/share/xplanet/stars
/usr/share/xplanet/stars/BSC

References

Summary

In this tutorial we learn how to install xplanet on Fedora 34 using yum and dnf.