swisswatch command not found

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

Introduction

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

swisswatch: command not found

or when using sudo you get the following error message

sudo: swisswatch: command not found

Solutions to swisswatch: command not found

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

In Ubuntu swisswatch is provided by swisswatch package.

swisswatch is:

Swisswatch is a clock for the X desktop. It relies heavily on resources for configuration, and can be adjusted to a wide range of looks. While it can be configured completely via resources and provides looks for a Botta (SFMoMA) clock style, an oclock emulation and other appearances, it defaults to the style of a Swiss Railway Clock.

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

sudo apt-get -y install swisswatch

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

You can also use apt command to install swisswatch.

sudo apt -y install swisswatch

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

sudo aptitude install swisswatch

Summary

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