How To Install casacore-data on Debian 12

Learn how to install casacore-data on Debian 12 with this tutorial. casacore-data is Data for Common Astronomy Software Applications core library

Introduction

In this tutorial we learn how to install casacore-data on Debian 12.

What is casacore-data

casacore-data is:

This package will install a basic set of data tables to be used by Common Astronomy Software Applications core library at runtime and test:

  • IGRF: International Geomagnetic Reference Field data
  • Jet Propulsion Laboratory Development Ephemeris
  • Sources: Table of ICRF2 reference source coordinates
  • Lines: Table of spectral line frequencies
  • Observatories: Table of radio observatory coordinates
  • TAI_UTC: Difference table between TAI and UTC

Note that the earth orientation data are not available yet.

There are three methods to install casacore-data on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install casacore-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 casacore-data using apt-get by running the following command:

sudo apt-get -y install casacore-data

Install casacore-data Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install casacore-data

Install casacore-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install casacore-data

How To Uninstall casacore-data on Debian 12

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

sudo apt-get remove casacore-data

Uninstall casacore-data And Its Dependencies

To uninstall casacore-data and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove casacore-data

Remove casacore-data Configurations and Data

To remove casacore-data configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge casacore-data

Remove casacore-data configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge casacore-data

Dependencies

casacore-data have the following dependencies:

References

Summary

In this tutorial we learn how to install casacore-data package on Debian 12 using different package management tools: apt, apt-get and aptitude.