How To Install mate-session-manager on Debian 9

In this tutorial we learn how to install mate-session-manager on Debian 9. mate-session-manager is Session manager of the MATE desktop environment

Introduction

In this tutorial we learn how to install mate-session-manager on Debian 9.

What is mate-session-manager

mate-session-manager is:

This package contains a session that can be started from a display manager such as MDM. It will load all necessary applications for a full-featured user session.

The session manager also features the ability to save a running session and restore it later.

This version is configured to start the MATE desktop, based on the MATE panel.

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

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

sudo apt-get update

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

sudo apt-get -y install mate-session-manager

Install mate-session-manager Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install mate-session-manager using apt by running the following command:

sudo apt -y install mate-session-manager

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

sudo aptitude -y install mate-session-manager

How To Uninstall mate-session-manager on Debian 9

To uninstall only the mate-session-manager package we can use the following command:

sudo apt-get remove mate-session-manager

Uninstall mate-session-manager And Its Dependencies

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

sudo apt-get -y autoremove mate-session-manager

Remove mate-session-manager Configurations and Data

To remove mate-session-manager configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge mate-session-manager

Remove mate-session-manager configuration, data, and all of its dependencies

We can use the following command to remove mate-session-manager configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge mate-session-manager

Dependencies

mate-session-manager have the following dependencies:

References

Summary

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