How To Setup Xfce Desktop Environment On CentOS 8?

How To Setup Xfce Desktop Environment On CentOS 8?


Xfce is a free and opensource desktop environment that aims to be lightweight, fast, and low on system resources while still being visually appealing and easy to use.

Like GNOME, Xfce is also based on the GTK toolkit. It uses the Xfwm window manager. Adhering to the standards defined on is a priority of Xfce. CentOS minimal installation provides a command-line interface to interact with the system. If you want to use your system in GUI mode you need to install a few extra packages of desktop environments such as GNOME, Xfce, or KDE, etc.

This guide will help you in setting up the Xfce desktop environment on CentOS 8.

Display the list of package groups in CentOS

While setting up a desktop environment you may need to install different packages on your system. CentOS/RHEL provides these packages in groups that is known as the package group. You can set up the whole environment in a single command.

To see the list of available groups in your system use the following command –

# yum grouplist

You can use the given command to see hidden package groups on your system –

# yum grouplist hidden

Installing Xfce on CentOS 8

As you can see the available list of package groups by using the grouplist command, Now you can choose any one of the listed package group to install with the groupinstall command.

First, run the following command to update your system –

# yum update

The Xfce package group is available in the EPEL repository, you need to enable it if it is not enabled in your system. Use the following command to enable EPEL repository –

# yum install epel-release

If the command asks for confirmation press y and hit enter.

Now use the following command to install the Xfce desktop environment in your system.

# yum groupinstall "Xfce"

This will list all the packages that are going to install on your system with their total size. It will also ask for confirmation press y to accept it. Once you enter y and then press the return key it will start downloading the packages immediately.

Depending on internet speed it takes some time now once gets completed you can use the following command to start using GUI –

# startx

The CentOS with Xfce desktop will look something like this –

Make GUI default

Execute the following command if you want to boot your system in GUI mode-

# systemctl set-default graphical

Finally, reboot your system by using –

# reboot


You have successfully installed the Xfce desktop environment on CentOS 8. Now if you want to say something on this topic then write us in the comments below.

Previous Manjaro/Xubuntu/Kubuntu Laptop Freezing Problem
Next [ubuntu] Setting Write Permissions On Ext4 for New computer

About author

You might also like

Linux Topics 0 Comments

Package Management In Debian(.deb) Based Linux Distributions

This post was last updated on August 3rd, 2020 at 03:04 pmContents1 Software Package2 Package Manager3 Advanced Packaging Tools (apt)3.1 apt-get Commands-3.2 apt-cache Commands-3.3 Difference between apt and apt-get commands-4

Linux Topics 0 Comments

Grub Vs Lilo

A system requires different programs for accomplishing different tasks. The boot loader is the first program that runs when a computer starts. It is responsible for loading and transferring control

How To 0 Comments

How To Remove/Uninstall Software Packages From Debian, Ubuntu, Linux Mint?

This post was last updated on August 1st, 2020 at 12:21 pmDifferent Linux distribution comes with different tools to manage software packages on it. Debian and its derivative use the


No Comments Yet!

You can be first to comment this post!

Leave a Reply