How To Install sddm on Debian 9

In this tutorial we learn how to install sddm on Debian 9. sddm is modern display manager for X11

Introduction

In this tutorial we learn how to install sddm on Debian 9.

What is sddm

sddm is:

SDDM is a modern display manager for X11 aiming to be fast, simple and beautiful. It uses modern technologies like QtQuick to create smooth, animated user interfaces.

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

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

sudo apt-get update

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

sudo apt-get -y install sddm

Install sddm Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install sddm

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

sudo aptitude -y install sddm

How To Uninstall sddm on Debian 9

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

sudo apt-get remove sddm

Uninstall sddm And Its Dependencies

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

sudo apt-get -y autoremove sddm

Remove sddm Configurations and Data

To remove sddm configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge sddm

Remove sddm configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sddm

Dependencies

sddm have the following dependencies:

References

Summary

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