How To Install sawfish on Debian 12

Learn how to install sawfish on Debian 12 with this tutorial. sawfish is window manager for X11

Introduction

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

What is sawfish

sawfish is:

Sawfish is an extensible window manager using an Emacs Lisp-like scripting language. All window decorations are configurable, the basic idea is to have as much user-interface policy as possible controlled through the Lisp language.

There are three methods to install sawfish 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 sawfish Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install sawfish

Install sawfish Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install sawfish

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

sudo aptitude -y install sawfish

How To Uninstall sawfish on Debian 12

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

sudo apt-get remove sawfish

Uninstall sawfish And Its Dependencies

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

sudo apt-get -y autoremove sawfish

Remove sawfish Configurations and Data

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

sudo apt-get -y purge sawfish

Remove sawfish configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sawfish

Dependencies

sawfish have the following dependencies:

References

Summary

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