How To Install casacore-data-observatories on Ubuntu 22.04

In this tutorial we learn how to install casacore-data-observatories on Ubuntu 22.04. casacore-data-observatories is Table of radio observatory coordinates for casacore

Introduction

In this tutorial we learn how to install casacore-data-observatories on Ubuntu 22.04.

What is casacore-data-observatories

casacore-data-observatories is:

This package contains a table with radio observatories and their coordinates for the use with casacore. The data is initially taken from Wikipedia, but will be incrementally replaced with verified coordinates.

There are three methods to install casacore-data-observatories on Ubuntu 22.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 casacore-data-observatories 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-observatories using apt-get by running the following command:

sudo apt-get -y install casacore-data-observatories

Install casacore-data-observatories Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install casacore-data-observatories

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

sudo aptitude -y install casacore-data-observatories

How To Uninstall casacore-data-observatories on Ubuntu 22.04

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

sudo apt-get remove casacore-data-observatories

Uninstall casacore-data-observatories And Its Dependencies

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

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

Remove casacore-data-observatories Configurations and Data

To remove casacore-data-observatories configuration and data from Ubuntu 22.04 we can use the following command:

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

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

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

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

References

Summary

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