xplanet command not found

In this troubleshooting guide we learn how to fix xplanet command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

xplanet: command not found

or when using sudo you get the following error message

sudo: xplanet: command not found

Solutions to xplanet: command not found

How To Fix xplanet: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu xplanet is provided by xplanet package.

xplanet is:

Xplanet renders an image of a planet into an X window or a file. All of the major planets and most satellites can be drawn, and different map projections are also supported, including azimuthal, hemisphere, Lambert, Mercator, Mollweide, Peters, polyconic, and rectangular.

In order to run xplanet, you’ll need at least one map file. Some maps are included in the xplanet-images package.

To fix this problem, we can install more using the command below.

sudo apt-get -y install xplanet

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install xplanet.

sudo apt -y install xplanet

Or if you have aptitude installed you can use the following command.

sudo aptitude install xplanet

Summary

In this tutorial we learn how to fix xplanet command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.