How To Install casacore-data-tai-utc on Ubuntu 20.04

In this tutorial we learn how to install casacore-data-tai-utc on Ubuntu 20.04. casacore-data-tai-utc is Difference table between TAI and UTC for casacore

Introduction

In this tutorial we learn how to install casacore-data-tai-utc on Ubuntu 20.04.

What is casacore-data-tai-utc

casacore-data-tai-utc is:

This package contains the leap second difference between TAI and UTC, created from /usr/share/zoneinfo/leap-seconds.list. The data are in a format specific to casacore. The table is kept in sync with the tzdata package.

There are three methods to install casacore-data-tai-utc 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 casacore-data-tai-utc 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-tai-utc using apt-get by running the following command:

sudo apt-get -y install casacore-data-tai-utc

Install casacore-data-tai-utc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install casacore-data-tai-utc

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

sudo aptitude -y install casacore-data-tai-utc

How To Uninstall casacore-data-tai-utc on Ubuntu 20.04

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

sudo apt-get remove casacore-data-tai-utc

Uninstall casacore-data-tai-utc And Its Dependencies

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

sudo apt-get -y autoremove casacore-data-tai-utc

Remove casacore-data-tai-utc Configurations and Data

To remove casacore-data-tai-utc configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge casacore-data-tai-utc

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

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

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

References

Summary

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