dclock command not found

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

Introduction

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

dclock: command not found

or when using sudo you get the following error message

sudo: dclock: command not found

Solutions to dclock: command not found

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

In Ubuntu dclock is provided by dclock package.

dclock is:

Dclock main feature is its great flexibility in how it can draw. You can even display the output from “date” in it such as “Wednesday, 3rd Jan”. Dclock also supports setting an alarm.

You need the package sox if you want to enable sound for alarm and hourly bells (rather than beeps).

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

sudo apt-get -y install dclock

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

You can also use apt command to install dclock.

sudo apt -y install dclock

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

sudo aptitude install dclock

Summary

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