CentOS 7: Install Xfce for desktop environment

This article will describe installing Xfce for desktop environment.

1 Install Xfce

The following command will install Xfce.

$ sudo yum install -y epel-release
$ sudo yum groupinstall -y "Xfce"
$ sudo reboot

2 Login to Xfce

You can select other desktop environment.


Xfce is displayed.


3 Uninstall Xfce

The following command will uninstall Xfce.

$ sudo yum groupremove -y "Xfce"
$ sudo yum remove -y libxfce4*