How to Install the Xfce Desktop on Linux [Guide]

Xfce is a lightweight, modular Linux desktop environment that you can add without reinstalling your operating system. The exact package name differs by distribution, but the basic process is the same: install the Xfce desktop packages, log out or reboot, and choose the Xfce session from your login screen.

This guide covers current installation methods for Ubuntu, Debian, Arch Linux, Fedora, and openSUSE. Xfce's own documentation describes the desktop as a collection of components including a window manager, panel, file manager, and settings tools. See the official Xfce documentation for component-specific help.

Xfce desktop with a top panel, desktop icons, and a small application dock
A typical Xfce desktop keeps the main interface compact while still providing familiar desktop controls.

Before you install Xfce

Save open work and install pending system updates first. Adding a second desktop environment can also add applications, themes, and a display manager. It is usually safer to keep your current desktop installed until you have confirmed that Xfce starts correctly.

Install Xfce on Ubuntu

Ubuntu provides the xubuntu-desktop metapackage, which installs the Xubuntu desktop experience built around Xfce. Ubuntu currently publishes this package for supported releases, including Ubuntu 26.04 LTS. You can verify availability on the Ubuntu package search.

  1. Open Terminal.
  2. Refresh package information with sudo apt update.
  3. Install the desktop with sudo apt install xubuntu-desktop.
  4. Review the package list and confirm the installation when prompted.
  5. When installation finishes, log out or reboot.
Ubuntu Terminal showing the command sudo apt install xubuntu-desktop
Ubuntu can add the Xubuntu desktop set with the xubuntu-desktop metapackage.

If Ubuntu asks you to choose a display manager during installation, read the prompt before selecting one. The display manager controls the graphical login screen; Xfce itself can work with common Linux display managers.

Install Xfce on Debian

On Debian, the most complete option is the task-xfce-desktop task package. Debian describes it as the desktop task that provides Xfce along with packages users normally expect on a desktop system. See the official Debian package page.

  1. Run sudo apt update.
  2. Install the full desktop task with sudo apt install task-xfce-desktop.
  3. Confirm the changes, then reboot or log out when the installation completes.
Debian Terminal showing the command sudo apt install task-xfce-desktop
The Debian desktop task installs Xfce together with the supporting desktop packages Debian recommends.

If you prefer a smaller Xfce installation, Debian also provides the xfce4 metapackage. You can add common Xfce extras with sudo apt install xfce4 xfce4-goodies.

Debian terminal showing an alternative xfce4 and xfce4-goodies installation command
The xfce4 and xfce4-goodies packages are an alternative when you do not want the full Debian desktop task.

Install Xfce on Arch Linux

Arch Linux ships Xfce as the xfce4 package group. The ArchWiki Xfce guide also recommends the optional xfce4-goodies group for additional plugins and utilities.

  1. Update the system with sudo pacman -Syu.
  2. Install Xfce with sudo pacman -S xfce4 xfce4-goodies.
  3. After installation, select Xfce Session in your display manager.
Arch Linux terminal showing sudo pacman -S xfce4 xfce4-goodies
Arch provides Xfce through the xfce4 group, with xfce4-goodies available for additional tools.

On a minimal Arch setup without a display manager, ArchWiki documents starting Xfce through Xinit by adding exec startxfce4 to your Xinit configuration.

Install Xfce on Fedora

Fedora provides an Xfce desktop environment group. The Fedora Project's Xfce page lists dnf install @xfce-desktop-environment for adding it to an existing Fedora system.

  1. Apply updates with sudo dnf upgrade --refresh.
  2. Install Xfce with sudo dnf install @xfce-desktop-environment.
  3. Reboot or log out, then select the Xfce session.
Fedora terminal showing sudo dnf install @xfce-desktop-environment
Fedora's Xfce desktop environment group installs the desktop and its related components.

Install Xfce on openSUSE

openSUSE packages Xfce as an installation pattern. The current openSUSE pattern set includes an XFCE Desktop Environment pattern, while the official Zypper documentation shows how to install patterns with the -t pattern option.

  1. Refresh repositories with sudo zypper refresh.
  2. Install the Xfce pattern with sudo zypper install -t pattern xfce.
  3. Confirm the transaction, then log out or reboot.
openSUSE terminal showing sudo zypper install -t pattern xfce
openSUSE installs the full Xfce desktop through its xfce software pattern.

Choose Xfce at the login screen

After installation, sign out. On the login screen, look for a gear icon, session menu, or similar control near your username. Choose Xfce Session; on Ubuntu with the Xubuntu package set, you may also see a Xubuntu session. Then sign in normally.

Xfce desktop with the Applications menu open and categories visible
After signing in to Xfce, the Applications menu provides access to settings, utilities, and installed programs.

You can switch back to your previous desktop later by logging out and choosing its session at the same login screen. If Xfce does not appear, reboot once and confirm that the installation command completed without package errors before trying again.

Leave a Comment

How to Record Speaker Output on Linux with Audacity

How to Record Speaker Output on Linux with Audacity

Capture Linux desktop audio in Audacity by routing its recording stream to your output device’s monitor source. Follow PulseAudio and PipeWire steps, export tips, and fixes for silent tracks.

How to Use Dropbox on Linux: Install and Sync Your Files

How to Use Dropbox on Linux: Install and Sync Your Files

Install Dropbox on Linux from the official package, sign in, sync a local folder, manage selective sync, and check status from the command line.

How to Install Inkscape on Linux: Ubuntu, Fedora, Arch, and More

How to Install Inkscape on Linux: Ubuntu, Fedora, Arch, and More

Install Inkscape from your Linux distribution’s repositories, the Ubuntu stable PPA, Snap, or Flathub, with current commands and notes for choosing a package source.

How to Find and Remove Duplicate Files on Linux With FSlint

How to Find and Remove Duplicate Files on Linux With FSlint

Use FSlint to scan selected Linux folders, review duplicate groups, and safely delete redundant files or learn when hard-link merging is appropriate.

How to Install SABnzbd on Linux and Configure It

How to Install SABnzbd on Linux and Configure It

Install SABnzbd on Ubuntu or Debian, or run it in Docker on another Linux host. Then open the web interface and configure your provider and download folders.

How to Install the Paper GTK Theme on Linux

How to Install the Paper GTK Theme on Linux

Install the Paper GTK theme from supported Linux repositories, enable it for GTK apps in GNOME Tweaks, and see what the legacy theme can and cannot change.

How to Install and Set Up Plex on OpenMediaVault with Compose

How to Install and Set Up Plex on OpenMediaVault with Compose

The old OpenMediaVault Plex plugin is archived. Set up Plex on OMV 8 with OMV-Extras, the Compose plugin, persistent storage, and Plex’s official container.

How to Clean and Speed Up Ubuntu Safely

How to Clean and Speed Up Ubuntu Safely

Clean and speed up Ubuntu with safe APT cleanup, storage checks, and startup controls that help free space and troubleshoot a sluggish desktop.

How to Install the Hiri Email Client on Linux

How to Install the Hiri Email Client on Linux

Install Hiri on Linux with its Snap package or official tarball, add a desktop launcher, and check supported accounts plus a warning about Hiri’s old Snap release.

How to Get System Specifications for a Linux PC

How to Get System Specifications for a Linux PC

Use Fastfetch and built-in Linux commands to check your distro, kernel, CPU, memory, graphics, storage, and connected devices, then save a clear report.