How To Install swe-standard-data on Ubuntu 18.04

In this tutorial we learn how to install swe-standard-data on Ubuntu 18.04. swe-standard-data is standard data for the Swiss Ephemeris

Introduction

In this tutorial we learn how to install swe-standard-data on Ubuntu 18.04.

What is swe-standard-data

swe-standard-data is:

all of the standard data, i.e. the usual .se1 files, for the Swiss Ephemeris. All of the .se1 files located here: ftp://ftp.astro.com/pub/swisseph/ephe/*.se1 are in the package. This data can be used with the Swiss Ephemeris library, libswe0. This package uses 36 meg. It contains 54 .se1 files. Installed in /usr/share/libswe/ephe/ The Swiss Ephemeris library has been patched so that it looks to this location by default.

There are three methods to install swe-standard-data on Ubuntu 18.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 swe-standard-data Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install swe-standard-data using apt-get by running the following command:

sudo apt-get -y install swe-standard-data

Install swe-standard-data Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install swe-standard-data using apt by running the following command:

sudo apt -y install swe-standard-data

Install swe-standard-data 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 swe-standard-data using aptitude by running the following command:

sudo aptitude -y install swe-standard-data

How To Uninstall swe-standard-data on Ubuntu 18.04

To uninstall only the swe-standard-data package we can use the following command:

sudo apt-get remove swe-standard-data

Uninstall swe-standard-data And Its Dependencies

To uninstall swe-standard-data and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove swe-standard-data

Remove swe-standard-data Configurations and Data

To remove swe-standard-data configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge swe-standard-data

Remove swe-standard-data configuration, data, and all of its dependencies

We can use the following command to remove swe-standard-data configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge swe-standard-data

References

Summary

In this tutorial we learn how to install swe-standard-data package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.