tzconfig command not found

In this troubleshooting guide we learn how to fix tzconfig command not found error message

Introduction

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

tzconfig: command not found

or when using sudo you get the following error message

sudo: tzconfig: command not found

Solutions to tzconfig: command not found

How To Fix tzconfig: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu tzconfig is provided by tzdata package.

tzdata is:

This package contains data required for the implementation of standard local time for many representative locations around the globe. It is updated periodically to reflect changes made by political bodies to time zone boundaries, UTC offsets, and daylight-saving rules.

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

sudo apt-get -y install tzdata

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

You can also use apt command to install tzdata.

sudo apt -y install tzdata

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

sudo aptitude install tzdata

Summary

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