How To Install xfce4-session on CentOS 8

xfce4-session is Xfce session manager

Introduction

In this tutorial we learn how to install xfce4-session on CentOS 8.

What is xfce4-session

xfce4-session is the session manager for the Xfce desktop environment.

We can use yum or dnf to install xfce4-session on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install xfce4-session.

Install xfce4-session on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install xfce4-session using dnf by running the following command:

sudo dnf -y install xfce4-session

Install xfce4-session on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install xfce4-session using yum by running the following command:

sudo yum -y install xfce4-session

How To Uninstall xfce4-session on CentOS 8

To uninstall only the xfce4-session package we can use the following command:

sudo dnf remove xfce4-session

xfce4-session Package Contents on CentOS 8

/etc/xdg/autostart/xscreensaver.desktop
/etc/xdg/xfce4
/etc/xdg/xfce4/Xft.xrdb
/etc/xdg/xfce4/xfconf
/etc/xdg/xfce4/xfconf/xfce-perchannel-xml
/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
/etc/xdg/xfce4/xinitrc
/usr/bin/startxfce4
/usr/bin/xfce4-session
/usr/bin/xfce4-session-logout
/usr/bin/xfce4-session-settings
/usr/bin/xflock4
/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/6228f02b24a150c669c8cb627b5d962f9dcc75
/usr/lib/.build-id/56
/usr/lib/.build-id/56/ea22f07fe0528001336637bcd812f9514236eb
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/c72ba81ffab0aec370cebf9287efaccbe6b643
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/c123eee37b09211354dff25201099e65518135
/usr/lib64/xfce4/session
/usr/lib64/xfce4/session/xfsm-shutdown-helper
/usr/share/applications/xfce-mimeapps.list
/usr/share/applications/xfce-session-settings.desktop
/usr/share/applications/xfce4-session-logout.desktop
/usr/share/doc/xfce4-session
/usr/share/doc/xfce4-session/AUTHORS
/usr/share/doc/xfce4-session/BUGS
/usr/share/doc/xfce4-session/ChangeLog
/usr/share/doc/xfce4-session/FAQ
/usr/share/doc/xfce4-session/NEWS
/usr/share/doc/xfce4-session/NEWS.pre-4.3
/usr/share/doc/xfce4-session/README
/usr/share/doc/xfce4-session/README.Kiosk
/usr/share/doc/xfce4-session/TODO
/usr/share/icons/hicolor/128x128/apps/xfce4-session.png
/usr/share/icons/hicolor/48x48/actions/xfsm-hibernate.png
/usr/share/icons/hicolor/48x48/actions/xfsm-logout.png
/usr/share/icons/hicolor/48x48/actions/xfsm-reboot.png
/usr/share/icons/hicolor/48x48/actions/xfsm-shutdown.png
/usr/share/icons/hicolor/48x48/actions/xfsm-suspend.png
/usr/share/icons/hicolor/48x48/apps/xfce4-session.png
/usr/share/icons/hicolor/scalable/apps/xfce4-session.svg
/usr/share/licenses/xfce4-session
/usr/share/licenses/xfce4-session/COPYING
/usr/share/locale/am/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/ar/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/ast/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/be/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/be@tarask/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/bg/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/bn/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/ca/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/cs/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/da/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/de/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/el/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/en_AU/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/en_GB/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/eo/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/es/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/et/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/eu/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/fi/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/fr/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/gl/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/he/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/hr/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/hu/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/hy_AM/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/id/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/ie/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/is/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/it/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/ja/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/kk/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/ko/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/lt/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/lv/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/ms/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/nb/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/nl/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/nn/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/oc/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/pa/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/pl/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/pt/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/pt_BR/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/ro/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/ru/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/si/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/sk/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/sl/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/sq/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/sr/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/sv/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/te/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/th/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/tr/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/ug/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/uk/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/ur/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/ur_PK/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/vi/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/zh_CN/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/zh_HK/LC_MESSAGES/xfce4-session.mo
/usr/share/locale/zh_TW/LC_MESSAGES/xfce4-session.mo
/usr/share/man/man1/xfce4-session-logout.1.gz
/usr/share/man/man1/xfce4-session.1.gz
/usr/share/polkit-1/actions/org.xfce.session.policy
/usr/share/xsessions/xfce.desktop

References

Summary

In this tutorial we learn how to install xfce4-session on CentOS 8 using yum and dnf.