How To Install cairo-clock on Debian 9

In this tutorial we learn how to install cairo-clock on Debian 9. cairo-clock is Analog clock drawn with vector-graphics

Introduction

In this tutorial we learn how to install cairo-clock on Debian 9.

What is cairo-clock

cairo-clock is:

It is an analog clock displaying the system-time. It leverages the new visual features offered by Xorg 7.0 in combination with a compositing-manager (e.g. like xcompmgr or compiz), GTK+ 2.10.0, cairo 1.2.0, libglade 2.6.0 and librsvg 2.14.0 to produce a time display with pretty-pixels.

There are three methods to install cairo-clock on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install cairo-clock Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install cairo-clock using apt-get by running the following command:

sudo apt-get -y install cairo-clock

Install cairo-clock Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install cairo-clock using apt by running the following command:

sudo apt -y install cairo-clock

Install cairo-clock Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install cairo-clock using aptitude by running the following command:

sudo aptitude -y install cairo-clock

How To Uninstall cairo-clock on Debian 9

To uninstall only the cairo-clock package we can use the following command:

sudo apt-get remove cairo-clock

Uninstall cairo-clock And Its Dependencies

To uninstall cairo-clock and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove cairo-clock

Remove cairo-clock Configurations and Data

To remove cairo-clock configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge cairo-clock

Remove cairo-clock configuration, data, and all of its dependencies

We can use the following command to remove cairo-clock configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge cairo-clock

Dependencies

cairo-clock have the following dependencies:

References

Summary

In this tutorial we learn how to install cairo-clock package on Debian 9 using different package management tools: apt, apt-get and aptitude.