How To Install screenruler on Debian 12

Learn how to install screenruler on Debian 12 with this tutorial. screenruler is measure objects on screen with a variety of metrics

Introduction

In this tutorial we learn how to install screenruler on Debian 12.

What is screenruler

screenruler is:

ScreenRuler will display a ruler on screen which allows you to measure the other objects that you’ve there. It has the following features:

  • Horizontal and vertical measurement in 6 different metrics: pixels, centimetres, inches, picas, points, and as a percentage of the ruler’s length.
  • Cusomizable colors and fonts.
  • Keyboard control for precise positioning.
  • Option for the ruler to stay always on top of other windows.

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

Install screenruler Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install screenruler

Install screenruler Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install screenruler using apt by running the following command:

sudo apt -y install screenruler

Install screenruler 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 screenruler using aptitude by running the following command:

sudo aptitude -y install screenruler

How To Uninstall screenruler on Debian 12

To uninstall only the screenruler package we can use the following command:

sudo apt-get remove screenruler

Uninstall screenruler And Its Dependencies

To uninstall screenruler and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove screenruler

Remove screenruler Configurations and Data

To remove screenruler configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge screenruler

Remove screenruler configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge screenruler

Dependencies

screenruler have the following dependencies:

References

Summary

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