How To Install xplanet-images on Ubuntu 20.04
Introduction
In this tutorial we learn how to install xplanet-images
on Ubuntu 20.04.
What is xplanet-images
xplanet-images is:
Xplanet renders an image of a planet into an X window or a file.
In order to run xplanet, you’ll need at least one map file. This package includes some map files that can be used with xplanet.
There are three methods to install xplanet-images
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install xplanet-images Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install xplanet-images
using apt-get
by running the following command:
sudo apt-get -y install xplanet-images
Install xplanet-images Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install xplanet-images
using apt
by running the following command:
sudo apt -y install xplanet-images
Install xplanet-images Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install xplanet-images
using aptitude
by running the following command:
sudo aptitude -y install xplanet-images
How To Uninstall xplanet-images on Ubuntu 20.04
To uninstall only the xplanet-images
package we can use the following command:
sudo apt-get remove xplanet-images
Uninstall xplanet-images And Its Dependencies
To uninstall xplanet-images
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove xplanet-images
Remove xplanet-images Configurations and Data
To remove xplanet-images
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge xplanet-images
Remove xplanet-images configuration, data, and all of its dependencies
We can use the following command to remove xplanet-images
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge xplanet-images
References
Summary
In this tutorial we learn how to install xplanet-images
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.