How to install XFCE on Debian

Endrit Qerreti

Endrit Qerreti

Whether you are new or experienced user, XFCE is the desktop environment that you will love using.

If you are worried that Gnome will be too buggy for your old computer, then you should give XFCE a try.

In this tutorial, you will learn how to install XFCE on Debian 12.

Install XFCE with Tasksel

Tasksel is the best tool to use when it comes to installing a desktop environment on Debian 12.

This tool is integrated on Debian 12 by default, and all you have to do is to use it. Tasksel offers a lot of different desktop environments that you can install on your system easily, including XFCE the desktop environment that we are going to install in this tutorial.

First, you must launch tasksel. Taksel needs sudo permission, so to run tasksel correctly, run the command below

sudo tasksel

Next, you will be asked to enter sudo's password, enter password and then press enter to continue

Now, select XFCE

Note: To avoid installing other desktop environments, make sure that you have selected only XFCE. This won't cause an issue, however it would make the installation process longer.

Next, press the Ok button to Install XFCE

And you will see the following progress bar on your window, this means the installation process has begun

Once XFCE has been installed on your computer, the terminal window will disappear from the screen.

Now you need to logout from the current session. Click to the panel icons, next click the turn off button, and choose Log Out.

Now when you are on the login screen, you need to select XFCE Session before you log in. Click the upper right icon where you can switch sessions, and set XFCE as shown in the image below.

And you should be able to use XFCE on Debian 12 now.


In this tutorial, you learned how to Install XFCE Desktop environment on Debian 12.