casacore-update-tai_utc command not found

In this troubleshooting guide we learn how to fix casacore-update-tai_utc command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

casacore-update-tai_utc: command not found

or when using sudo you get the following error message

sudo: casacore-update-tai_utc: command not found

Solutions to casacore-update-tai_utc: command not found

How To Fix casacore-update-tai_utc: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu casacore-update-tai_utc is provided by casacore-data-tai-utc package.

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.

To fix this problem, we can install more using the command below.

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

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install casacore-data-tai-utc.

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

Or if you have aptitude installed you can use the following command.

sudo aptitude install casacore-data-tai-utc

Summary

In this tutorial we learn how to fix casacore-update-tai_utc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.