xarclock command not found

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

Introduction

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

xarclock: command not found

or when using sudo you get the following error message

sudo: xarclock: command not found

Solutions to xarclock: command not found

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

In Ubuntu xarclock is provided by xarclock package.

xarclock is:

If clocks had been invented in Argentina (southern hemisphere), they would run counter-clockwise. Down there a sundial runs the other way around!

The program is an extension of the standard X clock widget. New features are: Configurable direction of rotation and font support in analog mode.

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

sudo apt-get -y install xarclock

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

You can also use apt command to install xarclock.

sudo apt -y install xarclock

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

sudo aptitude install xarclock

Summary

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